crockedile 02/10/2025 08:08 PMA this point, when I try to run "jag flash" or "jag monitor" the powershell window is defaulting to flashing and monitoring on COM1 .
ESP32 is plugged into COM5. When I do "jag flash --port "COM5" I get the following:
Flashing device over serial on port 'COM5' ...
esptool.py v4.8.1
Serial port COM5
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: cc:7b:5c:35:8c:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Flash will be erased from 0x00010000 to 0x00184fff...
SHA digest in image updated
Compressed 16544 bytes to 11349...
Wrote 16544 bytes (11349 compressed) at 0x00001000 in 0.3 seconds (effective 400.8 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 171...
Wrote 4096 bytes (171 compressed) at 0x00008000 in 0.0 seconds (effective 1302.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.1 seconds (effective 1050.1 kbit/s)...
Hash of data verified.
Compressed 1523952 bytes to 957355...
Wrote 1523952 bytes (957355 compressed) at 0x00010000 in 13.0 seconds (effective 935.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Further scanning or monitoring still defaults to COM1 port unless I specify. When I do, I get the error:
Error: unexpected EOF