bigdragon1977 / stm32flash

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

Support for STM32W #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect an STM32W board to Linux box (MB851)
2. Determine serial port to be /dev/ttyUSB0
3. Run stm32flash /dev/ttyUSB0

What is the expected output? What do you see instead?
Is is supposed to return the device information, but it doesn't.

What version of the product are you using? On what operating system?
Using current version of the code on OpenSUSE 11.4.

Please provide any additional information below.
I have changed the code so that it talks with the stm32w108cb that I have on 
hand. I was able to read the device information, read the flash to a file, and 
flash the device after it was placed in nBoot mode manually. To get it into the 
boot loader, just ground pin PA5.

Attached is a patch with the changes I made, the biggest difference is that 
this processor uses parity none and does not return write protection commands 
when 0x00 is sent to it. Hope this helps the improvement of the tool and that 
somehow it can be an argument to define if its an stm32w or not.

Great job so far.

Original issue reported on code.google.com by juan.alb...@gmail.com on 31 Aug 2011 at 9:43

Attachments:

GoogleCodeExporter commented 9 years ago
Please correct your patch so that it does not break the current supported 
devices and provide a universal diff (diff -u)

Original comment by ge...@spacevs.com on 4 Oct 2011 at 2:47

GoogleCodeExporter commented 9 years ago
A patch was not provided that maintains compatibility with existing devices, 
closing the issue until one is provided.

Original comment by ge...@spacevs.com on 10 Nov 2011 at 11:08