EEPROM on M2351

Post Reply
blastpb
Posts: 1
Joined: 03 Jan 2019, 10:03

03 Jan 2019, 10:05

I'm unable to find any documentation on using EEPROM emulation or storing user variables in non-volatile memory on the Nuvoton M2351 Numaker board. Can anybody provide some examples of this?

workman
Posts: 5
Joined: 16 Oct 2018, 17:39

23 Jan 2019, 14:12

The M2351 has embedded flash memory (512KB)
You can store your data in it.
For example

SYS_UnlockReg();
FMC_Open()
FMC_ENABLE_AP_UPDATE();

FMC_Erase(0x10000); // Erase page
FMC_Write(0x10000, 0x12345678); // Write data 0x12345678 to 0x10000

If you want to write data to W77F32 (Winbond Secure SPI flash), It is a secure SPI flash on board.
You need to contact with Winbond to get support.
(https://www.winbond.com/hq/about-winbon ... __locale=e)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests