EmbeddedRelated.com

Open source TCP/IP stack / RTOS for LPC2138

Started by householder_lpc in LPC200018 years ago 1 reply

I'm trying to build a control platform using a LPC2138 processor. Is there any open source TCP/IP stack and RTOS available which can be used?...

I'm trying to build a control platform using a LPC2138 processor. Is there any open source TCP/IP stack and RTOS available which can be used? I came across FreeRTOS, which seems interesting. Does anyone have any experiences with this? Is it a decent OS? Thanks for all possible info.


Philips Flash Utility for LPC2148?

Started by skyspyco in LPC200018 years ago 6 replies

I recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver....

I recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver. 2.2.0) that I was using for the LPC2138 does not include the LPC2148 in its supported devices list. What are you using to program the flash on the LPC2148? Is Lpc21isp the only free Win tool for flash programming on the LPC2148? Thanks, Paul


LPC2138: watchdog as periodic timer ?

Started by Marcio Zaquela in LPC200018 years ago 1 reply

Hi guys, I searched the messages and I couldn't find a final answer concerning this issue. Is it possible to use the watchdog as a periodic...

Hi guys, I searched the messages and I couldn't find a final answer concerning this issue. Is it possible to use the watchdog as a periodic timer or not ? According LPC2138 user manual it is not possible: "WDINT: The Watchdog Interrupt Flag is set when the watchdog times out. This flag is cleared when any reset occurs. Once the watchdog interrupt is serviced, it can be disabled in ...


JTAG Programming for LPC2138

Started by sudipnag1 in LPC200019 years ago 2 replies

I have tried to program a fresh/new LPC2138 using Wiggler and Cross Studio 1.4. After creating a new project and copying a sample program...

I have tried to program a fresh/new LPC2138 using Wiggler and Cross Studio 1.4. After creating a new project and copying a sample program I have built the code. But unable to initialize JTAG port (The message is "Cannot identify target. Check JTAG connections and that the target is powered". The chip was powered and JTAG connection was corre


Migrating from LPC2132 to LPC2138

Started by hschew00 in LPC200014 years ago

I have a working board with LPC2132 on it. Due to its flash size concern, I= replace it with LPC2138. Nothing change on the C codes and its...

I have a working board with LPC2132 on it. Due to its flash size concern, I= replace it with LPC2138. Nothing change on the C codes and its header LPC2= 13x.h. The compiler that I use is IDE-Version: =B5Vision3 V3.23 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2005 Tool Version Numbers: Toolchain Path: C:\Keil\ARM\BIN\ C Compiler: CA.Exe V2.42 Assembl...


Linux and lpc21isp v1.24 (using for LPC2138) hangs

Started by drchlik in LPC200019 years ago 2 replies

Hello, I have problem with lpc21isp v1.24. I use it with development board MCB2130. This board have LPC2138 processor. Sometimes when...

Hello, I have problem with lpc21isp v1.24. I use it with development board MCB2130. This board have LPC2138 processor. Sometimes when I want to flash new sotware I will get ioctl get failed ioctl set failed at the end of flashing cycle. (After lpc21isp prompt "Now lauching the rand new code". After that I'm not able to flash anything. When


Problem Starting Up LPC2138 Board

Started by Geoffrey Wossum in LPC200016 years ago 3 replies

Hi all, I'm trying to get started on a custom board using an LPC2138. To jump start things, I got an eval of the Rowley Cross Studio for...

Hi all, I'm trying to get started on a custom board using an LPC2138. To jump start things, I got an eval of the Rowley Cross Studio for ARM, and installed the LPC2000 CPU support package. I can compile programs using Cross Studio, and download them using lpc21isp. Problem is, nothing happens. To start out, I just took a blinky example that goes with a Keil eval board. It's simpl...


CrossWorks lpc2138 Project build

Started by aamir shakoor in LPC200013 years ago 7 replies

Hi all,I got a problem if some one could help pls.I got a project created by one company (although one guy works there), it is in crossworks IDE...

Hi all,I got a problem if some one could help pls.I got a project created by one company (although one guy works there), it is in crossworks IDE and lpc2138 processor. The hex file that is created by their system is 156 kb size. But when I build the same project (release configuration), the file is 177 kb size. Also the wake up (blink red led twice with a difference of 200 ms) signals this files g...


ADC on LPC2134 vs. ADC on LPC2138

Started by gaquaycalifornia in LPC200018 years ago 2 replies

Hi, Please help with the Adcs. I having problem of reading conversion from ADC_1. LPC2134/6/8 have two ADCs and 16 pins to connect to. I wrote...

Hi, Please help with the Adcs. I having problem of reading conversion from ADC_1. LPC2134/6/8 have two ADCs and 16 pins to connect to. I wrote the following code. and it runs fine in the evaluation board LPC2138, but not the target board LPC2134. Here is what I did. Initialize ADC0 Initialize ADC1 Both has interrupt vectors assigned to. #define configure_adc_0 0x01215F00 #define configure_


Program for 16x2 lcd using LPC2138

Started by "deepak k." in LPC200013 years ago 2 replies

Hello friends, i want a program for 16x2 lcd display used with LPC2138 in keil c. i m using 8 bit mode. So plz if anyone has this program then...

Hello friends, i want a program for 16x2 lcd display used with LPC2138 in keil c. i m using 8 bit mode. So plz if anyone has this program then plz mail it to me! Thanks n regards! mail id- d...@gmail.com


Problem of using LPC2138 to SPI interface with DAC LTC1451

Started by ntchien2013 in LPC200011 years ago 12 replies

i am trying to use LPC2138 to control LTC1451 (DAC) by SPI protocol. I use Keil MDK-ARM uvision4. LTC1451: 12 bit, CPHA=0, CPOL=0; When CS is...

i am trying to use LPC2138 to control LTC1451 (DAC) by SPI protocol. I use Keil MDK-ARM uvision4. LTC1451: 12 bit, CPHA=0, CPOL=0; When CS is low the CLK signal is enable, so the data can be locked in. When CS is pulled high, data is loaded from the shift register into the DAC register. Load MSB first. My code is as the following. However, when I simulated with Proteus, it is not as the valu...


lpc2138 + DS18b20

Started by ziya_erdemir in LPC200014 years ago 6 replies

I am newbie on lpc21xx and have a problem with delay function (I have uploaded the compressed code into Files area of the...

I am newbie on lpc21xx and have a problem with delay function (I have uploaded the compressed code into Files area of the list, http://tech.groups.yahoo.com/group/lpc2000/files/Temporary/06_ds18x20.rar) My problem is: Attached LPC2138+DS18b20 code reads -0.5 oC from the DS18b20 (Schematics of the board I used is shown in Proteus ISIS model DS18B20.DSN, btw, isis can not simulate it). Program...


SPI interface with LPC2138

Started by namratha harikanth in LPC200010 years ago 4 replies

I need code for SPI interface with LPC2138 as soon as possible

I need code for SPI interface with LPC2138 as soon as possible


LPC2138 UART bug or docs problem?

Started by Stephen Pelc in LPC200018 years ago 26 replies

While testing a Flash copy routine for an LPC2138, I foolishly inserted some test code and ran into the following problem. 1) The code runs...

While testing a Flash copy routine for an LPC2138, I foolishly inserted some test code and ran into the following problem. 1) The code runs in RAM 2) 14.7... MHz XTAL, clock = xtal*4, VPBDIV=1 3) All interrupts disabled 4) UART0 at 115200 baud. If the UART character transmit loop is too tight when sending a string, transmission fails. dis emit EMIT ( 4000.02DC 24801FE5 $..e ) l...


