IAR J-Link JTAG debugger + Linux + GCC

Started by jcwren in LPC200012 years ago 3 replies

I've hit the wall where printf() debugging isn't going to fix a problem I've run into. I've got a USB IAR J-Link dongle, the Olimex LPC-P2148...

I've hit the wall where printf() debugging isn't going to fix a problem I've run into. I've got a USB IAR J-Link dongle, the Olimex LPC-P2148 board, arm-elf-gcc, and a Linux box. Can I make this stuff play together? Got a pointer to a guide on making this work? I've been Googling, but so far I've mostly found Windows solutions. Running the IAR software is not an option. If I *have* t...


LPC313x Linux SD-Card driver

Started by daniel_schwab3006 in LPC20009 years ago 1 reply

Hi I use the Board from Embedded Artists "LPC3131 Developer's Kit". I have compiled and installed the apex bootloader and the Linux which is...

Hi I use the Board from Embedded Artists "LPC3131 Developer's Kit". I have compiled and installed the apex bootloader and the Linux which is include as a demo. NXP wrote some drivers for this board. One of them is the lpc313x_mmc.c driver which can read from the SD-Card. But the write function isn't implemented. Has someone wrote the write function for this driver? Best thanks, Dani...


FTP/TELNET on LPC3250 with linux-2.6.27.8, not working

Started by Fernando Vilmar Palha in LPC20009 years ago 3 replies

Hello. I'm running linux-2.6.27.8 on EA LPC3250 board, but I can not do Telnet/FTP to the board. Just Telnet by serial port is...

Hello. I'm running linux-2.6.27.8 on EA LPC3250 board, but I can not do Telnet/FTP to the board. Just Telnet by serial port is possible. Anybody has a tip. Regards. -- Fernando Vilmar Palha Engenheiro de Computa??o Nautec Eletr?nica Ltda *Process* [root@nxp /]# ps PID USER VSZ STAT COMMAND 1 root 1388 S init 2 root 0 SW < [kthreadd]


Re: Using GNU's arm-linux-gnueabi tools for programming LPC2148

Started by Felipe de Andrade Neves Lavratti in LPC20006 years ago

You should use arm-elf-gcc, not the linux-gnueabi version. Google for yagarto tools, you will find examples. On Tue, Sep 10, 2013 at 1:51 AM, ...

You should use arm-elf-gcc, not the linux-gnueabi version. Google for yagarto tools, you will find examples. On Tue, Sep 10, 2013 at 1:51 AM, wrote: > ** > I can program for LPC2148 using keil compiler tools. But I want to use > GNU's tools to compile and debug . I try some tutorials available online > but I fail some how. So I am searching some Startup Code so that My C


Serial ISP mode with the IAR/OLIMEX LPC2148 under Linux ?

Started by armdeveloper in LPC200012 years ago 7 replies

My JTAG pod isn't here yet. I'd like to program the my IAR/OLIMEX LPC2148 board with the In Circuit Serial Programming system. I'm...

My JTAG pod isn't here yet. I'd like to program the my IAR/OLIMEX LPC2148 board with the In Circuit Serial Programming system. I'm running Linux. Has anyone done this ? According to here http://www.compuphase.com/lpc2100_isp.htm , one needs to hold down the P0.14 pin and reset the processor. On this board the P0.14 pin is conveniently brought out to a single pin marked BSL. (...


Toolchain for Debian Linux

Started by majess in LPC200013 years ago 1 reply

Hello ,all I'm trying to build a toolchain for Debian linux (Etch) with kernel 2-6-15. I've downloaded...

Hello ,all I'm trying to build a toolchain for Debian linux (Etch) with kernel 2-6-15. I've downloaded bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2 file from www.gnuarm.org file download section. After that I've unpacked it to destination folder and add appropriate PATH to PATH environment. When I try to execute arm-elf-gcc I've got: bash: /home/majess/Praca/ARM/gnuarm-4.0...


Just uploaded open source lpc21isp to my website http://www.clibb.de/

Started by Anonymous in LPC200015 years ago

