Anyone had any luck with the JC8012P4A1C_I_W_Y esp32 P4 module?

mrpizza
Posts: 1
Joined: Thu Feb 26, 2026 9:26 pm

Anyone had any luck with the JC8012P4A1C_I_W_Y esp32 P4 module?

Postby mrpizza » Thu Feb 26, 2026 9:35 pm

Hi everyone, I have recently bought a JC8012P4A1C_I_W_Y, which is an esp32 p4 module with a 10.1 display.
The vendor provided a repository with few demo aplications, some written in esp idf (https://github.com/guitionofficial/P4-s ... f-examples) but most of them doesn't work in my case.
It seems to me the main issue is related to the touch screen driver, not properly working. From the logs it looks like hanging there:
I (1537) gsl3680: gsl3680 writing 0xf0 0x12
E (1537) lcd_panel.io.i2c: panel_io_i2c_tx_buffer(193): i2c transaction failed
E (1537) gsl3680: touch_gsl3680_read_cfg(508): gsl3680 read error
I (1542) gsl3680: start init
I (1545) gsl3680: clear reg

Had anyone got experience with the same device and managed to get it working?

Thank you in advance

rtimte
Posts: 2
Joined: Tue Apr 21, 2026 7:42 pm

Re: Anyone had any luck with the JC8012P4A1C_I_W_Y esp32 P4 module?

Postby rtimte » Tue Apr 21, 2026 8:27 pm

I got it to work, but had fun getting there. Need to flash the C6 as the firmware was to old and did not work with the current ESP-hosted component. Here is a couple of pictures of the current state of my Automation project.


Here my log till the app was up and running:

I (27) boot: ESP-IDF v5.5.3 2nd stage bootloader
I (28) boot: compile time Apr 17 2026 14:48:18
I (28) boot: Multicore bootloader
I (30) boot: chip revision: v1.3
I (31) boot: efuse block revision: v0.3
I (35) boot.esp32p4: SPI Speed : 40MHz
I (39) boot.esp32p4: SPI Mode : DIO
I (42) boot.esp32p4: SPI Flash Size : 16MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (53) boot: ## Label Usage Type ST Offset Length
I (60) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00900000
I (79) boot: 3 storage Unknown data 01 82 00910000 00400000
I (87) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=48100020 size=1364dch (1271004) map
I (365) esp_image: segment 1: paddr=00146504 vaddr=30100000 size=00068h ( 104) load
I (367) esp_image: segment 2: paddr=00146574 vaddr=4ff00000 size=09aa4h ( 39588) load
I (379) esp_image: segment 3: paddr=00150020 vaddr=48000020 size=fbe60h (1031776) map
I (598) esp_image: segment 4: paddr=0024be88 vaddr=4ff09aa4 size=1dfcch (122828) load
I (628) esp_image: segment 5: paddr=00269e5c vaddr=4ff27a80 size=02b38h ( 11064) load
I (633) esp_image: segment 6: paddr=0026c99c vaddr=4ff40000 size=02664h ( 9828) load
I (637) esp_image: segment 7: paddr=0026f008 vaddr=50108080 size=00020h ( 32) load
I (649) boot: Loaded app from partition at offset 0x10000
I (649) boot: Disabling RNG early entropy source...
I (663) hex_psram: vendor id : 0x0d (AP)
I (663) hex_psram: Latency : 0x01 (Fixed)
I (663) hex_psram: DriveStr. : 0x00 (25 Ohm)
I (664) hex_psram: dev id : 0x03 (generation 4)
I (668) hex_psram: density : 0x07 (256 Mbit)
I (673) hex_psram: good-die : 0x06 (Pass)
I (677) hex_psram: SRF : 0x02 (Slow Refresh)
I (682) hex_psram: BurstType : 0x00 ( Wrap)
I (686) hex_psram: BurstLen : 0x03 (2048 Byte)
I (690) hex_psram: BitMode : 0x01 (X16 Mode)
I (695) hex_psram: Readlatency : 0x04 (14 cycles@Fixed)
I (700) hex_psram: DriveStrength: 0x00 (1/1)
I (704) MSPI Timing: Enter psram timing tuning
I esp_psram: Found 32MB PSRAM device
I esp_psram: Speed: 200MHz
I (1059) mmu_psram: .rodata xip on psram
I (1201) mmu_psram: .text xip on psram
I (1202) hex_psram: psram CS IO is dedicated
I (1202) cpu_start: Multicore app
I (2085) esp_psram: SPI SRAM memory test OK
I (2093) cpu_start: GPIO 38 and 37 are used as console UART I/O pins
I (2094) cpu_start: Pro cpu start user code
I (2094) cpu_start: cpu freq: 360000000 Hz
I (2096) app_init: Application information:
I (2100) app_init: Project name: Automation
I (2104) app_init: App version: 1
I (2107) app_init: Compile time: Apr 21 2026 09:29:16
I (2112) app_init: ELF file SHA256: e7aaf05bf...
I (2117) app_init: ESP-IDF: v5.5.3
I (2121) efuse_init: Min chip rev: v0.0
I (2125) efuse_init: Max chip rev: v1.99
I (2129) efuse_init: Chip rev: v1.3
I (2133) heap_init: Initializing. RAM available for dynamic allocation:
I (2139) heap_init: At 4FF2A5D0 len 000109F0 (66 KiB): RETENT_RAM
I (2145) heap_init: At 4FF3AFC0 len 00004BF0 (18 KiB): RAM
I (2150) heap_init: At 4FF49750 len 000568B0 (346 KiB): RAM
I (2156) heap_init: At 501080A0 len 00007F60 (31 KiB): RTCRAM
I (2161) heap_init: At 30100068 len 00001F98 (7 KiB): TCM
I (2166) esp_psram: Adding pool of 30464K of PSRAM memory to heap allocator
I (2173) esp_psram: Adding pool of 16K of PSRAM memory gap generated due to end address alignment of irom to the heap allocator
I (2184) esp_psram: Adding pool of 38K of PSRAM memory gap generated due to end address alignment of drom to the heap allocator
I (2196) spi_flash: detected chip: boya
I (2199) spi_flash: flash io: dio
I (2202) host_init: ESP Hosted : Host chip_ip[18]
I (2207) H_API: ESP-Hosted starting. Hosted_Tasks: prio:23, stack: 5120 RPC_task_stack: 5120
I (2215) H_API: ** add_esp_wifi_remote_channels **
I (2220) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (2226) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (2232) H_SDIO_DRV: sdio_data_to_rx_buf_task started
I (2232) main_task: Started on CPU0
I (2242) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (2252) main_task: Calling app_main()
I (2252) LVGL: Starting LVGL task
W (2252) ledc: GPIO 23 is not usable, maybe conflict with others
I (2262) ESP32_P4_EV: MIPI DSI PHY Powered on
I (2262) ESP32_P4_EV: Install MIPI DSI LCD control panel
I (2272) ESP32_P4_EV: Install ILI9881C LCD control panel
I (2272) jd9365: version: 1.1.1
I (2442) jd9365: LCD ID: 93 65 04
I (2562) ESP32_P4_EV: Display initialized
E (2562) lcd_panel: esp_lcd_panel_swap_xy(50): swap_xy is not supported by this panel
W (2562) gsl3680: Unable to initialize the I2C address
I (2662) gsl3680: init gls3680
I (2662) gsl3680: gsl3680 connect
I (2662) gsl3680: gsl3680 read reg 0xf0 before is 0 0 0 0
I (2682) gsl3680: gsl3680 writing 0xf0 0x12
I (2702) gsl3680: gsl3680 read reg 0xf0 after is 12 34 56 0
I (2702) gsl3680: start init
I (2702) gsl3680: clear reg
I (2822) gsl3680: start load fw
I (3662) gsl3680: load fw success
I (3662) gsl3680: enter
I (3672) gsl_point_id: gsl_DataInit
I (3732) gsl3680: enter
I (3742) gsl_point_id: gsl_DataInit
I (3742) gsl3680: enter read_ram_fw
I (3772) gsl3680: gsl3680 startup_chip failed read 0xb0 = 5a,5a,5a,5a
I (3772) ESP32_P4_EV: Setting LCD backlight: 100%
I (3772) Disp:: Display splash
I (3772) Load_button_Tab:: Complete
I (3772) Loading Screen Tab:: Complete
I (4432) SCR_INT:: Complete
I (4572) Unlock:: Screen Unlocked
I (4572) connect: Start connect.
I (4572) transport: Attempt connection with slave: retry[0]
W (4572) H_SDIO_DRV: Reset slave using GPIO[54]
I (4582) os_wrapper_esp: GPIO [54] configured
I (6102) sdio_wrapper: SDIO master: Slot 1, Data-Lines: 4-bit Freq(KHz)[40000 KHz]
I (6102) sdio_wrapper: GPIOs: CLK[18] CMD[19] D0[14] D1[15] D2[16] D3[17] Slave_Reset[54]
I (6102) sdio_wrapper: Queues: Tx[20] Rx[20] SDIO-Rx-Mode[1]
I (6142) sdio_wrapper: Function 0 Blocksize: 512
I (6142) sdio_wrapper: Function 1 Blocksize: 512
I (6242) H_SDIO_DRV: Card init success, TRANSPORT_RX_ACTIVE
I (6242) transport: set_transport_state: 1
I (6242) transport: Waiting for esp_hosted slave to be ready
I (6332) H_SDIO_DRV: SDIO Host operating in STREAMING MODE
I (6332) H_SDIO_DRV: Open data path at slave
I (6332) H_SDIO_DRV: Starting SDIO process rx task
I (6352) H_SDIO_DRV: Received ESP_PRIV_IF type message
I (6352) transport: Received INIT event from ESP32 peripheral
I (6352) transport: EVENT: 12
I (6352) transport: Identified slave [esp32c6]
I (6362) transport: SDIO mode: slave: streaming, host: streaming
I (6362) transport: EVENT: 11
I (6372) transport: capabilities: 0xd
I (6372) transport: Features supported are:
I (6372) transport: * WLAN
I (6382) transport: - HCI over SDIO
I (6382) transport: - BLE only
I (6382) transport: EVENT: 13
I (6392) transport: ESP board type is : 13

I (6392) transport: Base transport is set-up, TRANSPORT_TX_ACTIVE
I (6402) H_API: Transport active
I (6402) transport: Slave chip Id[12]
I (6402) transport: raw_tp_dir[-], flow_ctrl: low[60] high[80]
I (6412) transport: transport_delayed_init
I (6412) esp_cli: Registering command: crash
I (6422) esp_cli: Registering command: reboot
I (6422) esp_cli: Registering command: mem-dump
I (6422) esp_cli: Registering command: task-dump
I (6432) esp_cli: Registering command: cpu-dump
I (6432) esp_cli: Registering command: heap-trace
I (6442) esp_cli: Registering command: sock-dump
I (6442) esp_cli: Registering command: host-power-save
I (6452) hci_stub_drv: Host BT Support: Disabled
I (6452) H_SDIO_DRV: Received INIT event
I (6452) H_SDIO_DRV: Event type: 0x22
I (6462) H_SDIO_DRV: Write thread started
I (7232) RPC_WRAP: Coprocessor Boot-up
I (7492) connect: Connecting to Ellen 2.4...
I (7502) RPC_WRAP: ESP Event: wifi station started
I (7532) H_API: esp_wifi_remote_connect
I (7562) connect: Waiting for IP(s)
I (8682) RPC_WRAP: ESP Event: Station mode: Connected
I (8682) esp_wifi_remote: esp_wifi_internal_reg_rxcb: sta: 0x480b3732
--- 0x480b3732: wifi_sta_receive at C:/esp/v5.5.3/esp-idf/components/esp_wifi/src/wifi_netif.c:38
I (10202) esp_netif_handlers: netif_sta ip: 192.168.50.151, mask: 255.255.255.0, gw: 192.168.50.1
I (10202) connect: Got IPv4 event: Interface "netif_sta" address: 192.168.50.151
I (15202) Auto: Time is not set yet. Connecting to WiFi and getting time over NTP.
I (15202) Auto: Initializing and starting SNTP
I (15202) Auto: Configured IPV4 Multicast address 232.10.11.12
I (15202) Auto: Returned from app_main()
I (18202) Auto: Waiting for system time to be set... (1/30)
I (19972) Auto: The current date/time in The Philippines is: Wed Apr 22 03:35:23 2026
Attachments
1000011280.jpg
1000011280.jpg (3.85 MiB) Viewed 403 times
1000011282.jpg
1000011282.jpg (1.95 MiB) Viewed 403 times

Sawadee2
Posts: 1
Joined: Fri May 15, 2026 7:42 pm

Re: Anyone had any luck with the JC8012P4A1C_I_W_Y esp32 P4 module?

Postby Sawadee2 » Fri May 15, 2026 7:53 pm

I have it working as a weather data display with graphs for my Davis Weather Station Data. But take no credit as it is all my buddy Claude…. Big issue is that we can’t get the sd card functions working. This is due to the gpio series uses by the sd/tf process are. also used by the WiFi. My understanding is that the ESP-IDF needs updating. Anyone working on this? Thanks

Who is online

Users browsing this forum: ChatGPT-User, MicroController and 13 guests