From: Benjamin B (BBenj) <bal...@gm...> - 2017-07-29 12:53:51
|
Indeed the default startup code has a hard-coded FOPT value. I will look into these commands, thanks. Best regards, Benjamin Le 29 juillet 2017 à 14:32:12, Tomas Vanek (to...@us...) a écrit: On 29.07.2017 12:36, Benjamin B (BBenj) wrote: Thank you all for your help! The WORKAREASIZE RAM space thing is explained clearly in the config file, I overlooked that so hard... (facepalm) :-p Anyway, it is almost working flawlessly, the write works but the verify step fail. The program is running. >From the data sheet I can see that the mismatch is in the Flash config field, the Flash Option Register at 0x40D, so it is not critical. I probably have to change something on my build settings I guess, I will look into that. Or is it up to openocd to ignore that part? Flash configuration area is normally protected. The mismatch means that your elf/bin file wants different config. See OpenOCD commands kinetis fcf_source and kinetis fopt in users guide. Tom |