Hello ESP_Sprite,
Would you please check couple of updates which I have posted recently and let me know if need anything else to move further for debugging purpose?
I have also flashed Wi-Fi AP and STA mode examples which seems to be not working but not able to debug due to UART console logs are getting garbage.
I have also tried to change debug console but issue remains same into that also. It seems like issue are clock perspective or similar to like that. I have checked LED block example which seems to be working.
If you have any other clue or debugging step then let me know so that we will check it from our end.
Looking support and help to start ESP8684-WROOM-05 Module Development
Re: Looking support and help to start ESP8684-WROOM-05 Module Development
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Looking support and help to start ESP8684-WROOM-05 Module Development
Hello ESP_Sprite,
It is working now as custom baudrate has been configured which is 78440 as it is not available into most of serial terminal tool.
I am bit surprised that why it was not worked into standard baudrate when I changed into 115200 with debug console modified from default UART0 to other UART like below.
It means that UART baudrate is hardcoded which can't be modified like I have done through above configurations.
Also, 78440 baudrate is not standard one which is not available into most of tool selection where we need to select baudrate.
I will now check other examples and will let you know if need any further help accordingly.
Thanks again for your kind support to get it working.
It is working now as custom baudrate has been configured which is 78440 as it is not available into most of serial terminal tool.
I am bit surprised that why it was not worked into standard baudrate when I changed into 115200 with debug console modified from default UART0 to other UART like below.
It means that UART baudrate is hardcoded which can't be modified like I have done through above configurations.
Also, 78440 baudrate is not standard one which is not available into most of tool selection where we need to select baudrate.
I will now check other examples and will let you know if need any further help accordingly.
Thanks again for your kind support to get it working.
- Attachments
-
- UART Debug Console.png (52.94 KiB) Viewed 1486 times
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Looking support and help to start ESP8684-WROOM-05 Module Development
Hello ESP_Sprite,ESP_Sprite wrote: ↑Mon May 27, 2024 6:58 amPotentially something is wrong with the clock configuration. The C2 modules have a 26 or 40MHz crystal, and you need to indicate which you're using in menuconfig.
I have also tried to change Crystal Clock Frequency from 40 MHz to 26 MHz and started Access Point example but suddenly firmware is going to crash with following errors.
So, I am bit surprised that into datasheet it shows XTAL clock frequency as 26 MHz while into menuconfig we need to select 40 MHz otherwise it is not working.ESP-ROM:esp8684-api2-20220127
Build:Jan 27 2022
rst:0xc (RTC_SW_CPU_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403807c0
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5c80,len:0x16d0
load:0x403acb70,len:0x974
load:0x403aeb70,len:0x2940
entry 0x403acb70
I (23) boot: ESP-IDF v5.1-231-ga7b62bbcaf-dirty 2nd stage bootloader
I (23) boot: compile time May 23 2024 18:06:40
I (24) boot: chip revision: v1.0
I (28) boot.esp32c2: MMU Page Size : 32K
I (32) boot.esp32c2: SPI Speed : 60MHz
I (37) boot.esp32c2: SPI Mode : DIO
I (42) boot.esp32c2: SPI Flash Size : 2MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (63) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (78) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=3c070020 size=1e580h (124288) map
I (137) esp_image: segment 1: paddr=0002e5a8 vaddr=3fcabf40 size=01a70h ( 6768) load
I (141) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=6f490h (455824) map
I (288) esp_image: segment 3: paddr=0009f4b8 vaddr=3fcad9b0 size=009a4h ( 2468) load
I (289) esp_image: segment 4: paddr=0009fe64 vaddr=40380000 size=0bf40h ( 48960) load
I (319) boot: Loaded app from partition at offset 0x10000
I (320) boot: Disabling RNG early entropy source...
I (331) cpu_start: Unicore app
I (331) cpu_start: Pro cpu up.
assert failed: esp_clk_init clk.c:70 (rtc_clk_xtal_freq_get() == CONFIG_XTAL_FREQ)
Core 0 register dump:
MEPC : 0x40380608 RA : 0x403851ec SP : 0x3fcde5d0 GP : 0x3fcac740
TP : 0x00000000 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x00000075 S1 : 0x00000001 A0 : 0x3fcde60c A1 : 0x3fcad80d
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fcb2000
A6 : 0x0000000c A7 : 0x76757473 S2 : 0x00000009 S3 : 0x3fcde732
S4 : 0x3fcad80c S5 : 0x0001e580 S6 : 0xffff8000 S7 : 0x40380438
S8 : 0x00030020 S9 : 0x00010020 S10 : 0x00000005 S11 : 0x3fcde824
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
3fcde5d0: 0x6e5c932c 0x74da6b65 0x3c07042c 0x4038a002 0x3fcadb0c 0x3c07042c 0x3fcadc70 0x3c070421
3fcde5f0: 0x3fcadb1c 0x3fcde604 0x3fcadb20 0x3c0703c8 0x3fcad80c 0x00003037 0xfffffffb 0x65737361
3fcde610: 0x66207472 0x656c6961 0x65203a64 0x635f7073 0x695f6b6c 0x2074696e 0x2e6b6c63 0x30373a63
3fcde630: 0x74722820 0x6c635f63 0x74785f6b 0x665f6c61 0x5f716572 0x28746567 0x3d3d2029 0x4e4f4320
3fcde650: 0x5f474946 0x4c415458 0x4552465f 0x40002951 0xffffffff 0x00000029 0x0000000a 0x400541f0
3fcde670: 0xffffffff 0x00000029 0x00004000 0x00000006 0x40036c98 0x00000016 0x00400000 0x00000000
3fcde690: 0x40036c98 0x00000001 0x00000002 0x40036d06 0xffffffff 0x00000016 0x00000096 0x00000002
3fcde6b0: 0x00000006 0x00000001 0x0000000f 0x00000000 0x00000000 0x00000000 0x00000061 0x40381386
3fcde6d0: 0x42000000 0x00000000 0x00000000 0x3c000000 0x7fffffff 0x60008000 0x3fcde890 0x3c070000
3fcde6f0: 0x42000000 0x3c08e59f 0x27146414 0x42000704 0x000049b4 0x3ff48094 0x00000009 0x3fcde724
3fcde710: 0x00200000 0x00200000 0x00090000 0x403805ea 0x0000001b 0x0000014b 0x3c070300 0x00000004
3fcde730: 0x600c2000 0x3c08e59f 0x0000000c 0x40380506 0x00000000 0x3ff48094 0x00000000 0x00000007
3fcde750: 0xffff8000 0x0001e580 0x3fcde890 0x3c070000 0x42000000 0x3c08e59f 0x4206f4af 0x403afb08
3fcde770: 0x8978a029 0xb75bf5d3 0x0c88c786 0x0006f490 0x95e80500 0xe9d379ff 0x710d63cf 0x00070000
3fcde790: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fce0000
3fcde7b0: 0x000049b4 0x3ff48094 0x0000ffff 0xffffffff 0xffffffff 0x3fcde910 0xffffffff 0x403aff60
3fcde7d0: 0xffffffff 0x0000002e 0x00010000 0x00100000 0x00010000 0x1f0205e9 0x40380438 0x000000ee
3fcde7f0: 0x6400000c 0x0000c700 0x01000000 0x3c070020 0x0001e580 0x3fcabf40 0x00001a70 0x42000020
3fcde810: 0x0006f490 0x3fcad9b0 0x000009a4 0x40380000 0x0000bf40 0x00000000 0x00000000 0x00000000
3fcde830: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde850: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde870: 0x00000000 0x00000000 0x00000000 0x00010020 0x0002e5a8 0x00030020 0x0009f4b8 0x0009fe64
3fcde890: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde8b0: 0x00000000 0x00000000 0x00000000 0x0009bdd0 0x140ea779 0x230a1608 0x673b0d52 0xa631037c
3fcde8d0: 0x8978a029 0xb75bf5d3 0x0c88c786 0xfdabfd5c 0x000049b4 0x3ff48094 0x0000ffff 0x3fce0000
3fcde8f0: 0x00000000 0x0000008b 0x000049c0 0x403acbf2 0x2bed2b48 0x9e7ba6c3 0x00000000 0xffffffff
3fcde910: 0x00000000 0x00000000 0x00010000 0x00100000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde930: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde950: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde970: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde990: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcde9b0: 0x600c5100 0x600c5100 0x00000020 0x40055c20 0x30376330 0x34303338 0xda6a7806 0x00000000
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Looking support and help to start ESP8684-WROOM-05 Module Development
Hello ESP_Sprite,
I have to change XTAL Frequency from 40 MHz to 26 MHz then only Wi-Fi is working. So that I have changed and able to detect Access Point connection accordingly.
Thanks for your kind support and help for resolution of some issues.
I will check from my end and will let you know if any other queries accordingly.
I have to change XTAL Frequency from 40 MHz to 26 MHz then only Wi-Fi is working. So that I have changed and able to detect Access Point connection accordingly.
Thanks for your kind support and help for resolution of some issues.
I will check from my end and will let you know if any other queries accordingly.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 342 guests