Flashing esp-idf project : no output on monitor
I have made a project for the wrover esp32 board, and would like to port it to the pycom gpy(I have the extension board v3.1) . I read that to be able to do that, i just had to make a connection between p2 and gnd, so that's what i did. I am trying with the hello-word example from the esp-idf directory. The program seems to be flashed, but then the monitor starts and there is no output at all. I set the baudrate to 115200. Could you help me ?
~/esp/esp-idf/examples/get-started/hello_world$ make flash monitor Toolchain path: /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: esp-2019r2 Compiler version: 8.2.0 Python requirements from /home/user/esp/esp-idf/requirements.txt are satisfied. App "hello-world" version: v4.0.1-dirty Flashing binaries to serial port /dev/ttyACM0 (app at offset 0x10000)... esptool.py v2.8 Serial port /dev/ttyACM0 Connecting..... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 80:7d:3a:94:7a:cc Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 8MB Compressed 26000 bytes to 15512... Wrote 26000 bytes (15512 compressed) at 0x00001000 in 1.4 seconds (effective 151.7 kbit/s)... Hash of data verified. Compressed 150880 bytes to 77721... Wrote 150880 bytes (77721 compressed) at 0x00010000 in 6.9 seconds (effective 175.6 kbit/s)... Hash of data verified. Compressed 3072 bytes to 104... Wrote 3072 bytes (104 compressed) at 0x00008000 in 0.0 seconds (effective 1294.4 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... MONITOR --- idf_monitor on /dev/ttyACM0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
My bad, apparently I messed up the flashing process: in order to flash an esp-idf project, one must make flash with the strap, then remove the strap, push reset next to the led, then make monitor, and a keystroke to make it appear on the screen.