I'm using a TWR-MPC8309. I compiled the Hello World example for MQX using CodeWarrior for Power Architecture v8.8.4 with SP1 & SP2 installed to generate a binary image and I loaded it into flash using U-boot. I followed carefully the instructions included in the MQX Release Notes for MPC830x (which I attach hereby) in order to transfer the binary file to on-board memory with a TFTP Server. I followed the steps in Section 6.1.2 NOR Flash, since I have a TWR-MPC8309. Finally, I made the MQX application the auto-boot option writing:
set bootcmd run mqxboot
Now when I power up the board it runs the MQX application, but I can't stop autoboot. There is no bootdelay like there was before (30 seconds). I can't access the command line in U-boot and I've tried hitting any key in the keyboard, even pressing ctrl+c, esc and everything. Nothing works, it loops forever trying to run the MQX application, which doesn't work fine by the way, resetting the board over and over again.
Here is what the console shows:
U-Boot 2010.06 (Jul 07 2012 - 12:36:26) MPC83XXReset Status: Software Hard, External/Internal HardCPU: e300c3, MPC8309E, Rev: 1.1 at 400 MHz, CSB: 133.333 MHzBoard: Freescale MPC8309_twrI2C: readySPI: readyDRAM: 128 MiBFLASH: 32 MiBFirmware 'Microcode version 0.0.0 for MPC8309 r1.0' for 8309 V1.0QE: uploading microcode 'Microcode for MPC8309 r1.0'In: vgaOut: vgaErr: vgaMMC: FSL_ESDHC: 0Net: FSL UEC0, FSL UEC1USB RESETRegister 10011 NbrPorts 1USB EHCI 1.00The USB ULPI VIEWPORT reg value is 40000001The USB ULPI VIEWPORT reg value is 8Hit any key to stop autoboot: 0## Starting application at 0x00010000 ...**bleep**: 000325B8 XER: 20000000 LR: 00010004 REGS: 07ec4be0 TRAP: 0600 DAR: 00000B7DMSR: 00003032 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11GPR00: 07F56314 07EC4CD0 07EC4F44 00003032 07EF93EC 07EF93EC 00000000 07EEC810GPR08: 00000000 07FCE7F0 00000008 00000004 00000010 5C820CEA 00000000 00000000GPR16: 52DACF37 00000000 00000000 00000000 00000000 00000000 00000000 07F4A098GPR24: 00000000 07EF92B0 00000000 00000000 07EF93EC 00010000 07FBF704 00000002Call backtrace:00010000 07F56314 07F67490 07F66BAC 07F66DD0 07F689BC 07F6749007F66BAC 07F66DD0 07F69A1C 07F4BB60 07F4A600Alignment ExceptionResetting the board.
Can someone please suggest me something? Also, I don't know why the Hello World project didn't work.
Any help would be greatly appreciated.
Thanks and regards,