Xinyuan-LilyGO / LilyGo-Display-IDF

This project is an esp-idf sample repository for the LilyGo display family.
MIT License
19 stars 6 forks source link

runtime error i2c.master Chip ID:0xffffffff #4

Closed bugrayanik closed 7 months ago

bugrayanik commented 7 months ago

--- WARNING: Serial ports accessed as /dev/tty.* will hang gdb if launched. --- Using /dev/cu.usbmodem101 instead... --- esp-idf-monitor 1.4.0 on /dev/cu.usbmodem101 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- I (333) octal_psram: DriveStrength: 0x00 (1/1) IESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x15 (USB_UART_CHIP_RESET),boot:0x2b (SPI_FAST_FLASH_BOOT) Saved PC:0x4004883b 0x4004883b: uart_tx_one_char_uart in ROM

SPIWP:0xee mode:DIO, clock div:1 load:0x3fce2810,len:0x178c load:0x403c8700,len:0x4 load:0x403c8704,len:0xbfc load:0x403cb700,len:0x2d84 entry 0x403c8900 I (26) boot: ESP-IDF v5.3-dev-2087-g5f42493573 2nd stage bootloader I (27) boot: compile time Feb 25 2024 00:50:40 I (27) boot: Multicore bootloader I (31) boot: chip revision: v0.1 I (35) boot.esp32s3: Boot SPI Speed : 80MHz I (40) boot.esp32s3: SPI Mode : DIO I (45) boot.esp32s3: SPI Flash Size : 16MB 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) esp_image: segment 0: paddr=00010020 vaddr=3c050020 size=74c0ch (478220) map I (187) esp_image: segment 1: paddr=00084c34 vaddr=3fc95100 size=02ef8h ( 12024) load I (190) esp_image: segment 2: paddr=00087b34 vaddr=40374000 size=084e4h ( 34020) load I (200) esp_image: segment 3: paddr=00090020 vaddr=42000020 size=4b868h (309352) map I (256) esp_image: segment 4: paddr=000db890 vaddr=4037c4e4 size=08b20h ( 35616) load I (271) boot: Loaded app from partition at offset 0x10000 I (272) boot: Disabling RNG early entropy source... I (272) cpu_start: Multicore app I (276) octal_psram: vendor id : 0x0d (AP) I (281) octal_psram: dev id : 0x02 (generation 3) I (287) octal_psram: density : 0x03 (64 Mbit) I (292) octal_psram: good-die : 0x01 (Pass) I (297) octal_psram: Latency : 0x01 (Fixed) I (303) octal_psram: VCC : 0x01 (3V) I (308) octal_psram: SRF : 0x01 (Fast Refresh) I (314) octal_psram: BurstType : 0x01 (Hybrid Wrap) I (319) octal_psram: BurstLen : 0x01 (32 Byte) I (325) octal_psram: Readlatency : 0x02 (10 cycles@Fixed) I (331) octal_psram: DriveStrength: 0x00 (1/1) I (336) esp_psram: Found 8MB PSRAM device I (341) esp_psram: Speed: 40MHz I (1076) esp_psram: SPI SRAM memory test OK I (1086) cpu_start: Pro cpu start user code I (1086) cpu_start: cpu freq: 240000000 Hz I (1086) app_init: Application information: I (1086) app_init: Project name: lilygo_display_project I (1087) app_init: App version: e458330 I (1087) app_init: Compile time: Feb 25 2024 00:50:35 I (1087) app_init: ELF file SHA256: 3467ebf3b... I (1087) app_init: ESP-IDF: v5.3-dev-2087-g5f42493573 I (1087) app_init: Min chip rev: v0.0 I (1087) app_init: Max chip rev: v0.99 I (1088) app_init: Chip rev: v0.1 I (1088) heap_init: Initializing. RAM available for dynamic allocation: I (1088) heap_init: At 3FCA4FD8 len 00044738 (273 KiB): RAM I (1088) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM I (1089) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM I (1089) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM I (1089) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator I (1090) spi_flash: detected chip: winbond I (1090) spi_flash: flash io: dio I (1091) sleep: Configure to isolate all GPIO pins in sleep state I (1091) sleep: Enable automatic switching of GPIO sleep configuration I (1092) main_task: Started on CPU0 I (1102) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations I (1102) main_task: Calling app_main() I (1102) main: ------ Initialize I2C. I (1102) gpio: GPIO[3]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0 I (1102) gpio: GPIO[2]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0 I (1102) main: ------ Initialize PMU. I (1102) main: ------ Initialize TOUCH. I (1102) touch: Initialize Touchpanle Using ESP-IDF Driver interface. Added Device Address : 0x15 New Dev Address: 0x3c0d0e38 Speed :400000 E (1102) i2c.master: s_i2c_synchronous_transaction(795): I2C transaction failed E (1102) i2c.master: i2c_master_transmit_receive(1005): I2C transaction failed Chip ID:0xffffffff

This is what happened when i flash and monitor, nothing showed up on the display i would appriciate any helps, thanks

bugrayanik commented 7 months ago

i just found out my dislpay is broken, i relate to that and change my focus