breakintoprogram / agon-vdp

Official AGON QUARK Firmware: ESP32 VDP
MIT License
76 stars 27 forks source link

some updater improvements #126

Closed stevesims closed 1 year ago

stevesims commented 1 year ago

Apologies @breakintoprogram - I had spotted a couple of minor issues with the updater code that I had been discussing with @astralaster but neglected to put a note against his PR on your repo.

The changes here are as follows:

shifts the updater command to sit under VDU 23,0,&A1. commands under VDU 23,0 are intended to program the VDP hardware, so this is a better fit for these commands

improved handling of failure cases within the updater code. failures to initiate the OTA system, or write OTA data should now discard serial data correctly and abort the update process

astralaster commented 1 year ago

Just a note for completion: If we change the VDU command we also need to adjust the flash tool.