Hello, I am Daeyoung.
I tried S32K312 Flash downloads(APP) using s32k3.cmm(lauterbach) after AB SWAP applied.
But, An error occurred.
I expect adding the command below will solve the problem, but are there any additional options I should apply?
"FLASH.ChangeType 0x004D4000--0x004FFFFF NOP"
(Disable S32K312 Secure Area)
Thank you
Thanks for your reply.
I'll try the method you told me.
Best regards,
Daeyoung
Hi @Daeyoung
The original cmm file you sent is suitable only for FULL_MEM version of the firmware. There are two changes for AB_SWAP version:
1. As you mentioned, it's necessary to add the line below because two code flash areas are reserved:
FLASH.ChangeType 0x004D4000--0x004FFFFF NOP
2. And then there's difference also in data flash. In FULL_MEM, you can use only 88KB of data flash:
However, you can use whole 128KB in case of AB_SWAP:
So, you can delete this line:
FLASH.ChangeType 0x10016000--0x1001FFFF NOP
Regards,
Lukas