Giter Site home page Giter Site logo

Comments (6)

nopnop2002 avatar nopnop2002 commented on September 22, 2024

Can you share Serial Monitor Logging?

from esp-idf-mpu6050-dmp.

AlfonGio avatar AlfonGio commented on September 22, 2024

The pyteapot.py won't run after I change useSerial to True.

gio@IPX-GIO-N:~/esp/esp-idf/projects/PyTeapot-Quaternion-Euler-cube-rotation$ python3 pyteapot.py pygame 2.5.2 (SDL 2.28.2, Python 3.10.12) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "/home/gio/esp/esp-idf/projects/PyTeapot-Quaternion-Euler-cube-rotation/pyteapot.py", line 203, in <module> main() File "/home/gio/esp/esp-idf/projects/PyTeapot-Quaternion-Euler-cube-rotation/pyteapot.py", line 43, in main [yaw, pitch, roll] = read_data() File "/home/gio/esp/esp-idf/projects/PyTeapot-Quaternion-Euler-cube-rotation/pyteapot.py", line 102, in read_data line = ser.readline().decode('UTF-8').replace('\n', '') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 3: invalid continuation byte

from esp-idf-mpu6050-dmp.

nopnop2002 avatar nopnop2002 commented on September 22, 2024

No.
I want to look esp-idf's serial monitor logging.

from esp-idf-mpu6050-dmp.

AlfonGio avatar AlfonGio commented on September 22, 2024

