LPC2468 UART port not working

Started by vasanth` raj in LPC200010 years ago 1 reply

Hi, I had worked with LPC2148 prototype board with ARM GDB open OCD and its fine. Now I am using the same configrations of LPC2148 and...

Hi, I had worked with LPC2148 prototype board with ARM GDB open OCD and its fine. Now I am using the same configrations of LPC2148 and Script files for LPC2468 and try to configure the UART port with the samples available , i had burnt the code to the device flash but I could not see any prints in the terminal. I had configures for UART 0 and UART 1. I dosn't know were i go wrong. I env...


Problem with LPC2468 and GCC (or Segger J-Link)

Started by lemartes86 in LPC20006 years ago 5 replies

I have a problem with a LPC2468 board. I use Yargato on Eclipse and configured everything as in the description. I changed an example for LPC...

I have a problem with a LPC2468 board. I use Yargato on Eclipse and configured everything as in the description. I changed an example for LPC series to fit the LPC2468. (Amount of flash, ram and adresses) Compiling is without any errors. When I start the GDB, the segger console says: Reading all registers Read 4 bytes @ address 0x00000000 (Data = 0xE59FF018) Target endianess set to "little e...


No source available for ""

Started by "M. Manca" in LPC20007 years ago 3 replies
GDB

I am using LpcXpresso 3.3.4 that is a specialized Eclipse CDT relelase made from code-red to use with some NXP microcontrollers. Some...

I am using LpcXpresso 3.3.4 that is a specialized Eclipse CDT relelase made from code-red to use with some NXP microcontrollers. Some times without any apparent reason after rebuilding the project may happen that debugging step by step the it shows the message in subject. The function source code exists, I may find it but seems that gdb doesn't know where to go to read the debugging symbols. ...


Problem with OLIMEX JTAG

Started by soren_t_hansen in LPC200013 years ago

I've bought a Olimex JTAG and after having pacthed it (connected pin 8 & 15) O'm now able to connect to my LPC2138 with OCDRemote. But the ...

I've bought a Olimex JTAG and after having pacthed it (connected pin 8 & 15) O'm now able to connect to my LPC2138 with OCDRemote. But the problem is, that I'm only able to connect at speed 8, and when I try to debug, I keep getting errors and the debugging newer starts. Does anyone, have any experience with this Olimex Jtag/OCDRemote/GDB combo, especi


LPC2148.h full header file / jtag flasher

Started by Tomek in LPC200010 years ago 1 reply

Hello! Im new to LPC family, with GNU toolchain as my preference. I was wondering if someone already have header file for LPC2148 device with...

Hello! Im new to LPC family, with GNU toolchain as my preference. I was wondering if someone already have header file for LPC2148 device with all register maps, constants etc... I have managed to run *.elf files with GDB, but still cannot upload program into flash memory using wiggler jtag cable. Are there any free opensource programs that can perform this task? Maybe some document...


Debugger/Emulator for LPC21XX

Started by mli00 in LPC200014 years ago 2 replies

Hi, Does anyone try out the GDB/Insight6.0 + OCDLibRemote + Wiggler JTAG combination? Does it really work (especially with...

Hi, Does anyone try out the GDB/Insight6.0 + OCDLibRemote + Wiggler JTAG combination? Does it really work (especially with Insight 6.0)? Can the GNU tool chain + OCDLibRemote + Wiggler JTAG be claimed as a free tool chain for LPC21XX? What is the next cheap


OpenOCD terminates with error when trying to start program

Started by Tilmann Reh in LPC200011 years ago 5 replies

Hello, I am trying to develop the software for a new LPC2138 project with the Yagarto toolchain setup: Eclipse (3.2.2), GCC, Zylin CDT, GDB,...

Hello, I am trying to develop the software for a new LPC2138 project with the Yagarto toolchain setup: Eclipse (3.2.2), GCC, Zylin CDT, GDB, OpenOCD (re141), parallel port JTAG cable from Olimex. The PC is a rather new one with a Pentium D, OS is Windows XP Pro SP2. After entering the debug perspective, I can start OpenOCD as external tool without any problems. I can also enter debug mod...


IAP command problems on LPC17xx

Started by "M. Manca" in LPC20008 years ago 1 reply

I am debugging some code supporting write of some default data to flash (bank 15 on LPC1752). The problem is that erase and copy ram to flash...

I am debugging some code supporting write of some default data to flash (bank 15 on LPC1752). The problem is that erase and copy ram to flash functions hangs up during debugging. Studying a little I discovered that lPC internal functions need the last higher 32 byte of ram and also that there is a gdb bug that seems to require the last 16 byte of ram. So, is there any other engineer having ...


OpenOCD config for LPC2478

Started by Kevin Townsend in LPC20009 years ago 2 replies

I've been having a heck of a time getting the latest build of OpenOCD to work with a P2478 board, and was wondering if anyone here has had any...

I've been having a heck of a time getting the latest build of OpenOCD to work with a P2478 board, and was wondering if anyone here has had any success configuring with this combination? I'm using OpenOCD 0.1.0 (the latest downloadable binaries), an Olimex ARM-USB-OCD, and an Olimex P2478-STK board. I can get OpenOCD up and running 'seemingly' properly, and can connect over GDB, etc., in Ecli...


LPC2214, Wiggler and arm-elf-insigh

Started by stonoga_jacek in LPC200010 years ago 2 replies

Hello I have a problem with downloading program to ram memory. I use my own custom hardware with LPC2214, wiggler, and gnu toolset. I want to...

Hello I have a problem with downloading program to ram memory. I use my own custom hardware with LPC2214, wiggler, and gnu toolset. I want to run some simple program from ram but insight ( and gdb ) always fail in the same way:=20 DOWNLOAD FAILED: Invalid download offset: ...path to file Now I don`t know where to look errors. My application is based on example from James Linch tutorial ...


