Skip to content

ESP32 samples are stuck at "EPD_12in48_M1_ReadBusy ..." #3

@marcelstoer

Description

@marcelstoer
18:20:08.895 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
18:20:08.895 -> configsip: 0, SPIWP:0xee
18:20:08.895 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:20:08.895 -> mode:DIO, clock div:1
18:20:08.895 -> load:0x3fff0018,len:4
18:20:08.895 -> load:0x3fff001c,len:1216
18:20:08.895 -> ho 0 tail 12 room 4
18:20:08.895 -> load:0x40078000,len:9720
18:20:08.895 -> ho 0 tail 12 room 4
18:20:08.895 -> load:0x40080400,len:6352
18:20:08.895 -> entry 0x400806b8
18:20:11.422 -> M1 Busying
18:20:11.422 -> M1 Busy free
18:20:11.951 -> EPD_12in48_Clear start ...
18:20:13.070 -> over ...
18:20:13.354 -> M1 Busying
18:20:13.354 -> M1 Busy free
18:20:13.572 -> EPD_12in48_M1_ReadBusy ...

The WiFi example behaves like that as well.

18:26:44.866 -> WiFi connected
18:26:44.866 -> Server started, ip: 192.168.1.216
18:26:44.866 -> HTTP server started
18:26:44.866 -> 
18:26:44.866 -> Ok!
18:26:44.866 -> 
18:29:13.631 -> 12.48inch e-Paper
18:29:14.020 -> M1 Busying
18:29:14.020 -> M1 Busy free
18:29:14.530 -> EPD_12in48_Clear start ...
18:29:15.624 -> over ...
18:29:18.361 -> Web_EPD_LoadA
18:29:18.361 -> 30000
18:29:18.361 -> Btime = 0
18:29:18.361 -> 12.48inch e-Paper LoadA S2
18:29:18.613 -> Web_EPD_LoadA
18:29:18.613 -> 30000
18:29:18.613 -> Btime = 15000
18:29:18.826 -> Web_EPD_LoadA
18:29:18.826 -> 30000
18:29:18.826 -> Btime = 30000
18:29:18.859 -> 12.48inch e-Paper LoadA M2
18:29:19.068 -> Web_EPD_LoadA
18:29:19.068 -> 30000
18:29:19.068 -> Btime = 45000
18:29:19.278 -> Web_EPD_LoadA
18:29:19.278 -> 30000
18:29:19.278 -> Btime = 60000
18:29:19.523 -> Web_EPD_LoadA
18:29:19.523 -> 30000
18:29:19.523 -> Btime = 75000
18:29:19.557 -> 12.48inch e-Paper LoadA M1
18:29:19.731 -> Web_EPD_LoadA
18:29:19.731 -> 30000
18:29:19.731 -> Btime = 90000
18:29:19.975 -> Web_EPD_LoadA
18:29:19.975 -> 30000
18:29:19.975 -> Btime = 105000
18:29:20.185 -> Web_EPD_LoadA
18:29:20.185 -> 30000
18:29:20.185 -> Btime = 120000
18:29:20.185 -> 12.48inch e-Paper LoadA S1
18:29:20.431 -> Web_EPD_LoadA
18:29:20.431 -> 30000
18:29:20.431 -> Btime = 135000
18:29:20.613 -> Web_EPD_LoadA
18:29:20.613 -> 20784
18:29:20.613 -> Btime = 150000
18:29:20.717 -> Web_EPD_Show
18:29:20.717 -> 12.48inch e-Paper
18:29:20.997 -> M1 Busying
18:29:20.997 -> M1 Busy free
18:29:21.206 -> EPD_12in48_M1_ReadBusy ...

So, the do-while loop at https://github.com/waveshare/12.48inch-e-paper/blob/master/esp32/esp32-epd-12in48/src/utility/EPD_12in48.cpp#L419 never ends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions