Dears,
Can you help to share the way to read out the entire flash of XEP100 MCU, as customer hope to compare their failure PCBA,
BRs,
Ray
Hello,
You could use SAVE command in the CW5.2
Please refer to Debugger_HC_12.pdf (p552) located in the CW installation folder.
...\Program Files (x86)\Freescale\CWS12v5.2\Help\pdf\
Regards,
Daniel
For reading Flash content you can use directly CW debugger (Hi-wave).
Connect to MCU and use command SAVE.
In Help, you can find example SAVE 0x1000..0x2000 DUMP.SX
This command saves memory range into file dump.sx in S1 record format.
You can use also paged address. Example: SAVE 0xF88000..0xF8BFFF DUMP.SX
In that case, you cannot copy data from more pages at one turn because after address 0xF8BFFF is physically 0xF98000 address and not 0xF8C000 address. This tool is simply not enough intelligent.
In that case, dump.sx file will contain S2 record format automatically.
For copy whole flash at one turn, you can use global address (only for S12X).
Example : SAVE 0x700000’G..0x7FFFFF’G DUMP.SX
In that case dump.sx file will contain S2 record format automatically.
For convert result file you can use SRecCvt tool.
If you prefer paged address or you have MCU without GPAGE (S12) and you want store whole content of flash into one file, only way is using local addressing and export every page step by step.
SAVE 0xC08000..0xC0BFFF dump.txt ;A
SAVE 0xC18000..0xC1BFFF dump.txt ;A
…
SAVE 0xFF8000..0xFFBFFF dump.txt ;A
By parameter “;A” we will attempt new content to exiting file.
This way you will have one file with whole Flash content.
Example of procedure:
Note: Pictures show different type of MCU, but principle is the same.
I hope it helps you.
Have a great day,
Radek
Thanks, Radek,