Servus,
ich verzweifle seit 2 Tagen daran mein stm32discovery board zum laufen
zu bekommen.
Zur Hardware:
stm32discoveryboard, ubuntu 10.10 64 bit
Da ich bisher mit Mikrocontrollern noch keinerlei Erfahrung habe, habe
ich es mal mit dieser Anleitung probiert:
http://wiki.seabright.co.nz/wiki/HelloSTM32.html
Kompilieren hat geklappt, beim Versuch das Programm mittels
stm32loader.py -p /dev/ttyUSB0 -ewv hello.bin
auf das Board zu schieben bin ich allerdings gescheitert.
Das liegt daran, dass ich es nicht schaffe das Board unter /dev/ttyUSB0
einzuhängen.
lsusb gibt folgendes aus:
1 | @flo-desktop:~$ lsusb
|
2 | Bus 005 Device 004: ID 0483:3744 SGS Thomson Microelectronics
|
Auch
1 | modprobe ftdi_sio vendor=0x3744 product=0x0483
|
hat nicht den gewünschten Erfolg gebracht.
Nach einiger Googlearbeit bin ich dann noch darauf gestoßen:
http://gostm32.blogspot.com/2010/09/converting-stm32-to-boot-mode.html#comments
Zitat:
1 | Hi. There's something wrong in the implementation of the USB Memory interface
|
2 | (it pretends to be a USB Memory stick) which causes it to continually reset under Linux.
|
3 | On my machine (Ubuntu 10.04) it will eventually show up as a folder on the desktop,
|
4 | but dmesg shows it messes around a lot in the process.
|
5 |
|
6 | This seems to be the exact same problem as its predecessor the STM8 Discovery board had.
|
7 | Someone investigated it, and apparently it's just bad coding - it works well enough
|
8 | to run on Windows, but won't work on anything else.
|
9 |
|
10 | The refusal to show up as /dev/ttyUSB0 is infuriating :( This appears to be a deliberate decision by ST.
|
11 | If it did, then all the hardware (except the BOOT0 resistor) could be dumped.
|
Hat jemand noch eine Idee, was ich probieren könnte?
Danke schonmal und viele Grüße,
Flo