Hi,
I have a T1042D4RDB-PA board. I want to run a bare-board program on it but I am new to PPC concept. I create a bare-board project on codewarrior and load it to RAM via u-boot using tftp etc. But when I try to boot it, it always crashes.
What should I do ? Is there any other toolchain for this ?
I want to hear every advice,
Thanks
已解决! 转到解答。
"Bare-board" project assumes the board is "bare" (does not have any initialization software), connected to CodeWarrior via debugger connection, used to debug the project. In case of U-boot, the board is not "bare", because some board initialization steps are done already by U-boot. The U-boot may be used to run binary application, however. The most probable reason, why application may crash - is an access to invalid memory location. For example, your application expects CCSR memory space has one offset, but this offset was changed by U-boot. This result to bus error when trying to access memory-mapped device register.
For example, the following topic discusses similar issue:
Hi,
Thanks for the reply, now I understand what I need is standalone program after u-boot process. So what are my choices ? I see there is a standalone part in u-boot is there another alternative for standalone ? Can I do it with code warrior, ELDK or something ?
Thanks