20 ‐ Address mapping - losehu/uv-k5-bootloader-custom GitHub Wiki

CPU boots from Flash

Flash size 64Kb and is internal the CPU and contains ...

  • Bootloader- first 4Kb
  • Firmware - max. size 60Kb.

Eeprom (external) Original (64Kb)

Eeprom-map of UVK5

Eeprom (external) Multiboot (2x2Mb)

Description from this file EEPROM allocation instructions

  • 0x000000 256KB 256KB Reserved
  • 0x400000 260KB 4KB Firmware information
    • 0X40000 Firmware quantity 0~64 1B
    • 0X40001 Boot mode 0 Firmware 1 Switch 2 Flash 1B
    • 0X40008~0X4000F Boot name, for example: L_BL001
    • Each firmware information requires 32B to store
      • Starting from 0x40020, each 32B is a firmware information
        • The first 13 bytes are the firmware name, 13 ASCII characters, excluding the end character.
        • The last 16B are the firmware start address (4B) and end address (4B). The address needs to meet 4B alignment (multiples of 4), and the remaining 8B is idle.
  • 0x410000 260KB 11.75KB Bootloader (L_BL001.bin)
  • 0x44000~0x80000 240KB stores firmware 4B alignment