I am using the MK10DX256. I am trying to move my application to address 0x2000 so that the bootloader will reside in 0x0000 - 0x1FFF.
When I attempt to debug my application it immediately faults.
Here is my memory setup:
In my main() I set SCB->VTOR = to 0x2000. It does not appear my code is ever reaching the main() function.
If I move my application back to address 0x0000 I have no issues and it runs normally. Any assistance would be greatly appreciated.
Solved! Go to Solution.
Hi pbaierlac,
Please refer to the discussion in How to debug bootloader and application codes together in MCUXpresso
Hope it helps.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi pbaierlac,
Please refer to the discussion in How to debug bootloader and application codes together in MCUXpresso
Hope it helps.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
How do I use IAR to put the rbf file in the stated address of flash?
Thank for the help! This did correct my issue. It would be nice to just debug the application regardless of location like we could in code warrior.