Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Apr 2006 11:40 PM by  Anonymous
[M547xLITE] Debugging the Linux Kernel
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
kwong
New Member
New Member
Posts:


--
25 Apr 2006 09:28 AM
    Hi, I'm new to the Coldfire series and debugging via BDM. I'm currently having trouble debugging a Linux v2.6.10 kernel using BDM.

    I can't seem to properly step to the next statement in the kernel... everytime I try, I get the following error:

    BDM error: Target Bus Error

    Admittedly, my environment has some quirks to it that may be the cause. Here's how everything is setup:

    (1) build the kernel and bootloader (from the ltib package) under Linux under VMware
    (2) start the board up, connect to it via the bdm using m68k-bdm-elf-gdb under Cygwin from the Zoom CD that came with the eval board
    (3) allow the processor to continue
    (4) use dBUG/TFTP to transfer colilo over to ram on the dev board
    (5) use colilo/tftp to transfer the kernel over to ram on the dev board
    (6) set the hardware breakpoint via gdb
    (7) start up the kernel

    Once the breakpoint is hit, I find myself back at the prompt but I can't seem to step from statement to statement.

    Any help would be greatly appreciated... even better, if someone can tell me how to get the bdm to work under vmware, that would be cool too. save me some effort.

    Ken.
    Anonymous
    Posts:


    --
    27 Apr 2006 11:40 PM
    Since these all seem to be third party issues have you contacted Freescale for assistance with this request?

    Thanks,
    You are not authorized to post a reply.