Matt Harlum b14297ef66 cflash: fix control register
Pointer was not marked volatile, causing the bonus ram check to be optimized away
2023-05-16 02:13:16 +00:00
..
2023-02-02 20:26:15 +00:00
2023-04-16 17:04:38 +00:00
2023-04-16 17:04:38 +00:00
2023-02-19 20:59:33 +00:00
2023-02-02 20:26:15 +00:00
2023-04-18 20:47:21 +00:00
2023-04-18 20:47:21 +00:00
2023-04-18 20:47:21 +00:00
2023-04-18 20:47:21 +00:00
2023-02-02 20:26:15 +00:00
2023-05-16 02:13:16 +00:00
2023-04-18 20:47:21 +00:00
2023-04-23 19:11:23 +00:00

CFLASH

A tool to program the Kickstart and IDE Flash of the CIDER board. This tool allows you to program the Kick and IDE flash in-system even while it is currently in use

Usage examples

Copying current kickstart and extended rom to flash

cflash -C -c

Flashing IDE ROM

cflash -I cider-ide.rom

Flashing a kickstart file to the second slot

cflash -s 1 -k kick13.rom

Command-line options

Usage: cflash [-iEvV] [-e k|x] [-c|-k <kickstart rom>] [-C|-x <extended rom>] [-I <ide rom>] -s [0|1]
       -c                  -  Copy ROM to Flash.
       -C                  -  Copy Extended ROM to Flash.
       -k <kickstart file> -  Kickstart to Flash or verify.
       -x <ext rom file>   -  Extended ROM to Flash or verify.
       -i                  -  Print Flash device id.
       -I <ide rom>        -  Flash IDE ROM.
       -e [k|x]            -  Erase [k]ickstart or e[x]t rom bank.
       -E                  -  Erase chip.
       -v                  -  Verify bank against file or ROM
       -V                  -  Skip verification after programming.
       -s [0|1]            -  Select kickstart slot to work on.

License

License: GPL v2

cflash is licensed under the GPL-2.0 only license