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

tulipcc
Posts: 8
Joined: Wed Oct 25, 2017 3:28 pm

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

Postby tulipcc » Mon Mar 13, 2023 4:25 pm

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.

ESP_Sprite
Posts: 9577
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Mar 14, 2023 12:36 am

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.

tulipcc
Posts: 8
Joined: Wed Oct 25, 2017 3:28 pm

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

Postby tulipcc » Tue Mar 14, 2023 10:16 am

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.
Attachments
221028396-82b6bf1b-02aa-47d8-b168-cea4f8d9d748.png
221028396-82b6bf1b-02aa-47d8-b168-cea4f8d9d748.png (358.13 KiB) Viewed 2507 times

tulipcc
Posts: 8
Joined: Wed Oct 25, 2017 3:28 pm

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

Postby tulipcc » Tue Mar 14, 2023 10:18 am

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?

tulipcc
Posts: 8
Joined: Wed Oct 25, 2017 3:28 pm

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

Postby tulipcc » Tue Mar 14, 2023 10:36 am

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
Attachments
Untitled 2.jpg
Untitled 2.jpg (341.03 KiB) Viewed 2499 times

Who is online

Users browsing this forum: No registered users and 137 guests