wuxx / nanoESP32-S3

ESP32-S3 dev board
53 stars 14 forks source link

<ESPLink:Overflow> #1

Closed wiltonlazary closed 2 years ago

wiltonlazary commented 2 years ago
command: 
  idf.py monitor -p /dev/ttyACM0

Firmware:
  # ESPLink v1.1c for nanoESP32-S3 by MuseLab - see muselab-tech.com
  Build Time: Nov 11 2021 15:33:36
wiltonlazary commented 2 years ago

--- idf_monitor on /dev/ttyACM0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x2b (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3810,len:0x1690 load:0x403c9700,len:0xbd0 load:0x403cc700,len:0x2d68 entry 0x403c9900 I (25) boot: ESP-IDF v5.0-dev-4706-g87fbc2f487 2nd stage bootloader I (25) boot: compile time 13:00:24 I (25) boot: chip revision: V208 I (28) boot_comm: chip revision: 8, min. bootloader chip revision: 0 I (35) boot.esp32s3: Boot SPI Speed : 80MHz I (40) boot.esp32s3: SPI Mode : DIO I (45) boot.esp32s3: SPI Flash Size : 8MB I (50) boot: Enabling RNG early entropy source... I (55) boot: Partition Table: I (59) boot: ## Label Usage Type ST Offset Length I (66) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (73) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (81) boot: 2 factory factory app 00 00 00010000 00100000 I (88) boot: End of partition table I (92) boot_comm: chip revision: 8, min. application chip revision: 0 I (100) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=0be7ch ( 48764) map I (117) esp_image: segment 1: paddr=0001bea4 vaddr=3fc92c00 size=02b78h ( 11128) load I (120) esp_image: segment 2: paddr=0001ea24 vaddr=40374000 size=015f4h ( 5620) load I (126) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=22cf0h (142576) map I (159) esp_image: segment 4: paddr=00042d18 vaddr=403755f4 size=0d548h ( 54600) load I (171) esp_image: segment 5: paddr=00050268 vaddr=50000000 size=00010h ( 16) load I (178) boot: Loaded app from partition at offset 0x10000 I (178) boot: Disabling RNG early entropy source... I (191) cpu_start: Pro cpu up. I (192) cpu_start: Starting app cpu, entry point is 0x4037538c 0x4037538c: call_start_cpu1 at /home/sdk/esp/esp-idf/components/esp_system/port/cpu_start.c:142

I (0) cpu_start: App cpu up. I (206) cpu_start: Pro cpu start user code I (206) cpu_start: cpu freq: 240000000 Hz I (206) cpu_start: Application information: I (209) cpu_start: Project name: solution I (214) cpu_start: App version: fa34e57-dirty I (220) cpu_start: Compile time: Aug 10 2022 13:00:16 I (226) cpu_start: ELF file SHA256: f5c54c71e5c22b2b... I (232) cpu_start: ESP-IDF: v5.0-dev-4706-g87fbc2f487 I (238) heap_init: Initializing. RAM available for dynamic allocation: I (245) heap_init: At 3FC966F0 len 00053020 (332 KiB): D/IRAM I (252) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM I (259) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM I (265) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM I (272) spi_flash: detected chip: generic I (276) spi_flash: flash io: dio I (280) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (300) SOLUTION: app_main => BEGIN I (310) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (310) gpio: GPIO[5]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (320) INA3221: init I (320) USB: init BEGIN I (320) tusb_desc:

USB Device Descriptor Summary

bDeviceClass 239

bDeviceSubClass 2

bDeviceProtocol 1

bMaxPacketSize0 64

idVendor 0x303a

idProduct 0x4001

bcdDevice 0x100

iManufacturer 0x1

0x alNumber bNumConfig SPLink:Overflow> I (500) USB: m I (
wuxx commented 2 years ago

hello, the problem is that the UART performance of ESPLink is not very well, later will commit a new firmware of ESPLink, please try it

wuxx commented 2 years ago

and you are testing it under Linux system, right ?

wiltonlazary commented 2 years ago

thanks so much, i'm on

Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy

wuxx commented 2 years ago

interface_for_s3_v1.1e.zip

please try to upgrade to v1.1e

Here are the upgrade steps

  1. create a blank file called START_BL.ACT in ESPLink USB DISK $touch /media/pi/ESPLink/START_BL.ACT
  2. wait for a while, the ESPLink will enter into bootloader, a new USB DISK called MAINTAINENCE will appear
  3. copy the firmware into the MAINTAINENCE $cp interface_v1.1c_for_c3.bin /media/pi/MAINTAINENCE
  4. wait for a while, after upgrade done, ESPLink USB DISK will appear, please check the ESPLink/DETAIL.TXT to see the new version v1.1d $cat /media/pi/ESPLink/DETAIL.TXT
wiltonlazary commented 2 years ago

thank very much @wuxx