ESP32-S3R8 with S25FL064L SPI Flash not working
Posted: Mon Feb 26, 2024 9:19 pm
I have design based around ESP32-S3R8, which uses S25FL064L SPI Flash (datasheet: https://www.infineon.com/dgdl/Infineon- ... e2d2846996) as the main flash.
After I program the MCU with any sample code, I always receive logs as this and they are repeating:
I've tried flashing with both USB-JTAG and USB-UART adapter, leading to same results.
I've tried swapping the Flash IC with another one, extracted from devkit board, and everything was working fine.
I've did more investigation and I've tried reading the flash back (using `esptool`) and compare it with blinky sample bin files, and everything was matching, so the program seems to be written as it should on the flash. However, it looks like it can't be executed.
I've found post on platform.io blog post, https://community.platformio.org/t/my-c ... ings/35736, mentioning same problem, using the same Flash IC.
So the problem is probably some incompatibility between the S25FL064L flash IC and ESP-IDF. Can you maybe provide me some guidelines what can be different for this flash IC, compared to the generic SPI Flash driver?
Thank you in advance.
After I program the MCU with any sample code, I always receive logs as this and they are repeating:
Code: Select all
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x08 (SPI_FAST_FLASH_BOOT)
Saved PC:0x400454d5
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
ets_loader.c 78
I've tried swapping the Flash IC with another one, extracted from devkit board, and everything was working fine.
I've did more investigation and I've tried reading the flash back (using `esptool`) and compare it with blinky sample bin files, and everything was matching, so the program seems to be written as it should on the flash. However, it looks like it can't be executed.
I've found post on platform.io blog post, https://community.platformio.org/t/my-c ... ings/35736, mentioning same problem, using the same Flash IC.
So the problem is probably some incompatibility between the S25FL064L flash IC and ESP-IDF. Can you maybe provide me some guidelines what can be different for this flash IC, compared to the generic SPI Flash driver?
Thank you in advance.