Search found 2 matches

by shizheng080
16 Aug 2019, 11:09
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: m058 write dataflash many times will crash
Replies: 1
Views: 18717

Re: m058 write dataflash many times will crash

#define PAGE_SIZE 512
#define FMC_DATAFLASH_BASE 0x0001F000
#define DATAFLASH_SIZE 0x00001000
by shizheng080
15 Aug 2019, 19:32
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: m058 write dataflash many times will crash
Replies: 1
Views: 18717

m058 write dataflash many times will crash

hello my m058 is no OS, W/R dataflash Success,But there is one problem:write dataflash many times the m058 will crash .please,how solve this problem? Code as follows: int32_t FMC_WriteData(uint32_t *u32Config, uint32_t u32Count,uint32_t page) { int32_t i; __set_PRIMASK(1); SYS_UnlockReg(); FMC_Open(...