Hello all, I'm using RTOS_SDK.
I'm trying to read 1239 bytes from flash. But after read, MCU is reset.
So does anyone had facing with this problem.
I try to using both pointer and array but the same problem.
Please help me.
My code:
spi_flash_read(0x92000, &u32AtCertsLength, sizeof(uint32));
unsigned char *uint8AtCertbuf2 = (unsigned char*)malloc(u32AtCertsLength);
readATCertfromFlash(0x92000, uint8AtCertbuf2, u32AtCertsLength);
I'm using nodeMCU 32Mbit with memory layout was set 1024+1024 for allow OTA
Flash reading cause MCU reset
Who is online
Users browsing this forum: No registered users and 4 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.