Replies: 1 comment 1 reply
-
Chip Revision 1 is not supported. Although this may or may not be related to that. Please, retry it on REV3 or other Xtensa device to check if it still happens. To further inform: we are removing IDFboot in the upcoming days and new ways to start ESP32 won't allow for REV1. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found an issue with the use of setjmp with esp32, specifically using the board esp_wrover_kit. Before submitting an official issue on zephyr's github I would like to request your feedback, just in case I am doing something wrong. Same test on an arm based st board (disco_l475_iot1) rises no exception.
A minimal example to reproduce the problem is:
src/main.c:
prj.conf:
CMakeLists.txt:
I compiled this in a workspace with: west build -b esp_wrover_kit -t flash
And runned on the board with: west espressif monitor
The output was:
Serial port /dev/ttyUSB1
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
--- idf_monitor on /dev/ttyUSB1 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6604
ho 0 tail 12 room 4
load:0x40078000,len:15224
ho 0 tail 12 room 4
load:0x40080400,len:3992
entry 0x40080634
0x40080634: __esp_platform_start at WORKSPACE_PATH/zephyr/soc/xtensa/espressif_esp32/esp32/soc.c:109
I (30) boot: ESP-IDF 67fa60bdff 2nd stage bootloader
I (30) boot: compile time 22:14:02
I (30) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed : 40MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=00000020 size=0001ch ( 28)
I (113) esp_image: segment 1: paddr=00010044 vaddr=3ffb0000 size=006a8h ( 1704) load
I (122) esp_image: segment 2: paddr=000106f4 vaddr=3ffb06a8 size=00154h ( 340) load
I (130) esp_image: segment 3: paddr=00010850 vaddr=40080000 size=03e50h ( 15952) load
I (145) esp_image: segment 4: paddr=000146a8 vaddr=00000000 size=0b990h ( 47504)
I (163) esp_image: segment 5: paddr=00020040 vaddr=3f400040 size=0158ch ( 5516) map
I (166) esp_image: segment 6: paddr=000215d4 vaddr=00000000 size=0ea44h ( 59972)
I (191) esp_image: segment 7: paddr=00030020 vaddr=400d0020 size=039dch ( 14812) map
I (198) boot: Loaded app from partition at offset 0x10000
I (198) boot: Disabling RNG early entropy source...
*** Booting Zephyr OS build 60c58fe ***
setjmp test:
E: ** SYSCALL PS 0x60020 PC 0x4005626f
E: ** A0 0x800d03c9 SP 0x3ffe9d80 A2 0 A3 0x3f400d5c
E: ** A4 0x3ffe9d90 A5 0xffffffff A6 0 A7 0xff0fffff
E: ** A8 0x8008237c A9 0x3ffe9d50 A10 0 A11 0x3ffb0008
E: ** A12 0x3ffb1a24 A13 0x4 A14 0x60020 A15 0x14
E: ** LBEG 0x4000c46c LEND 0x4000c477 LCOUNT 0
E: ** SAR 0x1b
long jump set
long done
I am using the zephyr-sdk-0.16.3 version and zephyr main branch.
Any thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions