Problems Debugging code running in external RAM

Started by miklospflancer in LPC200012 years ago 3 replies

I am having problems debugging a program that uses interrupts which is executing in external RAM . I use Redboot/GDB to load my program into...

I am having problems debugging a program that uses interrupts which is executing in external RAM . I use Redboot/GDB to load my program into external RAM and it executes fine until I enable ARM Core interrupts (I bit) in the CPSR register. As soon as I step to this line my program crashes, gdb/insight becomes unresponsive. I clear all interrupts in my code so I know that there are not an...


migration from windows to linux slow response

Started by kd7vn in LPC200011 years ago 2 replies

My set up includes... an olimex lpc-p2103 development board. The olimex ARM-USB-OCD jtag device openOCD (sorry no version number) The ftd2xx...

My set up includes... an olimex lpc-p2103 development board. The olimex ARM-USB-OCD jtag device openOCD (sorry no version number) The ftd2xx usb drivers. arm-elf-gcc (GCC) 3.4.3 arm-elf-gdb --version GNU gdb 6.0 Running linux slackware 11 (2.4.33 kernel) on an ibm thinkpad T40 when i had this setup on windows things worked well, but had some issues (couldn't rely on cygwin) and hence ma...


Remote debugging on ARM7TDMI

Started by joergendraeby in LPC200010 years ago 4 replies
GDB

I've build gdbserver on target (lpc2568) and it starts ok. command line: gdbserver : hello gdbserver responds: Process hello created; pid...

I've build gdbserver on target (lpc2568) and it starts ok. command line: gdbserver : hello gdbserver responds: Process hello created; pid = 21 Listening on port I've build insight/gdb on the remote machine and it starts ok. Target connection setup Target: GDBserver/TCP Hostname: Port: Loading the hello.gdb from insight. By selecti


J-Link GDB Server commands for LPC2129

Started by zied130187 in LPC20008 years ago

hello, i have to write J-Link GDB Server commands in ECLIPSE for debug program for LPC2129 with JLINK. i have found this commands for...

hello, i have to write J-Link GDB Server commands in ECLIPSE for debug program for LPC2129 with JLINK. i have found this commands for AT91SAM7S256 ARM monitor reset monitor speed 30 monitor speed auto monitor long 0xffffff60 0x00320100 monitor long 0xfffffd44 0xa0008000 monitor long 0xfffffc20 0xa0000601 monitor sleep 100 monitor long 0xfffffc2c 0x00480a0e monitor sleep 200 mon...


Distribution ARMs at Field

Started by jeckson_sb in LPC20007 years ago 2 replies

Hai Dear ARM expert. Could I ask question? Is there info how's to built GDB server at Wifi router(+usb host)? Thank you very...

Hai Dear ARM expert. Could I ask question? Is there info how's to built GDB server at Wifi router(+usb host)? Thank you very much Jeckson Still learning. ------------------------------------


Simulator/ debugger

Started by Mauricio Scaff in LPC200013 years ago 2 replies

Hi, everybody I was reading the guide to integrate eclips+gnuarm+gdb and it is really very good. Very simple to understand and yet very...

Hi, everybody I was reading the guide to integrate eclips+gnuarm+gdb and it is really very good. Very simple to understand and yet very complete. But I have a question. Is it possible with the tools shown in that tutorial or maybe with some other not mentioned to do a simulated debugger ? I want to test my routines but i don't have the hardware. so


(No subject)

Started by nieuw bericht in LPC200013 years ago 1 reply

Hi all, I'm learning to work with the LPC2148 processor, and have a pcb board for this, from embeddedartists.com. I would like to...

Hi all, I'm learning to work with the LPC2148 processor, and have a pcb board for this, from embeddedartists.com. I would like to use the gnuarm toolchain with gdb to program and debug the lpc2148 via JTAG. I've read some documents about this, one of the more concrete being ARM Cross Development with Eclipse Version 2, by James P. Lynch. H


new to LPC

Started by s76jensen in LPC200010 years ago 8 replies

Hi... I'm pretty new in the LPC world, so plan to follow this...

Hi... I'm pretty new in the LPC world, so plan to follow this tutorial: =20 http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse. pdf I am used to eclipse and GDB, but have never used LPC. So my Q: Is this the best/easyest way to get startet or is there=20 another way that i should try. Thanks=20 S=F8ren - DK =20=20=20 ------------------------------------ ...


Differences between ARM7TDMI and ARM7TDMI-S

Started by householder_lpc in LPC200013 years ago 6 replies

Are there any notable differences between the two cores with reference to support from development tools? Can you debug both with the ...

Are there any notable differences between the two cores with reference to support from development tools? Can you debug both with the Eclipse/gdb/Wiggler environment and with the Crossworks environment? Thank you.


Debugging

Started by FabioDB in LPC200014 years ago 5 replies

Hi, I'm starting development on LPC2106 using GNU Tools. What's a good and cheap hardware/software solution for debugging...

Hi, I'm starting development on LPC2106 using GNU Tools. What's a good and cheap hardware/software solution for debugging via JTAG interface and GDB of LPC210x? Thank you. -- Email.it, the professional e-mail, gratis per te:


gdb flash stepping (at last)

Started by ntfreak2000 in LPC200013 years ago 1 reply

All, Thought I would let you all know the ocdremote gdbserver has been updated to version 2.14. you can now step/continue using...

All, Thought I would let you all know the ocdremote gdbserver has been updated to version 2.14. you can now step/continue using hardware breakpoints in gbb/insight!! They have added a few new commands, but the inportant one is monitor softbkpts on/off for the full list of commands type monitor help in the console window. for help on in


Toolchain

Started by geimble in LPC200015 years ago 1 reply

Hello ! I am trying to build a working toolchain for the LPC2106 . Can anyone help me with the steps i have to make and the...

Hello ! I am trying to build a working toolchain for the LPC2106 . Can anyone help me with the steps i have to make and the changes i have to do for the specific lpc2106 hardware ? The files I want to use are newlib, gcc , gdb and gcc under cygwin Regards


jtag debuggers

Started by Alex Gibson in LPC200015 years ago 2 replies

Been asked to ask a question (by some guys I've done some work for in the past) Does either keil u-link or IAR Jlink work...

Been asked to ask a question (by some guys I've done some work for in the past) Does either keil u-link or IAR Jlink work with insight or gdb for debugging ? Especially on linux or osx or bsd? Also Leon did you ever try that Chameleon pod that Amontec


JTAG Connect Problems

Started by Bill Knight in LPC200015 years ago 20 replies

I've been ignoring this problem for too long. It's time to determine if everyone has experienced it or if it is something I'm ...

I've been ignoring this problem for too long. It's time to determine if everyone has experienced it or if it is something I'm doing. I'm using gcc, gdb/Insight, and Macraigor's Wiggler & OcdLibRemote to build and debug programs running from RAM on a Nohau LPC210x TESTER Bo


LPC startup procedure/vectors.

Started by armdeveloper in LPC200012 years ago 2 replies

What is the sequence that an lpc2148 goes through to start up ? I assumed that one put the _start address in the reset vector (0x00000000) and...

What is the sequence that an lpc2148 goes through to start up ? I assumed that one put the _start address in the reset vector (0x00000000) and it would start, but apparently this isn't so. When I come out of reset and look at pc with gdb, its at 0xffffffee. Someone recently told me "The core actually boots from the reserved sector at the end of the Flash memory. That bootcode would l...


J-Link size limitations ..

Started by lemon tree in LPC200011 years ago 4 replies

hello all, i am interested in knowing if there is any way that i could use "USB-JTAG/SWD debug probe for ARM" with Open OCD ? i would want to...

hello all, i am interested in knowing if there is any way that i could use "USB-JTAG/SWD debug probe for ARM" with Open OCD ? i would want to get around the size limitation which does not allow me to upload code > 32 k if i use Segger's Gdb server. i dont want to buy any software from IAR, i'm regretting buying the jtag probe already. regards


Slooooow JTAG using GDG/OCDremote

Started by Richard in LPC200012 years ago 2 replies

Using Eclipse/OCDremote/GDB ala Mr. Lynch's tutorial. I am debugging from flash (lpc2103) but it is soooo slooooow. Inserting a...

Using Eclipse/OCDremote/GDB ala Mr. Lynch's tutorial. I am debugging from flash (lpc2103) but it is soooo slooooow. Inserting a single breakpoint into a two line blinky program requires ~30 seconds between breaks! The parallel port is set fo EPP. What is this thing doing with all that time? Rich


Olimex ARM-USB-OCD Dongle

Started by rtstofer in LPC200011 years ago 7 replies

I installed the device using the provided CD and the JTAG debugger worked exactly once. Now all I get is an error under Embedded GDB: I...

I installed the device using the provided CD and the JTAG debugger worked exactly once. Now all I get is an error under Embedded GDB: I posted this on the Sparkfun forum but haven't received a response. It doesn't look good: another user posted the same question more than a month ago without a response. Anyone have any idea what's going on? I a


Tracing a DAbt error

Started by in LPC20007 years ago 2 replies

Hello all, I am using a LPC2148 chip, and my program locks up every once in a while - the event is quite rare, but using GDB I've managed to...

Hello all, I am using a LPC2148 chip, and my program locks up every once in a while - the event is quite rare, but using GDB I've managed to find out I'm stuck o= n the DAbt handler. However, I can't find out what's causing the Data Abort issue - when I read the registers, I get the address 0x50 in the R14 register, which (subtracte= d by 8) points me to a PLL startup routine. Since th...


Eclipse for ARM development

Started by Rudy Van Raemdonck in LPC200014 years ago 2 replies

Hello, Has anyone used Eclipse already for developing LPC2106 (or ARM in general) applications? I am particularly...

Hello, Has anyone used Eclipse already for developing LPC2106 (or ARM in general) applications? I am particularly interested if the following combination would work: IDE: Eclipse + CDT Compiler: GCC Debugger: GDB JTAG interface: OCDRemot