cancel
Showing results for 
Search instead for 
Did you mean: 

ELF loading crashes the device while HEX doesn't ?

Shreyas2415
Associate II

0690X00000BwmRPQAZ.jpgI am using STM32F030R8T6, with 64kB flash size. Now I have <1k space left in the flash and whenever I load the ELF file with Atollic TrueSTUDIO the device doesn't work. The watchdog keeps resetting the device. However if I load the .HEX file, everything seems to work. I am a bit concerned and worried what is the problem? Because as soon as I delete something and the free space is >1000 bytes the ELF works. Does anyone know of this problem ?

1 ACCEPTED SOLUTION

Accepted Solutions

Can you read out the FLASH after being programmed from ELF, e.g. using STLink Utility, and then compare it with the hex?

JW

View solution in original post

2 REPLIES 2

Can you read out the FLASH after being programmed from ELF, e.g. using STLink Utility, and then compare it with the hex?

JW

Shreyas2415
Associate II

Hey got the problem man. My ELF didn't have the CRC in it and I was checking that in software. Since .HEX loading was also loading the CRC, the problem wasn't there