Dear all,
I'm developing a project based on LPC5526 processo using MCUXpresso IDE v11.7.1_9221. Now I have to export and import flash data containing data
Is there any 'easy' way to import SRecord data file ?
Thank you very much for your help and cooperation
regards
Could you clarify what you mean with import/export?
If it is about generating the files, see https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/
or https://mcuoneclipse.com/2021/04/08/enhancing-binary-utilities-in-mcuxpresso-ide/
To 'import' them into the binary, you can use the linker, see https://mcuoneclipse.com/2022/06/17/include-bin-binary-files-in-a-gnu-linker-file/
If you have a S19 file and need a binary, use the objcopy or SRecord tool to convert it:
https://mcuoneclipse.com/2014/08/03/converting-s19-files-into-binary-files-with-gnu-objcopy/
Finally, you can use gdb to export data files:
https://mcuoneclipse.com/2020/04/13/dumping-variables-and-arrays-with-gdb-in-eclipse/
or use the Eclipse memory view:
https://mcuoneclipse.com/2012/05/04/dump-my-device-memory/
I hope this helps,
Erich
I reply with a image
I'm sorry if I was not so clear ....
I hope the image is clear enough to explain things better
regards
You can use the import in the memory view only for memory in RAM, not in FLASH.
If you want to change the FLASH, you can use the linker file approach I proposed.