This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
dears,
I have a customer who is using MSPM0G1107 for wireless microphone. They plan to run APP1 in the first 16k space of the flash and APP2 in the back space. The customer has two questions:
1. How to jump between two APPs while they are running?
2. Since APP2 does not start running FROM flash address 0, what modifications and settings need to be made to the compiler keil5 and APP2 codes? Can you provide these development materials or sample code?
Thanks a lot!
Hi Andrew,
1. How to jump between two APPs while they are running?
User can use PC pointer to call specific APPs, such as:(*(void(*)(void))(0x1000))(); //0x1000 is the address of another APP.
However, if user want to jump between two APPs, they should be careful with the variable initialization, and interrupt vector table if not the same.
2. Since APP2 does not start running FROM flash address 0, what modifications and settings need to be made to the compiler keil5 and APP2 codes? Can you provide these development materials or sample code?
I am afraid that there isn't development materials or the sample code currently.
Maybe I can offer a ccs project code example later and customer can take it as the reference, it might take some times.
B.R.
Sal
dear Sal,
thanks for the kindly advice. I will feedback to the customer.
Since APP2 does not start running FROM flash address 0, what modifications and settings need to be made to the compiler keil5 and APP2 codes? as it might take some times to develop a ccs project code example, would you please help to advice how the modifications and settings may be conducted by the cusotmer?
thanks a lot!
Hi Andrew,
Due to I am not make a code example currently, so I am not sure all the steps need considered.
At lease user should modified the .sct file for different APP flash assignment; modified the VTOR register for the different vector table; maybe there are some other step I missed.
B.R.
Sal