Differences between program with keil directly and stm32 st-link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
Up vote any posts that you find helpful, it shows what's working..