Not sure how to share it, I just copy paste it here.

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403759c8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x16e8
load:0x403c9700,len:0x4
load:0x403c9704,len:0xc00
load:0x403cc700,len:0x2eb0
entry 0x403c9908
�[0;32mI (31) boot: ESP-IDF v5.1.1-dirty 2nd stage bootloader�[0m
�[0;32mI (31) boot: compile time Nov 2 2023 14:19:22�[0m
�[0;32mI (31) boot: Multicore bootloader�[0m
�[0;32mI (35) boot: chip revision: v0.1�[0m
�[0;32mI (39) boot.esp32s3: Boot SPI Speed : 80MHz�[0m
�[0;32mI (44) boot.esp32s3: SPI Mode : DIO�[0m
�[0;32mI (48) boot.esp32s3: SPI Flash Size : 2MB�[0m
�[0;32mI (53) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (59) boot: Partition Table:�[0m
�[0;32mI (62) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00006000�[0m
�[0;32mI (77) boot: 1 phy_init RF data 01 01 0000f000 00001000�[0m
�[0;32mI (84) boot: 2 factory factory app 00 00 00010000 00100000�[0m
�[0;32mI (92) boot: End of partition table�[0m
�[0;32mI (96) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=259b8h (154040) map�[0m
�[0;32mI (132) esp_image: segment 1: paddr=000359e0 vaddr=3fc98b00 size=04434h ( 17460) load�[0m
�[0;32mI (136) esp_image: segment 2: paddr=00039e1c vaddr=40374000 size=061fch ( 25084) load�[0m
�[0;32mI (143) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=91318h (594712) map�[0m
�[0;32mI (253) esp_image: segment 4: paddr=000d1340 vaddr=4037a1fc size=0e830h ( 59440) load�[0m
�[0;32mI (275) boot: Loaded app from partition at offset 0x10000�[0m
�[0;32mI (275) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (286) cpu_start: Multicore app�[0m
�[0;32mI (287) cpu_start: Pro cpu up.�[0m
�[0;32mI (287) cpu_start: Starting app cpu, entry point is 0x403755fc�[0m
�[0;32mI (0) cpu_start: App cpu up.�[0m
�[0;32mI (305) cpu_start: Pro cpu start user code�[0m
�[0;32mI (305) cpu_start: cpu freq: 160000000 Hz�[0m
�[0;32mI (305) cpu_start: Application information:�[0m
�[0;32mI (308) cpu_start: Project name: MPU6050_KALMAN�[0m
�[0;32mI (314) cpu_start: App version: 0ddb720-dirty�[0m
�[0;32mI (319) cpu_start: Compile time: Nov 2 2023 14:21:24�[0m
�[0;32mI (325) cpu_start: ELF file SHA256: 327faebc2c2f5d9d...�[0m
�[0;32mI (331) cpu_start: ESP-IDF: v5.1.1-dirty�[0m
�[0;32mI (337) cpu_start: Min chip rev: v0.0�[0m
�[0;32mI (341) cpu_start: Max chip rev: v0.99 �[0m
�[0;32mI (346) cpu_start: Chip rev: v0.1�[0m
�[0;32mI (351) heap_init: Initializing. RAM available for dynamic allocation:�[0m
�[0;32mI (358) heap_init: At 3FCA1630 len 000480E0 (288 KiB): DRAM�[0m
�[0;32mI (364) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM�[0m
�[0;32mI (371) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM�[0m
�[0;32mI (377) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM�[0m
�[0;32mI (384) spi_flash: detected chip: gd�[0m
�[0;32mI (388) spi_flash: flash io: dio�[0m
�[0;33mW (392) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.�[0m
�[0;32mI (405) sleep: Configure to isolate all GPIO pins in sleep state�[0m
�[0;32mI (412) sleep: Enable automatic switching of GPIO sleep configuration�[0m
�[0;32mI (419) app_start: Starting scheduler on CPU0�[0m
�[0;32mI (424) app_start: Starting scheduler on CPU1�[0m
�[0;32mI (424) main_task: Started on CPU0�[0m
�[0;32mI (434) main_task: Calling app_main()�[0m
�[0;32mI (434) wifi station: Start�[0m
�[0;32mI (464) pp: pp rom version: e7ae62f�[0m
�[0;32mI (464) net80211: net80211 rom version: e7ae62f�[0m
I (474) wifi:wifi driver task: 3fcab7cc, prio:23, stack:6656, core=0
I (484) wifi:wifi firmware version: ce9244d
I (484) wifi:wifi certification version: v7.0
I (484) wifi:config NVS flash: enabled
I (484) wifi:config nano formating: disabled
I (484) wifi:Init data frame dynamic rx buffer num: 32
I (494) wifi:Init management frame dynamic rx buffer num: 32
I (494) wifi:Init management short buffer num: 32
I (504) wifi:Init dynamic tx buffer num: 32
I (504) wifi:Init static tx FG buffer num: 2
I (514) wifi:Init static rx buffer size: 1600
I (514) wifi:Init static rx buffer num: 10
I (514) wifi:Init dynamic rx buffer num: 32
�[0;32mI (524) wifi_init: rx ba win: 6�[0m
�[0;32mI (524) wifi_init: tcpip mbox: 32�[0m
�[0;32mI (534) wifi_init: udp mbox: 6�[0m
�[0;32mI (534) wifi_init: tcp mbox: 6�[0m
�[0;32mI (534) wifi_init: tcp tx win: 5744�[0m
�[0;32mI (544) wifi_init: tcp rx win: 5744�[0m
�[0;32mI (544) wifi_init: tcp mss: 1440�[0m
�[0;32mI (554) wifi_init: WiFi IRAM OP enabled�[0m
�[0;32mI (554) wifi_init: WiFi RX IRAM OP enabled�[0m
I (564) wifi:Set ps type: 0, coexist: 0

�[0;32mI (564) phy_init: phy_version 601,98f2a71,Jun 29 2023,09:58:12�[0m
I (614) wifi:mode : sta (34:85:18:ab:d6:10)
I (614) wifi:enable tsf
I (624) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
I (624) wifi:state: init -> auth (b0)
I (624) wifi:state: auth -> assoc (0)
I (634) wifi:state: assoc -> run (10)
I (664) wifi:connected with XXXXXXX, aid = 1, channel 6, BW20, bssid = XXXX
I (664) wifi:security: WPA2-PSK, phy: bgn, rssi: -23
I (664) wifi:pm start, type: 0

I (664) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (694) wifi:idx:0 (ifx:0, XXXXXX), tid:0, ssn:0, winSize:64
I (714) wifi:AP's beacon interval = 102400 us, DTIM period = 2
�[0;32mI (1674) esp_netif_handlers: sta ip: XXXX, mask: XXXXX, gw: XXXXX�[0m
�[0;32mI (1674) wifi station: got ip:XXXXXX�[0m
�[0;32mI (1674) wifi station: connected to ap SSID:XXXXX password:XXXXX�[0m
�[0;32mI (1684) wifi station: wifi_init_sta finished.�[0m
�[0;32mI (1684) wifi station: Finish�[0m
�[0;32mI (1694) MAIN: mdns hostname set to: [ESP32]�[0m
�[0;32mI (1694) MAIN: cparam0=[XXXXXXX]�[0m
�[0;32mI (1694) server_task: Start task_parameter=XXXXXX�[0m
�[0;32mI (1704) server_task: Starting server on http://XXXXXX�[0m
�[0;32mI (1714) server_task: PriorityGet=5�[0m

ERROR A stack overflow in task SERVER has been detected.

Backtrace: 0x40375b46:0x3fcb5740 0x4037dd09:0x3fcb5760 0x40380c6e:0x3fcb5780 0x4037f3d7:0x3fcb5800 0x40380d7c:0x3fcb5820 0x40380d72:0x3fcb5930 0x3fcb594d:0x3fcb5970 |<-CORRUPTED

ELF file SHA256: 327faebc2c2f5d9d

from esp-idf-mpu6050-dmp.

nopnop2002 avatar nopnop2002 commented on September 22, 2024

Not sure how to share it, I just copy paste it here.

That's good.

from esp-idf-mpu6050-dmp.

nopnop2002 avatar nopnop2002 commented on September 22, 2024

Thank you for the report.
Fixed.
Please try the latest version.

from esp-idf-mpu6050-dmp.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.