Previously the new line characters were expected to be
part of the feed request message. This is not so on
ESP32 based Arduino library implementation. The new
line characters arrive later on separately after a small
pause This code change fixes 'corrupted feed request'
warning messages on such Arduino platforms.
When the serial device name is not passed with paramerer -d
then the PC app will try to find an existing serial device.
* On Windows: selects the COM device with the highest number.
* On Linux: selects the serial usb device in any order, but
priority is given to devices with Arduino name.
* ON MAC OS: selects the last /dev/tty.* or /dev/tty/wchusb*
device in the order that OS lists them.
This serial port detection should work OK if you have only one
Arduino attached. If you have (and need to have) several
Arduinos or serial ports connected at the same time then pass
the '-d' parameter to specify which one to use.
The proress bar cusros hiding/revealing sequence was not
compatible with some Windows versions / shells.
This fix removes the escaped sequences and ensures the progress
bar is fully printed at the end of each iteration, which prevents
the visual artefacts caused by the jumping cursor.
Fixed: Command 'B9' (Calibration Offset = 0,25V) doesn't work
Note: Also requires elimination of a bug in the PC program afterburner.ino
Added: Sending B4, if b /wo -co is executed
The PD feature is now selectively enabled or disabled based
on the JED contents. Also, when fuses are read the printout
of the JED file reflects the PD fuse bit state. So, when
the PD fuse bit is enabled then the JED file contains an extra
fuse bit set to 1. The ATF22V10C now behaves the same way regarding
the PD fuse bit (previously Afterburner always disabled the PD
function).
credits: GALmate software
This change seems to fix a weird issue where some of the lines were split
in two lines. This could be reproduced when using 'i' command with ATF22V10C
or ATF16V8B repeatedly.