Skip to main content
whstark
Associate
September 12, 2014
Question

STM32F4 Discovery demo read and write with St-Link

  • September 12, 2014
  • 3 replies
  • 936 views
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
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
September 12, 2014
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
September 12, 2014
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
whstark
whstarkAuthor
Associate
September 13, 2014
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