XMC1000 Erase Flash Using Routine

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi Sir/Madam,
i am working on XMC1100, The Device is in ASC_BSL mode, i want to Erase the Flash. How can i Perform the Operation.

Thanks and Regards.
Harshan.
0 Likes
3 Replies
chismo
Employee
Employee
First like received
Hello Harshan,

You can make use of the MemTool to erase the Flash.
Step 1: Connect the device
Step 2: Select the erase command

2100.attach

Regards,
Min Wei
0 Likes
Not applicable
Hi Chismo Thanks for Reply,
i need some routines like XMC1100_NvmErasePage(). The XMC1100_NvmErasePage() Erases a Page at a time i need to Erase Entire chip are there any routine exist to do that ???

Thanks and Regards,
Harshan.B
0 Likes
chismo
Employee
Employee
First like received
Hi Harshan,

The AB step of the XMC1100 additionally supports sector erase.
For example, the following sector erase function from the XMC Lib can be used:

void XMC_FLASH_EraseSector (uint32_t *address)


Hope this helps.

Regards,
Min Wei
0 Likes