Users Manual

8. IDF Monitor
8. IDF Monitor
To check if "hello_world" is indeed running, type idf.py󰲧-p󰲧PORT monitor (Do not forget to
replace PORT with your serial port name).
This command launches the monitor application:
$󰲧idf.py󰲧-p󰲧/dev/ttyUSB0󰲧monitor
Running󰲧idf_monitor󰲧in󰲧directory󰲧[...]/esp/hello_world/build
Executing󰲧"python󰲧[...]/esp-idf/tools/idf_monitor.py󰲧-b󰲧115200󰲧[...]/esp/hello_world/build/
hello-world.elf"...
---󰲧idf_monitor󰲧on󰲧/dev/ttyUSB0󰲧115200󰲧---
---󰲧Quit:󰲧Ctrl+]󰲧|󰲧Menu:󰲧Ctrl+T󰲧|󰲧Help:󰲧Ctrl+T󰲧followed󰲧by󰲧Ctrl+H󰲧---
ets󰲧Jun󰲧󰲧8󰲧2016󰲧00:22:57
rst:0x1󰲧(POWERON_RESET),boot:0x13󰲧(SPI_FAST_FLASH_BOOT)
ets󰲧Jun󰲧󰲧8󰲧2016󰲧00:22:57
...
After startup and diagnostic logs scroll up, you should see "Hello world!" printed out by the
application.
...
Hello󰲧world!
Restarting󰲧in󰲧10󰲧seconds...
I󰲧(211)󰲧cpu_start:󰲧Starting󰲧scheduler󰲧on󰲧APP󰲧CPU.
Restarting󰲧in󰲧9󰲧seconds...
Restarting󰲧in󰲧8󰲧seconds...
Restarting󰲧in󰲧7󰲧seconds...
To exit IDF monitor use the shortcut Ctrl+].
If IDF monitor fails shortly after the upload, or, if instead of the messages above, you see
random garbage similar to what is given below, your board is likely using a 26MHz crystal.
Most development board designs use 40MHz, so ESP-IDF uses this frequency as a default
value.
Espressif Systems
/ 20 22
Sep. 2020