EmbeddedRelated.com
The 2024 Embedded Online Conference

problem UART - LPC2129 - kit olimex

Started by zied130187 in LPC200013 years ago 10 replies

hello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value...

hello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value and don't have 41 value ? this is function of initialization of UART0 void UART0Init(U16 baud) { U16 divisor = getperipheralClockFreq() / (16 * baud); U0LCR_bit.DLAB=1; //Enable DLAB U0LCR_bit.WLS=3; //8 bits U0LCR_bit.SBS=1; //...


Problem using Olimex-ARM-USB-OCD with OpenOCD in ubuntu 8.04

Started by oladipo_oni in LPC200015 years ago 13 replies

Hi Group, I am new to embedded linux and hence stuck trying to get my setup working. My problem is every so often when I try and lunch...

Hi Group, I am new to embedded linux and hence stuck trying to get my setup working. My problem is every so often when I try and lunch openocd I get the following error output. $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ jtag_speed: 2 Error: JTAG communication failure, check connection, JTAG interface, target power etc. Error: trying to validate configu...


Using Eclipe and GNUARM compiler with LPC2294 and LPC2148

Started by jdauchot in LPC200017 years ago 1 reply

I am new to the LPC22XX and LPC214X range of processors. I have purchased a LPC-P2148 and LPC-E2294RevB boards from OLIMEX. I have, using...

I am new to the LPC22XX and LPC214X range of processors. I have purchased a LPC-P2148 and LPC-E2294RevB boards from OLIMEX. I have, using examples from the LPC2000 group, compiled and loaded sucessfully test code into the LPC-P2148. I am now trying to program a test program for the LPC-E2294RevB board without success. Can anyone send me test program that will compile using the Eclipse/ G...


DMA transfers on LPC2148

Started by oliverks1 in LPC200018 years ago 2 replies

I want to use the DMA functionality on the LPC2148 to transfer data to a USB host. I have setup and tested a bulk end point using non-DMA...

I want to use the DMA functionality on the LPC2148 to transfer data to a USB host. I have setup and tested a bulk end point using non-DMA functionality and it works fine. I now want to convert that end point to use DMA to offload processing from the ARM 7. I am using the Olimex LPC-P2148 development board with a 4.1.0 version of gcc that cross compiles for the ARM platform. I set up ...


JTAG consulting

Started by Gus in LPC200018 years ago 7 replies

Hello, We are interested in buying your JTAG code for LPC chips. The code has to be written in C++ for the parallel port JTAG from...

Hello, We are interested in buying your JTAG code for LPC chips. The code has to be written in C++ for the parallel port JTAG from olimex. Even better, if you have code to run JTAG on the new FTDI USB chip. Your code should be able to - read/write RAM - set/clear hardware breakpoints - set/clear software breakpoints - read the pr


USB Secondary boot loader for LPC2378

Started by pete...@esysr.com in LPC200015 years ago 2 replies

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB...

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB and fairly new to CrossWorks I have been going in circles. Anyone know of a USB Bootloader for the LPC2378 that builds under CrossWorks? ------------------------------------


ARM-USB-TINY + LPC2478STK = Help!

Started by Felipe de Andrade Neves Lavratti in LPC200014 years ago 5 replies

Hi guys, I have a Olimex ARM-USB-TINY Jtag device and a LPC2478STK board, I want to make them both work togheter but I am having...

Hi guys, I have a Olimex ARM-USB-TINY Jtag device and a LPC2478STK board, I want to make them both work togheter but I am having problems. I installed the Eclipse, OpenOCD and the cigwin from the CD that came with the ARM-USB-TINY device. The sample code that came in the CD is building ok, but I cant debug. The ft232driver .c file is sayint that he couldn't find the ARM-USB-TINY B d...


lpc newlib port and toolchain compatability

Started by Mark Gross in LPC200017 years ago 2 replies

I'm new to the LPC world and I'm trying to bring up the gnuarm toolchain with the newlib-lpc release 5a port...

