I wrote a PIT channel 0 interrupt routine isr_pit_ch0 , it works well using flash building mode, but when i using ram building mode,it didn't work, how can i make it work well on ram building mode? i am using MPC5604P chip.
It looks like an issue in your linker file.
Which compiler are you using?
Thanks for your help, I'm using CodeWarrior 10.5 compiler, and the attachment has all my project source files. The three functions related to this is static void PIT0_isr(void) , static void PIT0_init(void), and static void Interrupts_init(void) ，you can find in main.c file.
open Prefix folder in your project and open MPC5604P_RAM_VLE.prefix
Add #defineCALL_USR_INIT 1 macro to this file and save it. Please see figure below.
Recompile you project once again. Now it will work correct.
Retrieving data ...