Closed blfuentes closed 2 months ago
There are no problems. Please check the wiring again.
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x178c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xcb8
load:0x403cb700,len:0x2db0
entry 0x403c8914
I (27) boot: ESP-IDF v5.3 2nd stage bootloader
I (27) boot: compile time Aug 12 2024 06:54:12
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (38) boot.esp32s3: SPI Mode : DIO
I (43) boot.esp32s3: SPI Flash Size : 2MB
I (48) boot: Enabling RNG early entropy source...
I (53) boot: Partition Table:
I (57) boot: ## Label Usage Type ST Offset Length
I (64) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (71) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (79) boot: 2 factory factory app 00 00 00010000 00100000
I (86) boot: End of partition table
I (91) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0c8b8h ( 51384) map
I (108) esp_image: segment 1: paddr=0001c8e0 vaddr=3fc92f00 size=03244h ( 12868) load
I (111) esp_image: segment 2: paddr=0001fb2c vaddr=40374000 size=004ech ( 1260) load
I (116) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1fbe8h (130024) map
I (148) esp_image: segment 4: paddr=0003fc10 vaddr=403744ec size=0e9e8h ( 59880) load
I (167) boot: Loaded app from partition at offset 0x10000
I (167) boot: Disabling RNG early entropy source...
I (179) cpu_start: Multicore app
I (189) cpu_start: Pro cpu start user code
I (189) cpu_start: cpu freq: 240000000 Hz
I (189) app_init: Application information:
I (192) app_init: Project name: ssd1306
I (196) app_init: App version: b375737-dirty
I (202) app_init: Compile time: Aug 12 2024 07:02:54
I (208) app_init: ELF file SHA256: 65024e1fa...
I (213) app_init: ESP-IDF: v5.3
I (218) efuse_init: Min chip rev: v0.0
I (222) efuse_init: Max chip rev: v0.99
I (227) efuse_init: Chip rev: v0.1
I (232) heap_init: Initializing. RAM available for dynamic allocation:
I (239) heap_init: At 3FC96A20 len 00052CF0 (331 KiB): RAM
I (245) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (252) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (258) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (265) spi_flash: detected chip: gd
I (268) spi_flash: flash io: dio
W (272) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (285) sleep: Configure to isolate all GPIO pins in sleep state
I (292) sleep: Enable automatic switching of GPIO sleep configuration
I (299) main_task: Started on CPU0
I (319) main_task: Calling app_main()
I (319) SSD1306: INTERFACE is i2c
I (319) SSD1306: CONFIG_SDA_GPIO=42
I (319) SSD1306: CONFIG_SCL_GPIO=41
I (329) SSD1306: CONFIG_RESET_GPIO=-1
I (329) SSD1306: New i2c driver is used
I (339) gpio: GPIO[42]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (339) gpio: GPIO[41]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (349) SSD1306: Panel is 128x64
I (359) SSD1306: OLED configured successfully
You can use this to check the wiring. https://github.com/espressif/esp-idf/tree/master/examples/peripherals/i2c/i2c_tools
==============================================================
| Steps to Use i2c-tools |
| |
| 1. Try 'help', check all supported commands |
| 2. Try 'i2cconfig' to configure your I2C bus |
| 3. Try 'i2cdetect' to scan devices on the bus |
| 4. Try 'i2cget' to get the content of specific register |
| 5. Try 'i2cset' to set the value of specific register |
| 6. Try 'i2cdump' to dump all the register (Experiment) |
| |
==============================================================
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
I (840) main_task: Returned from app_main()
i2c-tools> i2cdetect
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Thanks! it was indeed a wiring problem...
I'm trying to follow the sample just to show some text in a ssd1306 128x32 but I'm getting this error after flashing: Board: ESP32-S3 framework: espressif 5.3
The code is just the textdemo:
Any idea what could be wrong?