I'm new to the LPC world and I'm trying to bring up the gnuarm toolchain with the newlib-lpc release 5a port from http://www.aeolusdevelopment.com/Articles/download.html . I'm running Ubuntu linux and I'm having issues with compiler and newlib base version compatibility. My test is to build load and run the test10.c program on an OLiMEX LPC-P212x development board. If I build the followi...


Getting my LPC2148 to boot by itself ! (JTAG Flashing, Openocd, hard reset)

Started by armdeveloper in LPC200017 years ago 14 replies

I've got an Olimex LC2148 board. It and my code run fine when I use lpc2k_pgm to program and run it. No problems. However, my code doesn't...

I've got an Olimex LC2148 board. It and my code run fine when I use lpc2k_pgm to program and run it. No problems. However, my code doesn't run when I program it with the JTAG pod. Question #1: does openocd or the gnu linker calculate the signature for memory location 0x14 automatically ? My openocd config file has this in it: flash bank lpc2000 0x0 0x7D000 0 0 lpc2000_v2 0 12000 calc...


ARM Cross Development with Eclipse Tutorial - components download

Started by lynchzilla in LPC200018 years ago 45 replies

I have been diligently trying to improve the tutorial "ARM Cross Development with Eclipse" for the last year, but there are times where it...

I have been diligently trying to improve the tutorial "ARM Cross Development with Eclipse" for the last year, but there are times where it seems like I'm shooting at a moving target. For example, Zylin does not archive old versions of their modified CDT plug-in and the links mentioned in the current Revision 3 tutorial (


External Flash Algorithms intel TE28F160C3BD70

Started by civcivonur in LPC200017 years ago 1 reply

Hi, I have a LPC2294 Development Board. http://www.olimex.com/dev/images/LPC-L2294-1MB-sch.gif i could not use the external flash. I search...

Hi, I have a LPC2294 Development Board. http://www.olimex.com/dev/images/LPC-L2294-1MB-sch.gif i could not use the external flash. I search for the code of intel TE28F160C3BD70 programming but i could not find. So i try to modify the code of RC28F320J that is writen by Keil. But when i try to load the program with this code Ulink says "Can not load Flash Programming Algorithm" & "Insuffi...


contiiki for LPC

Started by "Ake Hedman, eurosource" in LPC200018 years ago 13 replies