how to find flash occupied by hex file in LPC2138

Started by "NAGARAJU R." in LPC200016 years ago 2 replies

Hi, I am using local IDE for lpc2138 in which there is no facility to know how much flsh has been used by our hex file which is loaded in...

Hi, I am using local IDE for lpc2138 in which there is no facility to know how much flsh has been used by our hex file which is loaded in controller through uart0.I am not using jtag debugging, i am just using uart0 for programming and debugging. But I want to know how much flah memory has been occupied in controller flash memory and how much is left. Please tell me how to calculate the...


UART0 - does not work while UART1 does

Started by Giuseppe Marullo in LPC200015 years ago 8 replies

Hi, I need someone to be mercy and send me a compiled gcc example of a program to send test chars on uart0 and uar1 for a LPC2138@24MHz. I...

Hi, I need someone to be mercy and send me a compiled gcc example of a program to send test chars on uart0 and uar1 for a LPC2138@24MHz. I cannot think anything wrong with what I do and that basically works for uart1. Uart0 is connected thru an FPGA, Uart1 is directly connected to a serial port. The fpga is programmed to just forward the signals between the LPC2138 and a serial port. O...


Timer interrupts on LPC2138

Started by ylavoie66 in LPC200018 years ago 6 replies

Has anyone ever experienced a similar problem with timers on the LPC2138? I want to get a timer to generate an interrupt at every 1ms (system...

Has anyone ever experienced a similar problem with timers on the LPC2138? I want to get a timer to generate an interrupt at every 1ms (system tick). I configured the prescaler so the timer would count with a 1ms period, and the match register set so the timer would generate an interrupt every 1ms. This resulted in a 2ms system tick ??!! As a test, I changed my prescaler, so the c...


Re: LPC2138 ADC problem

Started by klemen_dovrtel in LPC200017 years ago

--- In l...@yahoogroups.com, "agentkozz" wrote: > > --- In l...@yahoogroups.com, "Leon" wrote: > > > > ----- Original Message...

--- In l...@yahoogroups.com, "agentkozz" wrote: > > --- In l...@yahoogroups.com, "Leon" wrote: > > > > ----- Original Message ----- > > From: "klemen_dovrtel" > > To: > > Sent: Thursday, October 18, 2007 11:21 AM > > Subject: [lpc2000] Re: LPC2138 ADC problem > > > > > > > --- In l...@yahoogroups.com, "Leon" w


stack, srt0.S and *.ld files in WinARM

Started by Grzegorz Reszka in LPC200018 years ago 5 replies

Hello, I`m newbie in ARM uC and I wanted to write in WinARM a simple (transition of LED) programme on LPC2138. But during linking (when I ...

Hello, I`m newbie in ARM uC and I wanted to write in WinARM a simple (transition of LED) programme on LPC2138. But during linking (when I use RUN_MODE=ROM_RUN, that means LPC2138-ROM.ld file) it returns following error: Linking: LED.elf arm-elf-gcc -mthumb -mcpu=arm7tdmi-s -mthumb-interwork -I. -gdwarf-2 -DROM_RUN -Os -Wall -Wcast-align -Wcast-qual -Wimplicit -Wpointer-arith


LPC2131 samples out now, LPC2132-LPC2138 User Manual

Started by johnnorgaard2003 in LPC200019 years ago 5 replies

Hi All Just received a sample of LPC2131. Have uploaded LPC2132-LPC2138 User Manual Prelim. Have waited 3 months to...

Hi All Just received a sample of LPC2131. Have uploaded LPC2132-LPC2138 User Manual Prelim. Have waited 3 months to receive samples from ATMEL AT91SAM7S32, still no samples. Have waited 3 weeks from Philips to receive LPC2131. Philips rules, so do the