Can I debug application with CW8.8 when uboot is running?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Can I debug application with CW8.8 when uboot is running?

跳至解决方案
1,147 次查看
00lirui
Contributor I

        Hi.

        I want to test an application on board MPC8306Som, but I don't want to  use any OS, I can compile it in ubtuntu and run in board by the uboot "go" command. However,I want to debug it using CW8.8 ,so i can view the application running details. Is it possible? and how to do it ?

       any suggestion is appreciated.

0 项奖励
1 解答
1,016 次查看
catalindemergia
Contributor IV

Hi,

what I could find in u-boot's code is something like this

/* Initialize the jump table for applications */

    jumptable_init();

in the arch\powerpc\lib\board.c file.

When you start a standalone application in u-boot it's just jumping to a particular address,

I'm thinking that if you know that address you can just add a breakpoint there, the debugger will

stop and then you can execute step-by-step.

regards,

Catalin

在原帖中查看解决方案

0 项奖励
1 回复
1,017 次查看
catalindemergia
Contributor IV

Hi,

what I could find in u-boot's code is something like this

/* Initialize the jump table for applications */

    jumptable_init();

in the arch\powerpc\lib\board.c file.

When you start a standalone application in u-boot it's just jumping to a particular address,

I'm thinking that if you know that address you can just add a breakpoint there, the debugger will

stop and then you can execute step-by-step.

regards,

Catalin

0 项奖励