Skip to content

Sylnar v1.1.32

Choose a tag to compare

@github-actions github-actions released this 18 Oct 20:04
1d9f4f3

Fixed

  • Flash could skip the erase and go straight to writing. On some runs the erase
    ended the instant it started, and only a few restarts got a real one. The flash
    programmer asks the chip whether it is still busy and treats the first "not busy"
    answer as the end of the erase, so a single misread answer ends an erase that
    never happened. That answer travels over the USB-JTAG link, which was running at
    15 MHz on an adapter chip whose timing is known to be unreliable at high clock
    rates. That is the most likely cause, so SPI flashing now runs the link at
    3.75 MHz. Flashing takes a little longer. If an erase still ends too early, the
    new flash record below shows it.
  • Closing Sylnar during a flash left the programmer running, unseen. It kept
    erasing and writing in the background, and a flash started from a new window
    then shared the USB-JTAG link with it, which spoils both. Closing during a flash
    now asks first: keep flashing, or stop the flash and close, which leaves the
    board needing a new flash. A programmer still running from an earlier window is
    stopped before a new flash starts.

Changed

  • Every SPI flash now leaves a complete record. Sylnar used to keep only its
    own short summary of a flash and throw away everything the programmer printed,
    so when an erase went wrong there was nothing to look at afterwards. Each flash
    now writes a timestamped record to %LOCALAPPDATA%\Sylnar\flash\, and the log
    names the file at the start of the flash. The newest 20 are kept. The record is
    written as it happens, so it survives closing the window part-way through.
  • The log now says how the erase went: whether the chip was erased sector by
    sector or as a whole, how long it took, and how long after the flash chip was
    detected the writing began.
  • A too-fast erase is flagged. If the erase finishes faster than a real flash
    erase can, Sylnar warns that the flash may not have been erased before writing.

The firmware written and the steps used to write it are unchanged; the link to the
board runs slower.