I have a custom board that I am implementing a bootloader and application for based on an Infineon PSoC4 MAX device (Cortex M0 core). The bootloader is located in FLASH starting at address 0x00, while the application is located starting at 0x5000. I have modified the linker scripts for both my bootloader and application to reflect this. However, after doing so, I am not able to debug using the MiniProg4 in the Eclipse IDE. I noticed for the application, my startup file has an error in the Reset_Handler (though the project still builds). I suspect this is why I can’t debug. Note the bootloader uses the same startup file, but does NOT flag this as an error.
The error is here:
It seems like an issue with the vector table. I haven’t done anything explicit with the vector table for the application; do I need to place it explicitly in the linker script for the application? I know by convention the vector table will be placed at 0x00 in FLASH; by restricting the application loacation to an address of 0x5000 or above is it unable to see the vector table?