cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Discovery demo read and write with St-Link

whstark
Associate
Posted on September 12, 2014 at 05:26

Used St-link 3.4.0 to read the boards demo program the wrote back, demo does not work anymore, same for 407 and 401 models. do I need to set options different maybe. 

#st-link
3 REPLIES 3
Posted on September 12, 2014 at 19:13

No I'd expect you just need to make sure you read out a sufficiently large portion of the flash, and write it back to the same address in an erased device.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on September 12, 2014 at 19:25

Attached is a .HEX for the STM32F401C-DISCO

________________

Attachments :

401cdisco.hex : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzoW&d=%2Fa%2F0X0000000bPx%2Fq5SVzIyNyt8lCLfUrl1sKrdkdbwi2tYl7wXFFuaWdOI&asPdf=false
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
whstark
Associate
Posted on September 13, 2014 at 17:59

Hi,  Thanks for the file, I guess the full erase was the trick. The file I read the other night was the same length though and does not work. who knows. After working with Pics,Atmels and Tms430's this is a Beast, the GNU tool Chain is a Headache to. But should be fun.

Bill