PCAN Router Pro FD Memory Map: Resolving Flash Offsets

Jason IP2 min read
Other ManufacturerOther TopicTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Flash Memory Layout (STM32F7)

The PCAN Router Pro FD is built on an STM32F7 microcontroller. PEAK-System reserves the first flash sector block for its factory bootloader; user firmware must be linked and flashed above this region. The confirmed layout is:

Region Start Address End Address Size Use

Configure the linker/scatter file and the flash tool for a start address of 0x08008000 and a maximum image length of 0x001F8000. The sizes are internally consistent: 32 KB bootloader + 992 KB application = 1024 KB (1 MB) total flash. Programming below 0x08008000 erases the bootloader and removes the ability to flash the device over CAN.

SRAM and SDRAM Regions

The source gives the RAM regions as base addresses plus sizes; end addresses below are derived from those values:

Region Base Address Size Derived End Address

Note the source lists the SRAM range as "0x20000000 to 0x0007FFFF" and SDRAM as "0xC0000000 to 0x01FFFFFF" — these second values are offsets from the base, not absolute end addresses. Use base + size in the linker configuration to avoid an ambiguous memory definition.

Bootloader Update vs. Bootloader Restore

The bootloader package offered for download is not a raw flash image — it is an application that writes the bootloader. It can update an existing, intact bootloader but cannot restore one that has been erased.

PEAK-System does not provide bootloader source code or a standalone hex/bin image for direct STM32F7 programming via ST-Link as a standard download. If the bootloader region has been erased (for example by flashing at 0x08000000), the recovery path is:

  1. Contact PEAK-System support at [email protected] and state that the bootloader must be restored via SWD (ST-Link).
  2. Request a flashable hex/bin bootloader image from their development team — this is handled case-by-case, not via the public download.
  3. Flash the image at 0x08000000 via ST-Link, then verify the CAN update path works before loading the user application at 0x08008000.

FAQ

What flash start address should I use for PCAN Router Pro FD firmware?

Use 0x08008000 with a maximum image length of 0x001F8000 (992 KB). The range 0x08000000–0x08007FFF (32 KB) is reserved for the PEAK-System bootloader and must not be overwritten.

The download is an updater application that writes the bootloader, not the raw bootloader image itself, so it includes the programming logic. It only updates an existing bootloader and cannot restore a deleted one.

How do I restore an erased bootloader on the PCAN Router Pro FD?

PEAK-System does not publish bootloader source code or a standalone ST-Link image; contact [email protected] to obtain a flashable hex/bin file from their development team. Flash it at 0x08000000 via SWD, then load the user application at 0x08008000.

Back to blog