The ARM firmware is required to handle the boot process of the Replay board at startup. Updates may add features newer cores will need to run. So if a core does not work, check with the author (or on the according sub forum) what firmware version is required to use the specific core.
This new mechanism flashes ARM firmware directly from the SDCARD. It replaces the USB update method, which requires a Windows PC to update your Replay board. So it is the most convinient way and thus the preferred way.
This new flashing tool uses the so called “Replay App” (or short rApp) mechanism to temporarely run ARM binaries in its own RAM. This method uses the INI configuration as the cores do, so for an user an rApp looks the same as any other core – you just load a target INI
- You need an actual Replay Rev1.0b board with new firmware (from 2014 or newer)
- You need to download a new firmware flasher rApp setup from SVN (one quite actual is attached here: here.)
- Some cores may still require a specific one in this phase of ARM / core development, so check also the specific discussions on certain cores in this forum…
Upgrading the board via OSD
- Start the Replay board, you need a keyboard attached (and/or a serial debug setup – 115200/8/n/1)
- Enter the OSD to load a new target, select the file “rApp.ini” from the uploader directory
- Wait until the OSD shows you some numbers about your flash setup
- In case the flash checksum differs to the checksum on the sdcard, flashing is enabled (for now ONLY for the replay loader binary, the bootloader itself is yet BLOCKED in this test phase)
- Press “f” on the keyboard (or send a ‘f’ via the serial debug line) or “r” to reboot w/o flashing
- !!! WAIT until flashing is done !!!, you see some progress numbers (maybe I’ll add a nice progress bar in future…)
The OSD tells you when flashing is done.
- Press “r” to reboot the board
Optional – launch flasher direct at start up of the board
- You can take an empty sdcard
- Copy all uploader files in the root directory
- Rename the “rApp.ini” to “replay.ini”
- Insert the sdcard and start the board (assuming you have a loader version >= 15th of December 2013)
- If the OSD says a update is required, press the “f” button
Notes for this beta phase:
No, I won’t remove the ‘f’ keypress for now to have the chance to prevent flashing in case the check gives some strange numbers (e.g. the base address MUST be 0x00100000 for BOOT and 0x00102000 for LOADER, the length for BOOT must be smaller 0x2000 and for LOADER it must be smaller 0x40000).
I even suggest you write down (or photograph) the numbers you see for now before starting to flash and report them in case the board is not alive after upgrading.
As stated, for now the PC upgrade will work as fallback as the bootloader will not be harmed for now. So in a worst case (when the board does not start after this procedure) you can always use the USB flasher method here.
And in a worst-worst case the SAM-BA flashing is ALWAYS possible as described here.