Hello, i just published my first version of the portable command-line ISP tool for LPC2104 / LPC2105 / LPC2106. It compiles...

Hello, i just published my first version of the portable command-line ISP tool for LPC2104 / LPC2105 / LPC2106. It compiles and runs under Windows (VC6, VC7), Cygwin (gcc) and compiles under Linux (also with gcc). Because of lack of an computer with Linux i can't try it


Re: boundschecking & instrumentation

Started by ricardooliveirasouza in LPC200013 years ago

Clemens, I work on a ARM project. We use gnuarm to cross-compilation. We've written stubs to run our systems on windows/linux, using...

Clemens, I work on a ARM project. We use gnuarm to cross-compilation. We've written stubs to run our systems on windows/linux, using gcc. We incorporated boundschecking (bc) to catch runtime defects (running on windows/linux). We're thinking of incorporing bc to gnuarm in order to catch runtime defects inside the code running on the board. I agree with the questions you already poin...


NXP LPC3131x, LTIB, and Udev (USB) in Linux

Started by szukai in LPC20009 years ago

Hi, Does anyone have any luck getting USB to automount with Udev (hoping to autorun something after the device gets mounted) on a NXP LPC313x...

Hi, Does anyone have any luck getting USB to automount with Udev (hoping to autorun something after the device gets mounted) on a NXP LPC313x board running LTIB Linux? I've got the Udev option in LTIB checked, as well as Unix Domain Sockets in the kernel option selected and instaleld as well. However I still get the error message. udevd[370]: init_udevd_socket: error getting socket: A...


UCLinux on ARM LPC 2294

Started by pratik pujar in LPC200013 years ago 1 reply

Hi All, =20=20 I am having phyCore board with LPC2294 (ARM7TDMI). I want to compil= e=20 and run the uClinux on this. For this i...

Hi All, =20=20 I am having phyCore board with LPC2294 (ARM7TDMI). I want to compil= e=20 and run the uClinux on this. For this i am using following versions and patches:=20 =20=20 1. linux-2.6.11.8.tar.bz2 2. uClinux-Philips-LPC22xx.tar.obj 3. uClinux-dist-lpc22xx.patch.obj 4. uClinux-dist-20051110.tar.gz 5 . linux-2.6.11.8-hsc0.patch.gz=20 =20 I am havin...


www.gnuarm.com updated for 4.0.1 Windows and Linux x86_64

Started by Rick Collins in LPC200014 years ago 2 replies

GNUARM 4.0.1 for Windows and Linux x86_64 uploaded to http://www.gnuarm.com Some of the other mirrors are getting pretty out of...

GNUARM 4.0.1 for Windows and Linux x86_64 uploaded to http://www.gnuarm.com Some of the other mirrors are getting pretty out of date.


Segger J-Link under Linux

Started by Xiaofan Chen in LPC200011 years ago 11 replies

I just downloaded Segger J-Link Beta Software and at least it seems to be talking to the J-Link under Ubuntu 8.04. Any host debugging software...

I just downloaded Segger J-Link Beta Software and at least it seems to be talking to the J-Link under Ubuntu 8.04. Any host debugging software for it? http://www.segger.com/download_jlink.html mcuee@Ubuntu804:~/Desktop/arm/JLink-Linux$ ./start SEGGER J-Link Commander V3.75t ('?' for help) Compiled Dec 10 2007 10:27:50 DLL version V3.75t, compiled Dec 10 2007 10:27:45 Firmware: J-Link A...


OpenOCD svn 568 and LPC2294 programming problem (Ubuntu - Linux)

Started by yhauspie in LPC200011 years ago

Hi, in the past couple of months I have programmed an LPC2294 without problem via usb-ocd-tiny and openocd in Windows. Now I'm changing...

Hi, in the past couple of months I have programmed an LPC2294 without problem via usb-ocd-tiny and openocd in Windows. Now I'm changing to linux and today I installed the OpenOcd svn version (568) on my Ubuntu PC. After building the usb drivers and openocd, I could connect to my lpc2294. But I cant seem to program it. I get an error on the flash write_image main.bin 0x0 bin command, E...


