SAMV71 position independent code

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0



I am developing a custom bootloader for the atsamv71-xult board.

The bootloader runs at the first position of the FLASH memory (0x00400000).

When the bootloader jumps to the user application (position 0x0040C000), apparently, the interrupts of the user application are never called.

I could debug the user application and it seems to run fine, but I don't see why the interrupts are never called.


The user application is linked with flags -pie -fPIE.

Do you have any hint on why is this happening?