2017-07-21 11:46 AM
Hi,
I'm writing a code that works fine when I program directly via Keil with this settings
However if I compile the project and write hex file with stm32 st-link it doesn't work fine. It is good to mention that I active ''read out protection'' bit.
my means is that I my Ethernet protocol didn't work when I program with st-link however it works fine when I program it directly via keil with the same programmer.
2017-07-21 12:00 PM
Hello!
How do you produce this hex file?
Did you tried to load as a binary file? with stlink?
look
http://www.keil.com/support/docs/3213.htm
how to produce this binary.regards vf
2017-07-21 12:47 PM
Try not enabling read-out protection and do a byte level verify. Heck have your own code checksum the image it is trying to execute, and make a determination if they are actually writing different things to flash.
Version of ST-LINK Utilities?