migration from windows to linux slow response

Started by kd7vn in LPC200012 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...


lpc2148 USB driver not working in Linux

Started by Manisha Kalita in LPC200013 years ago 1 reply

Hi all, i am designing a USB driver in lpc2148 board. the driver is working fine with Windows OS in the host. but whenever, we connect the...

Hi all, i am designing a USB driver in lpc2148 board. the driver is working fine with Windows OS in the host. but whenever, we connect the board in a linux host machine, it is giving the following problem. May 9 17:29:49 localhost kernel: usb 2-2: new full speed USB device using address 12 May 9 17:29:54 localhost kernel: usb 2-2: control timeout on ep0in May 9 17:29:55 localhost ker...


arm-usb-ocd error: number of discovered devices in JTAG chain (20) doesn't match

Started by EdwinOlson in LPC200012 years ago 3 replies

I am using a linux/gcc toolchain with openocd and an arm-usb-ocd. My target is an Keil MCB2300 with an LPC2378. (Repeat: I'm NOT using...

I am using a linux/gcc toolchain with openocd and an arm-usb-ocd. My target is an Keil MCB2300 with an LPC2378. (Repeat: I'm NOT using Keil tools, I'm using a gcc toolchain under Linux, but I can verify that the board's JTAG interface worked fine with Keil's ULINK2 and uVision.) I've had trouble with the arm-usb-ocd debugger and the arm-usb-ocd: while I have gotten it to work a handful of t...


CrossStudio 2.0 and Fedora 13 x64: "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory"

Started by Marcus Andreotti in LPC20009 years ago

Hello people, I updated my Fedora 12 32 bits version to Fedora 13 64 bits version (clean minimal install), and discovered that CrossWorks...

Hello people, I updated my Fedora 12 32 bits version to Fedora 13 64 bits version (clean minimal install), and discovered that CrossWorks (arm, version 2.07) could not run with the error "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory". This error was clearly caused by the lack of 32 bits support libraries in my system, and on trying to find specific information for my ...


uC-Linux OLIMEX board LPC2468

Started by Caustic Soda in LPC200010 years ago 2 replies

Now for experimentation I have the OLIMEX board http://www.olimex.com/dev/lpc-e2468.html . This board is already loaded with uC-linux. It...

Now for experimentation I have the OLIMEX board http://www.olimex.com/dev/lpc-e2468.html . This board is already loaded with uC-linux. It has an FTDI232 chip for USB interfacing. I have Fedora x86_64 running on my laptop. I installed the ftdi drivers using yum install. But Fedora does not detect the LPC chip. The kernel in the dmesg output is shown


J-Link now works fine under Linux with OpenOCD 0.2.0

Started by Xiaofan Chen in LPC200010 years ago

For those people who wants to use J-Link under Linux using OpenOCD, now it is much more stable with the release of 0.2.0. I've tested version...

For those people who wants to use J-Link under Linux using OpenOCD, now it is much more stable with the release of 0.2.0. I've tested version V3, V6 and V7 J-Link. Other people have also tested V4/V5/V6/V7/V8 J-Link. Changes: http://developer.berlios.de/project/shownotes.php?release_id=16455 Download: http://developer.berlios.de/project/showfiles.php?group_id=4148&release_id=16455 -- X...


Building kernel/rootfs for EA lpc2468

Started by David Miller in LPC20007 years ago 4 replies

Hi all, I'm trying to build uClinux from uClinux-20110210-ea2468_v091, on xubuntu 12.04. Doing... # make...

Hi all, I'm trying to build uClinux from uClinux-20110210-ea2468_v091, on xubuntu 12.04. Doing... # make CROSS_COMPILE=arm-unknown-linux-uclibc- xconfig # make CROSS_COMPILE=arm-unknown-linux-uclibc- eventually fails with... make[2]: Entering directory `/home/david/project/lpc2468/uClinux/include' Making symlinks in /home/david/project/lpc2468/uClinux/staging/include Making inc...