GNUARM toolchain update

Started by Pablo Bleyer Kocik in LPC200014 years ago

Hello. I have updated the GNUARM toolchain. Finally I was able to compile and test the Insight personality of the GDB...

Hello. I have updated the GNUARM toolchain. Finally I was able to compile and test the Insight personality of the GDB debugger. Please find the new installer at the usual URL, http://www.ariusdsp.com/gnuarm/. Warme


Steps to compile code for 2106/213X

Started by google_is_king in LPC200012 years ago 1 reply

I've been working with AVR MCUs for a while but the higher performance of the ARM parts has recently captured my attention. So far I've ...

I've been working with AVR MCUs for a while but the higher performance of the ARM parts has recently captured my attention. So far I've built my own binutils-2.16.1, gcc-3.4.4, newlib-0.12, gdb-6.3 toolchain (from scratch) and I'm trying to compile some test code. Using a simple: arm-elf-gcc -o test -Os test.c yields binaries in the 44K range (stripp


LPC2368 locking up when working with MAC

Started by bsutherlandrfi in LPC200010 years ago

Hi all. I am working on a Keil MCB2300 development board. This has an LPC2368 and a DP83848 PHY chip. For debugging I am using Eclipse --> ...

Hi all. I am working on a Keil MCB2300 development board. This has an LPC2368 and a DP83848 PHY chip. For debugging I am using Eclipse --> GDB --> OpenOCD --> Olimex ARM-USB-OCD --> JTAG. I am clocking the micro at 48 MHz via the PLL (from the 12 MHz external crystal). I have had some success working with configuring and querying the MAC, and the PHY. However, when it comes to transm


Debugging progblems using JTAG with Wiggler when PLL enabled

Started by miklospflancer in LPC200011 years ago

Hi I am having trouble debugging a simple program in RAM. Whenever I switch the clock source for OSC to PLL the debugger (gdb) loses control...

