Code: Select all
'''
2021_production_program.ps1
'''
esptool.py --chip esp32 --port COM13 erase_flash
esptool.py --chip esp32 --port COM13 --baud 921600 write_flash -z --flash_mode dio --flash_freq 40m 0x1000 firmware.bin
rshell -p com13 --buffer-size 512 "cp boot.py /pyboard; cp main.py /pyboard; cp dash.html.gz /pyboard; cp 2021.svg.gz /pyboard"
Can rshell copy gzip files ???
Code: Select all
Compressed 1888432 bytes to 1178231...
Wrote 1888432 bytes (1178231 compressed) at 0x00001000 in 16.4 seconds (effective 918.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Using buffer-size of 512
Connecting to com13 (buffer-size 512)...
Trying to connect to REPL . connected
Retrieving sysname ... esp32
Testing if ubinascii.unhexlify exists ... Y
Retrieving root directories ... /boot.py/
Setting time ... Apr 18, 2022 16:37:33
Evaluating board_name ... pyboard
Retrieving time epoch ... Jan 01, 2000
Copying 'C:\Users\rlsap\OneDrive - GraphicComponents\1-SmartLOG Code\2021-Flash/boot.py' to '/pyboard/boot.py' ...
Copying 'C:\Users\rlsap\OneDrive - GraphicComponents\1-SmartLOG Code\2021-Flash/main.py' to '/pyboard/main.py' ...
b'\r\nin boot.py\r\n\r\npower latched...\r\ntft backlight set...\r\nassertion "atomic_load(&lock->dev[i]) == (intptr_t)NULL" failed: file "/mnt/c/SmartLOG/FW/Build/esp-idf/components/driver/spi_bus_lock.c", line 560, function: spi_bus_deinit_lock\r\n\r\nabort() was called at PC 0x401eebe0 on core 0\r\n\r\nBacktrace:0x40094b81:0x3ffd1460 0x40095169:0x3ffd1480 0x40098df9:0x3ffd14a0 0x401eebe0:0x3ffd1510 0x40192222:0x3ffd1540 0x40191a78:0x3ffd1560 0x400d82e2:0x3ffd1580 0x400d849d:0x3ffd15b0 0x400d86f6:0x3ffd1660 0x400e130d:0x3ffd16c0 0x400e3629:0x3ffd16e0 0x400e5e6e:0x3ffd1700 0x400dd09c:0x3ffd17a0 0x400e3629:0x3ffd17d0 0x400e3652:0x3ffd17f0 0x400ef4a3:0x
No need for Repl.
Any and all methods welcome !!!!