I am using the MPC5645S. I am trying to build a Boot-loader. I can store a Firmware in the flash and I am able to jump to the application.
The main run correctly. However, I have a problem when a function is executed in the main. The debugger says that I try to access on an illegal memory.
Should I set the functions to a section to had a proper access?
To set a function to a section we should use the following instruction?
#pragma section ".app_flash"