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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,090 Views
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 Kudos
1 Solution
959 Views
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

View solution in original post

0 Kudos
1 Reply
960 Views
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 Kudos