I am using an MPC5748g devkit.
I am debugging the program using debug ram and debug flash, but i get different results, meaning that i reach the desired functionality when i build and debug my code in debug ram, and when i try to build it and debug it in flash mode
it does not work the same.
I don't get any errors or warnings when building, its just the functionality and performance.
Can anyone help?
it is expected that the performance will be different. The flash memory is not so fast, some wait states are necessary at high system frequency:
RAM memory can be accessed in single cycle. If you enable cache memory, this difference can be eliminated up to some level.
A functionality of what? If you don't have troubles with performance or if your application is not highly dependent on timing, the functionality (of something) should be the same regardless of used memory.
Thank you so much for your answer, i am implementing a flexray-adapter,therefore it is really time dependant.
The thing is when i am using the flash, i am missing some flexray cycles, which doesnt happen, or happens alot fewer when using the RAM.