I have been trying to follow James Lynch's tutorial on the lpc2106. I
have modified the linker script for my lpc2292. I am having trouble
getting the Eclipse debugger to work properly. I don't get an actual
error in the console window, I just get a dialog box saying "Error
during launch."
What types of things should I look for to help me troubleshoot what is
wrong?
Eclipse Debugging on lpc2292 (using 2106 demoblink demo)
Started by ●February 20, 2008
Reply by ●February 21, 20082008-02-21
--- In l..., "Bruce" wrote:
>
> --- In l..., "jsalomo1" wrote:
> >
> > I have been trying to follow James Lynch's tutorial on the lpc2106. I
> > have modified the linker script for my lpc2292. I am having trouble
> > getting the Eclipse debugger to work properly. I don't get an actual
> > error in the console window, I just get a dialog box saying "Error
> > during launch."
> >
> > What types of things should I look for to help me troubleshoot what is
> > wrong?
> > Eclipse uses debuggers like GDB. If you are not hosted natively (your
> target and your development platforms are physically different
> processors) you will have to run a GDB server on your target.
>
> Of course, you have to have your target connection set up properly as
> well (serial, TCP/IP, etc.).
>
We've been using OpenOCD to flash the board. There is a .cfg file with
the gdb port indicated. Does this mean the gdb server is running?
If so what other things should I look to troubleshoot? Just an fyi the
link to the tutorial I'm using is
http://panda.ece.stevens-tech.edu/sd/grp8/research/ARM_Cross_Development_with_Eclipse.pdf
. The version may be old, but it's mainly the same.
>
> --- In l..., "jsalomo1" wrote:
> >
> > I have been trying to follow James Lynch's tutorial on the lpc2106. I
> > have modified the linker script for my lpc2292. I am having trouble
> > getting the Eclipse debugger to work properly. I don't get an actual
> > error in the console window, I just get a dialog box saying "Error
> > during launch."
> >
> > What types of things should I look for to help me troubleshoot what is
> > wrong?
> > Eclipse uses debuggers like GDB. If you are not hosted natively (your
> target and your development platforms are physically different
> processors) you will have to run a GDB server on your target.
>
> Of course, you have to have your target connection set up properly as
> well (serial, TCP/IP, etc.).
>
We've been using OpenOCD to flash the board. There is a .cfg file with
the gdb port indicated. Does this mean the gdb server is running?
If so what other things should I look to troubleshoot? Just an fyi the
link to the tutorial I'm using is
http://panda.ece.stevens-tech.edu/sd/grp8/research/ARM_Cross_Development_with_Eclipse.pdf
. The version may be old, but it's mainly the same.
Reply by ●February 22, 20082008-02-22
--- In l..., "jsalomo1" wrote:
>
> I have been trying to follow James Lynch's tutorial on the lpc2106. I
> have modified the linker script for my lpc2292. I am having trouble
> getting the Eclipse debugger to work properly. I don't get an actual
> error in the console window, I just get a dialog box saying "Error
> during launch."
>
> What types of things should I look for to help me troubleshoot what is
> wrong?
>
Eclipse uses debuggers like GDB. If you are not hosted natively (your
target and your development platforms are physically different
processors) you will have to run a GDB server on your target.
Of course, you have to have your target connection set up properly as
well (serial, TCP/IP, etc.).
>
> I have been trying to follow James Lynch's tutorial on the lpc2106. I
> have modified the linker script for my lpc2292. I am having trouble
> getting the Eclipse debugger to work properly. I don't get an actual
> error in the console window, I just get a dialog box saying "Error
> during launch."
>
> What types of things should I look for to help me troubleshoot what is
> wrong?
>
Eclipse uses debuggers like GDB. If you are not hosted natively (your
target and your development platforms are physically different
processors) you will have to run a GDB server on your target.
Of course, you have to have your target connection set up properly as
well (serial, TCP/IP, etc.).
Reply by ●February 22, 20082008-02-22
--- In l..., "jsalomo1" wrote:
>
> --- In l..., "Bruce" wrote:
> >
> > --- In l..., "jsalomo1" wrote:
> > >
> > > I have been trying to follow James Lynch's tutorial on the
lpc2106. I
> > > have modified the linker script for my lpc2292. I am having trouble
> > > getting the Eclipse debugger to work properly. I don't get an actual
> > > error in the console window, I just get a dialog box saying "Error
> > > during launch."
> > >
> > > What types of things should I look for to help me troubleshoot
what is
> > > wrong?
> > >
> >
> > Eclipse uses debuggers like GDB. If you are not hosted natively (your
> > target and your development platforms are physically different
> > processors) you will have to run a GDB server on your target.
> >
> > Of course, you have to have your target connection set up properly as
> > well (serial, TCP/IP, etc.).
> > We've been using OpenOCD to flash the board. There is a .cfg file with
> the gdb port indicated. Does this mean the gdb server is running?
>
> If so what other things should I look to troubleshoot? Just an fyi the
> link to the tutorial I'm using is
>
http://panda.ece.stevens-tech.edu/sd/grp8/research/ARM_Cross_Development_with_Eclipse.pdf
> . The version may be old, but it's mainly the same.
>
The tutorial looks sound. If you are following the instructions in
section 22, then you are doing all the right things. You might try
scoping your JTAG connections. If you (or a colleague) built the
board, there might be a reset condition on one of the pins that is
disabling JTAG (the pins may have to be in a certain state on reset).
>
> --- In l..., "Bruce" wrote:
> >
> > --- In l..., "jsalomo1" wrote:
> > >
> > > I have been trying to follow James Lynch's tutorial on the
lpc2106. I
> > > have modified the linker script for my lpc2292. I am having trouble
> > > getting the Eclipse debugger to work properly. I don't get an actual
> > > error in the console window, I just get a dialog box saying "Error
> > > during launch."
> > >
> > > What types of things should I look for to help me troubleshoot
what is
> > > wrong?
> > >
> >
> > Eclipse uses debuggers like GDB. If you are not hosted natively (your
> > target and your development platforms are physically different
> > processors) you will have to run a GDB server on your target.
> >
> > Of course, you have to have your target connection set up properly as
> > well (serial, TCP/IP, etc.).
> > We've been using OpenOCD to flash the board. There is a .cfg file with
> the gdb port indicated. Does this mean the gdb server is running?
>
> If so what other things should I look to troubleshoot? Just an fyi the
> link to the tutorial I'm using is
>
http://panda.ece.stevens-tech.edu/sd/grp8/research/ARM_Cross_Development_with_Eclipse.pdf
> . The version may be old, but it's mainly the same.
>
The tutorial looks sound. If you are following the instructions in
section 22, then you are doing all the right things. You might try
scoping your JTAG connections. If you (or a colleague) built the
board, there might be a reset condition on one of the pins that is
disabling JTAG (the pins may have to be in a certain state on reset).