va416xx-rs/bootloader
Robin Mueller 0552f08402
Some checks failed
Rust/va416xx-rs/pipeline/pr-main There was a failure building this commit
tet 2
2024-09-12 18:59:43 +02:00
..
src Bootloader and Flashloader App 2024-09-12 12:40:34 +02:00
Cargo.toml compile fixes 2024-09-12 15:41:09 +02:00
README.md tet 2 2024-09-12 18:59:43 +02:00

VA416xx Bootloader Application

This is the Rust version of the bootloader supplied by Vorago.

The bootloader uses the following memory map:

<0x0> Bootloader start <code up to 0x3FFE bytes>
<0x3FFE> Bootloader CRC
-------- ------------------ ----------------
<0x4000> App image A start <code up to 0x1DFFC (~120K) bytes>
-------- ------------------ ----------------
<0x21FFC> App image A CRC check length
-------- ------------------ ----------------
<0x21FFE> App image A CRC check value
-------- ------------------ ----------------
<0x22000> App image B start <code up to 0x1DFFC (~120K) bytes>
-------- ------------------ ----------------
<0x3FFFC> App image B CRC check length
-------- ------------------ ----------------
<0x3FFFE> App image B CRC check value
-------- ------------------ ----------------
<0x40000> End of NVM
-------- ------------------ ----------------

As opposed to the Vorago example code, this bootloader assumes a 40 MHz external clock but does not scale that clock up.