ESP32-S2, platformio, esp-prog timeout při ladění

Ladislav Vaiz spam na nagano.cz
Úterý Březen 15 09:08:45 CET 2022


Ahoj,

snažím se v plaformio ladit ESP32-S2 pomocí debug_tool=esp-prog. Někdy 
ladění naběhne dobře (spodní blok), často ale dojde k nějakému problému 
(horní blok). Pokud je problém, tak je vždy v tomto bodě. Když zkusím 
znovu ladit (Shift-F5, F5), tak to někdy projde, někdy ne.

Je to moje první zkušenost s JTAGem, tak mi možná uniká něco základního. 
Netušíte někdo, co s tím nebo jak zjistit detaily o tom, co je špatně?


Díky L.


Temporary breakpoint 1 at 0x40083201: file src/Main.cpp, line 132.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak setup`
PlatformIO: More configuration options -> https://bit.ly/pio-debug
...čekání...
Info : esp32s2: Debug controller was reset.
Info : esp32s2: Core was reset.
esp32s2: Debug controller was reset.
esp32s2: Core was reset.
...čekání...
Info : esp32s2: Debug controller was reset.
Info : esp32s2: Core was reset.
esp32s2: Debug controller was reset.
esp32s2: Core was reset.



Temporary breakpoint 1 at 0x40083201: file src/Main.cpp, line 132.
PlatformIO: Initialization completed
PlatformIO: Resume the execution to `debug_init_break = tbreak setup`
PlatformIO: More configuration options -> https://bit.ly/pio-debug
...okamžitě...
Note: automatically using hardware breakpoints for read-only addresses.
Info : esp32s2: Target halted, PC=0x40083201, debug_reason=00000001
esp32s2: Target halted, PC=0x40083201, debug_reason=00000001
[New Thread 1073346972]
[New Thread 1073347328]
[New Thread 1073345116]
[New Thread 1073345576]
[Switching to Thread 1073550252]

Thread 1 hit Temporary breakpoint 1, setup () at src/Main.cpp:132
132        delay(2000);





Další informace o konferenci Hw-list