ChaCo, the Chameleon Control Software
7.7. chacocmd
chacocmd
is a small command-line tool with essentially the same functionality as ChaCo,
intended for use by developers in makefiles and scripts.
chacocmd
recognizes these command-line options:
-h --help
Show all options
--verbose
enable verbose messages
--debug
enable debug messages
--noprogress
disable the progress indicator
--info
show flash info
--status
show core status
--addr <num>
set start address
--len <num>
set length
--dumpmem
show memory dump
--readmem <name>
read RAM to file
--writemem <name>
write file to RAM
--dumpflash
show flash dump
--readslot <slot> <name>
read slot image to file
--readimage <name>
read full image to file
--flashrbf <slot> <corename> <romname>
flash .rbf/.rom
--flashslot <slot> <name>
flash slot image
--flashimage <name>
flash full image
--eraseslot <slot>
Erase slot
--start <slot>
start core
--jtagslot <slot>
set JTAG slot
--bootloader
start microcontroller bootloader
7.7.1. examples
Flash Chameleon core with menu rom to slot 0 and then start it:
$ chacocmd --flashrbf 0 chameleon_6g.rbf rom-menu.bin --start 0
write test.bin to address 0x1000 in c64 memory:
$ chacocmd --addr 0x1000 --writemem test.bin
55