znyul / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 1 forks source link

stm->dev->name get NULL value #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Switch MCU to bootloader mode
2. start stm32flash : stm32flash /dev/ttyUSB0
3. get Device ID    : 0x0413 ((NULL))
What version of the product are you using? On what operating system?
I use ubuntu 13.10

Please provide any additional information below.
I think something went wrong with stm32.c 181. row where the while () tries 
identify device by  PID.

Original issue reported on code.google.com by zoo...@gmail.com on 11 Nov 2013 at 9:01

GoogleCodeExporter commented 9 years ago
Hi, I think you are using very old code. Is it the tarball from 2011? Please 
try the "merging" branch from 
https://gitorious.org/stm32flash/stm32flash/commits/merging - this contains 
many fixes contributed from many people, unfortunately without the official 
maintainer picking them up.

Original comment by lists.to...@gmail.com on 11 Nov 2013 at 7:16

GoogleCodeExporter commented 9 years ago
Thank you very much!I will check the new versions.

Original comment by zoo...@gmail.com on 12 Nov 2013 at 7:31

GoogleCodeExporter commented 9 years ago
This has now been fixed in the official repository and is included in version 
0.3beta2.

Original comment by lists.to...@gmail.com on 9 Dec 2013 at 11:26