Page 1 of 1

Octal flash EFUSE on the ESP32-S3-DevKitC-1-N8R8

Posted: Mon Mar 13, 2023 4:25 pm
by tulipcc
Hi, i'm having some trouble with Octal Flash on the ESP32-S3-DevKitC-1-N8R8.

I can compile and flash our project https://github.com/bwhitman/tulipcc/ with menuconfig option "Serial Flasher Config -> Enable Octal Flash" on, as it's presumably supported on this model.

But when running the app, I get "Octal Flash option selected, but EFUSE not configured"

I see this note
https://docs.espressif.com/projects/esp ... onfig.html
Which tells me to burn the EFUSE for the support. (I am confused as this is an Espressif board, and it says "Espressif guarantees this bit during module manufacturing", but I'll try anyway:)

This does seem to work:

Code: Select all

Connecting....
Detecting chip type... ESP32-S3
espefuse.py v3.2-dev
The efuses to burn:
  from BLOCK0
     - FLASH_TYPE

Burning efuses:

    - 'FLASH_TYPE' (Selects SPI flash type) 0b0 -> 0b1

Check all blocks for burn...
idx, BLOCK_NAME,          Conclusion
[00] BLOCK0               is not empty
	(written ): 0x0000000080000100000000000000d1f50000000000000000
	(to write): 0x000000000000020000000000000000000000000000000000
	(coding scheme = NONE)
. 
This is an irreversible operation!
BURN BLOCK0  - OK (all write block bits are set)
Reading updated efuses...
Checking efuses...
Successful
But the app no longer boots with an error of

Code: Select all

E (708) esp_image: Checksum failed. Calculated 0xf5 read 0x76
E (708) boot: Factory app partition is not bootable
E (709) boot: No bootable app partitions in the partition table
The application works fine on N32R8.

Does the EFUSE modify some checksum I should be aware of? Which checksum is failing? I've erased the flash and tried again, with the same error.

Re: Octal flash EFUSE on the ESP32-S3-DevKitC-1-N8R8

Posted: Tue Mar 14, 2023 12:36 am
by ESP_Sprite
Are you absolutely 100% sure that devkit has octal flash? Because from what I can tell, it's supposed to have octal PSRAM but quad flash.

Re: Octal flash EFUSE on the ESP32-S3-DevKitC-1-N8R8

Posted: Tue Mar 14, 2023 10:16 am
by tulipcc
No, i guess i'm not! I was going by this chart, but on closer reading it's indicating octal SPI only for the RAM.

Re: Octal flash EFUSE on the ESP32-S3-DevKitC-1-N8R8

Posted: Tue Mar 14, 2023 10:18 am
by tulipcc
Do we know where to look to see which devkit / packages have octal flash support? I know the N32R8 does -- both the devkit and the module. Does the N16R8?

Re: Octal flash EFUSE on the ESP32-S3-DevKitC-1-N8R8

Posted: Tue Mar 14, 2023 10:36 am
by tulipcc
Ah, this page down a bit has a good table.
There are two variants of the N8R8. One has octal flash and one does not.
All N16R8s and N32R8s have octal flash.

https://docs.espressif.com/projects/esp ... itc-1.html