Hi All, I am planning to start to port Contiki (http://www.sics.se/~adam/contiki/) for use on this LPC2129 based board...

Hi All, I am planning to start to port Contiki (http://www.sics.se/~adam/contiki/) for use on this LPC2129 based board http://www.vscp.org/wiki/doku.php?id=roma_-_ethenet_based_2_x_can_interface_for_vscp that is part of the VSCP project (http://www.vscp.org) and also for the Olimex E2129 board. The question is if someone know if this has been done for the LPC, partially or comple...


RTCK high or low on LPC2103?

Started by kevin_townsend2 in LPC200015 years ago 6 replies

I've been looking at a variety of schematics for an LPC2103 board I was working on, and it I've seen RTCK on the JTAG port pulled both high and...

I've been looking at a variety of schematics for an LPC2103 board I was working on, and it I've seen RTCK on the JTAG port pulled both high and low on different schematics. I pulled it high on my board (following an 2103 Olimex board I use), but I'm not really sure if I made the correct choice now and the 2103 datasheet doesn't seem to be much help. All I found was: "Returned test clock outpu...


LPC2388 + Micrel KSZ8721 chip

Started by freudenbergerdavid in LPC200015 years ago 3 replies

Hello, I'm working on a project based on a LPC2388 and a Micrel KSZ8721 chip. I purchased a kit from Olimex (LPC2378 board) and I found out...

Hello, I'm working on a project based on a LPC2388 and a Micrel KSZ8721 chip. I purchased a kit from Olimex (LPC2378 board) and I found out there was a mistake on the schematic : the pin 22 (CRS) and the pin 9 (CRSDV) of the Micrel are connected together on the board (a small wire below the chip has been added) but it is not mentionned on the schematic... Why these pins are connected toget...


Loading and Running LPC2103 with GDB/OpenOCD without Insight?

Started by rsturmer in LPC200016 years ago 2 replies

I'm working with an LPC2103 Olimex Dev kit with GCC/OpenOCD/GDB/arm-elf-insight. I can get the part loaded up in insight and kick off my...

I'm working with an LPC2103 Olimex Dev kit with GCC/OpenOCD/GDB/arm-elf-insight. I can get the part loaded up in insight and kick off my program just fine, but want to "graduate" to using just the GDB interface (insight is a lot of clutter for me, and I prefer the console interace) I can't figure out though how to kick off my program once I've got it loaded. Here's my session: GNU gdb 6...


LPC2378 ADC Result Error!

Started by quesha0811 in LPC200012 years ago 7 replies

Hello...I am trying to use the ADC of LPC2378 from olimex lpc2378-stk kit...i am able to read the value but there is a difference in the value...

Hello...I am trying to use the ADC of LPC2378 from olimex lpc2378-stk kit...i am able to read the value but there is a difference in the value displayed from the actual value...i have tried 3 sets of readings as follows: 1.302V (input - observed from Digital multimeter) - 1.875V (displayed by ADC) 2.639V (input - observed from Digital multimeter) - 2.871V (displayed by ADC) 1.980V (input ...


Keil and LPC 2103 problems

Started by victor serov in LPC200018 years ago 1 reply

Hi to all. I have a board from Olimex with LPC-2103. My first problem - I can't download program to the board with ULINK and JTAG. I receive...

Hi to all. I have a board from Olimex with LPC-2103. My first problem - I can't download program to the board with ULINK and JTAG. I receive the message - "Cannot load flash programming algorithm" I use algorithm "LPC2000 IAP2 32kb Flash". If I use Philips FLASH utility via RS232 all works fine. And JTAG download works correct with other ARMs (STR7). And second and bigger problem - For e...


lpc2148 prototype problem with JTAG (ULINK- Keil)

Started by zahovic in LPC200016 years ago 10 replies

Hello, I' ve just assembled a board with a LPC2148 and i can't connect with ULINK and Keil. I can download software using internal...

Hello, I' ve just assembled a board with a LPC2148 and i can't connect with ULINK and Keil. I can download software using internal bootloader and com0 (p0.14 pulldown) with LPC210x_ISP utility. i have a prototype board from Olimex, and i can download software in both modes (ISP and JTAG), so my ulink is working. But on my own prototype when i try to download, keil shows a message: "...


example CRT.s, Makefile and Linkerfile for developingC++ software on Eclipse

Started by Noman Mahmood in LPC200012 years ago 2 replies

Sorry I forgot to change the Subject in previous Email. Could anyone send me a sample gnu toolset(CRT.s, Makefile and=20 Linkerfile)for...

Sorry I forgot to change the Subject in previous Email. Could anyone send me a sample gnu toolset(CRT.s, Makefile and=20 Linkerfile)for developingC++ software on Eclipse for lpc2106=20 board(Olimex LPC2106) or any LPC2106 board asI can change the board=20 specific modules to suit my board. I have the right file for C=20 development not for C++. =A0 =A0=20 =A0 Thank you in advance. Be...


Out of ram memory when trying to debug with IAR (LPC2378)

Started by Mircea Stanciu in LPC200015 years ago 6 replies

This is a duplicate from sparkfun electronics forum: PC side: IAR Elf Linker for ARM 5.30.0.51174 (5.30.0.51174) H-JTAG server v0.9.0 HW...

This is a duplicate from sparkfun electronics forum: PC side: IAR Elf Linker for ARM 5.30.0.51174 (5.30.0.51174) H-JTAG server v0.9.0 HW Side: Olimex LPC2378STK IAR RAM DEBUG Settings: define symbol __ICFEDIT_region_ROM_start__ = 0x00; define symbol __ICFEDIT_region_ROM_end__ = 0x00; define symbol __ICFEDIT_region_RAM_start__ = 0x40000044; define symbol __ICFEDIT_region_RAM_end__ =...



The 2024 Embedded Online Conference