Author Topic: Webmug projects  (Read 6566 times)

0 Members and 1 Guest are viewing this topic.

Offline Login to see usernames

  • Member
  • **
  • Posts: 184
Re: Webmug projects
« Reply #8 on: March 22, 2011, 01:16:27 am »
Webmug,


My ebay stm32 will not connect to usb, tried three computers with no luck, drivers won't load,  lsusb in linux doesn't show a device except the pl2303,  I may get the one you have...  then I 'll be asking questions for sure
all the computere see the usb pl2303 serial adapter for terminal use, but not the USB jlink                    hopes are dashed for now
regards,
kb

Offline Login to see usernames

  • Moderator
  • Sr. member
  • ***
  • Posts: 434
Re: Webmug projects
« Reply #9 on: March 22, 2011, 02:16:01 am »
Webmug,


My ebay stm32 will not connect to usb, tried three computers with no luck, drivers won't load,  lsusb in linux doesn't show a device except the pl2303,  I may get the one you have...  then I 'll be asking questions for sure
all the computere see the usb pl2303 serial adapter for terminal use, but not the USB jlink                    hopes are dashed for now
regards,
kb
Linux don't give permissions to open USB devices. Do you use ubuntu?
 "lsusb -v" to get the Product ID and Vendor ID of the programmer. When you see segger you must make a udev rule and restart udev.

Br,
Webmug

Offline Login to see usernames

  • Member
  • **
  • Posts: 184
Re: Webmug projects
« Reply #10 on: March 22, 2011, 03:46:32 am »
Webmug


that's just it, sudo lsusb -v shows the pl2303 but not jlink from segger...   trying to force jlink on win2000 crashes the system, not seen in device manager either


dmesg no help, meerkat shows nothing except pl2303 which I put on ttyUSB0 and works, and my other stuff is listed,


does jlink have alternatives? maybe?


Offline Login to see usernames

  • Moderator
  • Sr. member
  • ***
  • Posts: 434
Re: Webmug projects
« Reply #11 on: March 22, 2011, 04:21:07 am »
Webmug


that's just it, sudo lsusb -v shows the pl2303 but not jlink from segger...   trying to force jlink on win2000 crashes the system, not seen in device manager either


dmesg no help, meerkat shows nothing except pl2303 which I put on ttyUSB0 and works, and my other stuff is listed,


does jlink have alternatives? maybe?
That's strange, lsusb should list an PID for jlink.

I use ARM-USB-OCD from olimex. Crossworks native jtag. Codesourcery. What IDE are you going to use?

You can also program the stm32 with rs232 ISP
https://github.com/jsnyder/stm32loader
http://www.micromouseonline.com/blog/2009/05/07/stm32-arm-cortex-bootloader
http://gostm32.blogspot.com/2010/09/life-on-planet-stm.html
If mini-stm32 has rs232 connector connected to stm32 UART1 than ISP can be used over pl2303 converter.

Br,
Webmug
« Last Edit: March 22, 2011, 10:36:45 am by webmug »