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
lukaszadrapa_0-1730296788117.png
2. And then there's difference also in data flash. In FULL_MEM, you can use only 88KB of data flash:
lukaszadrapa_1-1730296799866.png
However, you can use whole 128KB in case of AB_SWAP:
lukaszadrapa_2-1730296811763.png
So, you can delete this line:
FLASH.ChangeType 0x10016000--0x1001FFFF NOP
Regards,
Lukas