Problem in running Code on RAM

2 views (last 30 days)
Mohammad-Ameen Al-Jarrah
Mohammad-Ameen Al-Jarrah on 19 May 2014
We have MPC555 processors, we need to download the code and test our system onto the RAM, and whenever it is ok we have to switch to download code onto Flash. First I have erased the flash from previous code, by using CodeWarrior, by doing their steps for that:
.
After that I have download the bootcode using BDM, and I have successfully downloaded it.
I test downloading Code on RAM with development board and without using it (using our system), I use here the ( led blinking ) example, and it successfully run after downloading .
My Major Problem that the same Code when download it on the Flash then it worked fine, but when download it on RAM then it didn’t work. These samples of my tries:
.
1) Try code to test serial ports, as shown below :
.
On FLASH == it work fine.
On RAM == it work fine.
BUT when I download my System Code which it include from TPU3, serial , can bus and processing, this Code it didn't work on RAM , on the other hand it worked on FLASH .
.
2) Try Code that use TPU3, as following:
.
This Code it didn’t work on RAM , on the other hand it worked on FLASH .
  • How can I use same application on RAM as all functionalities worked in the Flash?
  • How to use all resources of MPC555 while downloading Code on RAM?
I hear that the interrupt and exception table is already located at internal Flash, but it didn’t at RAM!! How to fix this problem?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!