Hi I am having trouble debugging a simple program in RAM. Whenever I switch the clock source for OSC to PLL the debugger (gdb) loses control of the target.My code is shown below. I have tried enabling the PLL in the startup file but the debugger never breaks at main().If the pll is disabled I do not have a problem. I am using eclipse/gcc/ocdremote/wiggler combination for developement. ...


large latency with OpenOCD/GDB/Eclipse/Amontec-tiny

Started by mkrug88 in LPC20009 years ago

Hello, I setup a LPC2478 timer interrupt for match and reset. Therefore the timer should be set to 0x00 if the interrupt occurs. To check this...

Hello, I setup a LPC2478 timer interrupt for match and reset. Therefore the timer should be set to 0x00 if the interrupt occurs. To check this I set a breakpoint on the first instruction of my interrupt service routine. I'm quite surprised if I calculate the Timer ticks of the TC-register back to real time. Usually I have averaged about 0.2sec when the debugger stops at the breakpoint. Addition...


IAR with Olimex JTAG Devices

Started by Kevin Townsend in LPC20009 years ago 1 reply

I wanted to try IARs compiler to compare the output, and also because many examples I've found on the web are written for IAR (notably...

I wanted to try IARs compiler to compare the output, and also because many examples I've found on the web are written for IAR (notably Olimex). Unfortunately, I'm not all that eager to purchased ANOTHER JTAG device when I already own an ARM-USB-OCD and an ARM-USB-TINY. I was on Olimex's website that you can apparently use the GDB Server option in IAR to make their debuggers work with I...


GCC4.4.2 float Issue with CortexM3

Started by prab...@yahoo.co.in in LPC20008 years ago 8 replies

Hi all, I am using yagarto ARMTools chain, Binutils-2.20 Newlib-1.18.0 GCC-4.4.2 GDB-7.0.1 In my make file options(for CortexM3...

Hi all, I am using yagarto ARMTools chain, Binutils-2.20 Newlib-1.18.0 GCC-4.4.2 GDB-7.0.1 In my make file options(for CortexM3 processor,LPC17series), -mcpu=cortex-m3 -mthumb mfpu=fpa (or) -mfpu=vfp with this options My program going to hangs when i use simple float operations(covert float to int using type cast,substract float with integer etc.This is for supporting ftoa() ap...


New GCC Arm Toolchain - YAGARTO

Started by Martin Honeywill in LPC200011 years ago 11 replies

I've just come across this site which I thought might be of interest to some people http://www.yagarto.de YAGARTO is divided in three...

I've just come across this site which I thought might be of interest to some people http://www.yagarto.de YAGARTO is divided in three packages with the following components: * Open On-Chip Debugger * Binutils, Newlib, GCC compiler, and the Insight debugger * Eclipse Platform Runtime Binary, Eclipse CDT and CDT plugin for the GDB embedded debugging. Cheers Martin Honey...


How do you determine the memory address of an instruction?

Started by codinglikeits1999 in LPC20008 years ago 7 replies
GDB

I'm using CodeSourcery G++ Lite 2009Q1. For setting breakpoints in the GDB command line interface I need to know how to determining the...

I'm using CodeSourcery G++ Lite 2009Q1. For setting breakpoints in the GDB command line interface I need to know how to determining the Address for a given instruction. My understanding is that you use the .map and .lst files to determine this. First by finding the function's address in the .map file and then the instructions offset address in the .lst file. Then add them together. Is this ...


LPC2103 Debug RAM problems => errors

Started by hse05029 in LPC200011 years ago 2 replies

Hi, I ported the lpc2106_blink_ram example to fit the Olimex LPC2103 board. I made a remap (MEMMAP=0x02), changed the linker-script and the...

Hi, I ported the lpc2106_blink_ram example to fit the Olimex LPC2103 board. I made a remap (MEMMAP=0x02), changed the linker-script and the map-file seems to be fine. I start the Olimex ARM-USB-OCD with the following config => see appendix and the arm-elf-gdb in eclipse with target remote localhost:3333 load The debugger starts and as I press "Run", I get the following error messages: