Hello,
Can somebody help me with this. Before I powered down the system I downloaded the elf file and after I powered up the system again the system doesn't respond at all.
Basically, it looks like the elf file is not saved in internal flash memory.
This thing started recently.
I am using CodeWarrior Development Studio 5.9.0 and MPC5646C microcontroller
I woyld appriciate any help !
Thanks,
Solved! Go to Solution.
Hello Jun,
The problem is solved.
The second core vector table was not right.
Thanks,
i wonder if the code was successful downlaod to the right flash address in the first time. after you download the code, don't lose connection, check flash memory address. can you see the code in the expeted flash memory range?
Hello Jun,
Yes the code was downloaded successfully. When the code (elf file) is downloaded the
program runs normally. I checked the flash memory addresses and everything is
there as it should be. The only problem is when the system is turned off and on
again the program is not running. I tested it when the elf file is downloaded
by outputting some characters on UART, and turning a diode on. However, when
the system is powered down on powered up again the program outputs nothing and
the diode is off.
I am wondering if there is some issue with debugger that comes with
CodeWarrior software. Should I reinstall the CodeWarrior?
Here is one more detail. The previous program that was developed with the
same software for the same target runs normally when the system is powered down
and powered up again. There is no significant difference between those two projects.
Do you have idea what might be the issue here?
Thanks,
Hello Jun,
The problem is solved.
The second core vector table was not right.
Thanks,
you are welcome!