Juan Antonio Medina Guerrero

MPC8313e-RDB Can´t boot from flash. CW 8.8 (5.9)

Discussion created by Juan Antonio Medina Guerrero on Apr 25, 2008
Latest reply on May 7, 2008 by Juan Antonio Medina Guerrero
   Hello,
       I have an MPC8313e-RDB board, USB-TAP along with CW 8.8. and have created a project following this steps:

New->EPPC New Proyect Wizard->Freescale PowerPC EABI Linker-> PowerPC 8313 - 8313RDB->Languages (C)->Codewarrior USB TAP

    I have connected the board to the pc, set SW3 to use USB-TAP, and ran debug version printing to console:

Welcome to CodeWarrior!
system call exception handler


    After having selected target ROM version and pressing MAKE button on CW. I use flash programer to set reset configuration word and the program:

Reset configuration word

000: 62 62 62 62  62 62 62 62  04 04 04 04  04 04 04 04
010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00
020: A4 A4 A4 A4  A4 A4 A4 A4  60 60 60 60  60 60 60 60
030: 6C 6C 6C 6C  6C 6C 6C 6C  00 00 00 00  00 00 00 00

RCWLR: 0x62040000
RCWHR: 0xA4606C00


Target Configuration: Processor 8313 - USB tap - target initialization (\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Support\Initialization_Files\PQ2\837xRDB_init.cfg) - RAM buffer 0x0 0x6000 - enable logging - Verify target memory writes

Flash configuration: address base 0xFF800000

Erase: All sectors->Erase (wait to "Erase Command Succeeded")->Blank check (wait to "Blank Check Completed Successfully")

Program: ROM.bin (offset 0xFFF00000), RCW.bin (offset 0xFF800000). Verify


       Then I run ROM Version Target on debug and I see PC:0xFFF00100. The program run successful.

Finally, I change the SCR jumper to boot from NOR flash. When the system restart, it access to flash in two block (RCW and program) but the console don't run.

Any advice or suggestion on what is wrong ?

Any will be welcome.

Thank's in advance.

Regards.



Outcomes