Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the CHIP_FEATURE_EMB_FLASH variable (IDFGH-8735) #10175

Closed
3 tasks done
nopnop2002 opened this issue Nov 14, 2022 · 1 comment
Closed
3 tasks done

About the CHIP_FEATURE_EMB_FLASH variable (IDFGH-8735) #10175

nopnop2002 opened this issue Nov 14, 2022 · 1 comment
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@nopnop2002
Copy link

nopnop2002 commented Nov 14, 2022

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I ran the example below on an ESP32C2.
https://github.com/espressif/esp-idf/tree/master/examples/get-started/hello_world

I (32) boot: ESP-IDF v5.0-beta1-824-ga8ef7570ca 2nd stage bootloader
I (32) boot: compile time 10:02:08
I (32) boot: chip revision: V100
I (38) boot.esp32c2: MMU Page Size  : 32K
I (45) boot.esp32c2: SPI Speed      : 60MHz
I (53) boot.esp32c2: SPI Mode       : DIO
I (60) boot.esp32c2: SPI Flash Size : 2MB
I (67) boot: Enabling RNG early entropy source...
I (75) boot: Partition Table:
I (81) boot: ## Label            Usage          Type ST Offset   Length
I (92) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (104) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (115) boot:  2 factory          factory app      00 00 00010000 00100000
I (127) boot: End of partition table
I (133) esp_image: segment 0: paddr=00010020 vaddr=3c010020 size=05e50h ( 24144) map
I (152) esp_image: segment 1: paddr=00015e78 vaddr=3fca8970 size=00ce4h (  3300) load
I (160) esp_image: segment 2: paddr=00016b64 vaddr=40380000 size=014b4h (  5300) load
I (174) esp_image: segment 3: paddr=00018020 vaddr=42000020 size=09a6ch ( 39532) map
I (194) esp_image: segment 4: paddr=00021a94 vaddr=403814b4 size=074b4h ( 29876) load
I (209) boot: Loaded app from partition at offset 0x10000
I (209) boot: Disabling RNG early entropy source...
I (234) cpu_start: Pro cpu up.
I (242) cpu_start: Pro cpu start user code
I (242) cpu_start: cpu freq: 120000000 Hz
I (242) cpu_start: Application information:
I (247) cpu_start: Project name:     hello_world
I (255) cpu_start: App version:      v5.0-beta1-824-ga8ef7570ca
I (265) cpu_start: Compile time:     Nov 14 2022 10:02:00
I (275) cpu_start: ELF file SHA256:  23b27de14f1352ef...
I (284) cpu_start: ESP-IDF:          v5.0-beta1-824-ga8ef7570ca
I (294) heap_init: Initializing. RAM available for dynamic allocation:
I (305) heap_init: At 3FCAA4F0 len 00032680 (201 KiB): D/IRAM
I (315) heap_init: At 3FCDCB70 len 0000294C (10 KiB): STACK/DRAM
I (326) spi_flash: detected chip: generic
I (333) spi_flash: flash io: dio
I (339) cpu_start: Starting scheduler.
Hello world!
This is esp32c2 chip with 1 CPU core(s), WiFi/BLE, silicon revision 100, 2MB external flash
Minimum free heap size: 202356 bytes

pay attention to this part:

This is esp32c2 chip with 1 CPU core(s), WiFi/BLE, silicon revision 100, 2MB external flash

As far as I know the ESP32C2(=ESP8684) has a built in SPI FLASH.
Isn't "2MB embedded flash" correct instead of "2MB external flash"?

This is from the ESP8684 datasheet.

ESP8684H1 1 MB –40 ∼ 105 QFN24 (4*4)
ESP8684H2 2 MB –40 ∼ 105 QFN24 (4*4)
ESP8684H4 4 MB –40 ∼ 105 QFN24 (4*4)
@espressif-bot espressif-bot added the Status: Opened Issue is new label Nov 14, 2022
@github-actions github-actions bot changed the title About the CHIP_FEATURE_EMB_FLASH variable About the CHIP_FEATURE_EMB_FLASH variable (IDFGH-8735) Nov 14, 2022
@ESP-Marius
Copy link
Collaborator

You are right, should be embedded. We'll fix this.

@espressif-bot espressif-bot added Status: Reviewing Issue is being reviewed and removed Status: Opened Issue is new labels Nov 14, 2022
@espressif-bot espressif-bot added Resolution: Done Issue is done internally Status: Done Issue is done internally and removed Status: Reviewing Issue is being reviewed labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants