I am currently working with Development board KT33908MB with KTMPC5643DB (mother board and daughter board). I am trying to create a base code to switch on the led's on the mother board , operating the controller in LSM and DPM mode. I used "CW for MPC55xx and MPC56xx 2.10" to generate a code for DPM and LSM separately. In the DPM project, i configured the ports and wrote a simple code to toggle the led.
I flashed my DPM project and could see the led toggling with both the cores running. But once I reset the board, the software doesn't run. Again I have to flash the project to see the same output.
What is the startup sequence that i need to follow to have a proper boot and software run on every power cycle (without the debugger)
Original Attachment has been moved to: DPM_mode.zip
Hi,
Upon power ON, and debugger connect, the reset script of the PE micro runs and i get the below window (pointer is at address 0x448), where the controller is detected in DPM mode and the selected macro has run. Now when i run the software, it says "No Information Loaded". Core 0 status shows as in debug mode and core 1 status is at reset.
If you do not mind, could you please tell me the step by step procedure you did to flash my program and test in your micro. I feel i am missing something while flashing the software.
Hello,
I can tell you my procedure, however I am using highly advance debugger from Lauterbach. When everything is programmed by me. (loading scripts)
So I have feeling this will have no value for you as you are using low cost PEMicro.
Core0 running and core1 in reset is correct behavior after reset.
Is your code running in standalone mode? (without debugger)
Peter
Ok, and what address do you see right after reset from debugger?
is it 0xFFFFxxxx - BAM area?
Because I am able to run your code here on my micro without issues. You should be on address 0x37C.
Is your micro in DPM mode?