GenBoard/Firmware/Upload (2005-04-22 08:21:59)

After you have compiled your firmware (you read GenBoard/Firmware/BuildFirmwareFAQ )

Uploading the firmware is really easy.

You can construct a device for 1 Euro in about 5 minutes from a DB25 male connector if you have a PC with parallel port.

Don't forget to save old configuration and tables with mcd and mct commands before upgrading the firmware!

The human-readable ascii output of these commands can be grabbed from the serial interface. Name them etc/config.txt and etc/tables.txt.

After the new code is in place, restore the config:

make mtt

and dump the etc/tables.mtt, etc/config.mtt files to the board with a TerminalProgram. See GenBoard/InitialConfig for initial configuration.


[[Manual: Detailed.Central.Firmware.Install]]


This is great news. For motorola you need a $65 ($49 programmer + $16 adapter for processor) equipment (theoretically you can build a whole GenBoard for that!), or send your board to some of the kind people who can program it for you (and you need to mess with a socket).

http://www.futurlec.com/MotorolaProg.shtml


[[Manual: Detailed.Central.Firmware.Install]]


asking for help regarding boot/main.c upload

I usually upload bootloader via avrdude (see bin/mintest.sh). However I'm not satisfied:

We'd need a small script that puts these into the boot/main.hex. Either perl or gcc could be used to achieve this.

Script added to cvs and the bootloader is patched slightly. 12 bytes are now available that can be read through the menu interface.


If you choose to diverge from what most of us use, or over-curious here are some links: