Open olliec28 opened 1 year ago
It looks like NOTHING is being printed by the ESP32 itself (there should be generic printed sentences after:
--- idf_monitor on /dev/cu.usbserial-0001 1552000 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
As such, my best guess would be that you have not set the baud rate correctly in your settings. From what I can tell, this is not a problem with the ESP32-CSI-Tool, it is just a configuration problem. Once you can figure out a way to make the ESP32 print anything, you should be good-to-go.
There should be some amount of data printed whether or not the AP or STA project is flashed. Data should also be printed if it is only one ESP32 powered on. Please confirm your configuration and confirm that the ESP32 hello_world works with that configuration too.
I have successfully flashed the programme onto my esp32 as seen from the log below. However, at the end I am expecting to see csi data at the end of this as it says on your tutorial "this will flash the ESP32 and once completed, will print incoming data from the freshly programmed ESP32's serial port. But nothing happens at the end of this. I am not sure if this is because I am only using one esp32 so far in the active_sta sub directory?
Olivers-MacBook-Pro:active_sta olivercustance$ idf.py flash monitor Executing action: flash Serial port /dev/cu.usbserial-0001 Connecting.............. Detecting chip type... Unsupported detection protocol, switching and trying again... Connecting...... Detecting chip type... ESP32 Running ninja in directory /Users/olivercustance/esp32-csi-tool/active_sta/build Executing "ninja flash"... [1/4] Performing build step for 'bootloader' ninja: no work to do. [3/4] cd /Users/olivercustance/esp/esp-idf/components/esptool_py && /usr/local/Cellar/cmake/3.25.1/b...l/active_sta/build" -P /Users/olivercustance/esp/esp-idf/components/esptool_py/run_serial_tool.cmake esptool.py esp32 -p /dev/cu.usbserial-0001 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 active-sta.bin esptool.py v3.3.2-dev Serial port /dev/cu.usbserial-0001 Connecting.... Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 0c:b8:15:cd:af:50 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00010000 to 0x000eafff... Compressed 3072 bytes to 103... Writing at 0x00008000... (100 %) Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 235.8 kbit/s)... Hash of data verified. Compressed 26224 bytes to 16164... Writing at 0x00001000... (100 %) Wrote 26224 bytes (16164 compressed) at 0x00001000 in 0.8 seconds (effective 255.4 kbit/s)... Hash of data verified. Compressed 893040 bytes to 522364... Writing at 0x00010000... (3 %) Writing at 0x0001c7f0... (6 %) Writing at 0x00025ae6... (9 %) Writing at 0x000396c2... (12 %) Writing at 0x0003fc37... (15 %) Writing at 0x00045a99... (18 %) Writing at 0x0004b203... (21 %) Writing at 0x00050aac... (25 %) Writing at 0x000560c8... (28 %) Writing at 0x0005b927... (31 %) Writing at 0x0006127b... (34 %) Writing at 0x00066a36... (37 %) Writing at 0x0006c0e9... (40 %) Writing at 0x00071389... (43 %) Writing at 0x000766aa... (46 %) Writing at 0x0007ba53... (50 %) Writing at 0x000810a9... (53 %) Writing at 0x000869f1... (56 %) Writing at 0x0008c688... (59 %) Writing at 0x0009222f... (62 %) Writing at 0x00097b44... (65 %) Writing at 0x0009e30c... (68 %) Writing at 0x000a546c... (71 %) Writing at 0x000ad9fe... (75 %) Writing at 0x000b4d8b... (78 %) Writing at 0x000bb7bb... (81 %) Writing at 0x000c2d7d... (84 %) Writing at 0x000ca8f0... (87 %) Writing at 0x000d31e8... (90 %) Writing at 0x000da2df... (93 %) Writing at 0x000dfb97... (96 %) Writing at 0x000e52ff... (100 %) Wrote 893040 bytes (522364 compressed) at 0x00010000 in 13.5 seconds (effective 529.3 kbit/s)... Hash of data verified.
Leaving... Hard resetting via RTS pin... Executing action: monitor Serial port /dev/cu.usbserial-0001 Connecting.... Detecting chip type... Unsupported detection protocol, switching and trying again... Connecting.... Detecting chip type... ESP32 Running idf_monitor in directory /Users/olivercustance/esp32-csi-tool/active_sta Executing "/Users/olivercustance/.espressif/python_env/idf4.3_py3.8_env/bin/python /Users/olivercustance/esp/esp-idf/tools/idf_monitor.py -p /dev/cu.usbserial-0001 -b 1552000 --toolchain-prefix xtensa-esp32-elf- /Users/olivercustance/esp32-csi-tool/active_sta/build/active-sta.elf -m '/Users/olivercustance/.espressif/python_env/idf4.3_py3.8_env/bin/python' '/Users/olivercustance/esp/esp-idf/tools/idf.py'"... /Users/olivercustance/esp/esp-idf/tools/idf_monitor.py:518: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if StrictVersion(serial.VERSION) < StrictVersion('3.3.0'): --- idf_monitor on /dev/cu.usbserial-0001 1552000 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---