2015-04-23 09:22 AM
Hi folks!
I found a serious error in the ST-Link v3.6 parser.I have a project with the 4.9-2014q4 toolchain.It generates a valid intel hex file, whit the small quirk, that there is one byte address which does not hold any value. As the intel hex format is specified that every line starts with an address and the data length, I think it is safe to suppose, that this correct.If I load this into Segger's J-flash, it shows it correctly, on the other hand ST-Link v3.6 misreads it totally, which leads to that after that address everything is shifted onto a smaller address.See the attached picture.For a fast fix, I am currently modifying my linker script, that everything should be padded. But still I think this is a huge bug.edit: I added the picture here:BTW, where can I officially post this to ST, as this is some super serious bug.I just shipped my project to a customer, whom I advised to use Stlink for production programming, and if there hadn't been a simple code verification in the startup function, he would have had a completely malfunctioning product.2015-04-27 02:47 AM
> BTW, where can I officially post this to ST,
Try http://www.st.com/web/en/support/online_support.html if you don't have a local representative/FAE at hand. JW2015-07-30 04:56 PM
The same problem here but ST-Link Utility V3.5 works with hex file. I tried ST-Link V3.6 to load hex file, it didn’t work and I downgrade it to V3.5, it works. It seems like the problem with V3.6 is some of the bytes shifted by one when it read hex files.
Regards
2015-07-30 05:07 PM
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/ST-Link%20Utility%20HEX%20bug&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx¤tviews=74]Common Thread
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/ST%20Link%20Utility%203.7&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx¤tviews=198]V3.7 Threadhttp://www.st.com/web/en/catalog/tools/PF258168