Problems flashing LPC2138

Started by markevans_1 in LPC200014 years ago 2 replies

Hi I have a LPC2138 soldered onto my own board. I have a USB-serial bridge IC attached to UART0. I am using a 12MHz crystal (I have also ...

Hi I have a LPC2138 soldered onto my own board. I have a USB-serial bridge IC attached to UART0. I am using a 12MHz crystal (I have also tryed 16MHz) I have no 32kHz crystal attached. Using Phillips flash utility I can read device ID: 196389, Boot loader ID: 2.0. I can successfully erase and blank check. However when I attempt to Upload


LPC2138

Started by sudip nag in LPC200014 years ago 4 replies

Hi Everyone, I like to start with LPC2138 JTAG programming. Can you provide a link from where I will get the 14 pin and 20 pin JTAG...

Hi Everyone, I like to start with LPC2138 JTAG programming. Can you provide a link from where I will get the 14 pin and 20 pin JTAG Wiggler Circuits. I find Olimex is not disclosing the ARM-JTAG circuit. Regards. Sudip Nag Yahoo! India Matrimony: Find your life partneronline.


LPC ADC

Started by Rahul Gaikwad in LPC200012 years ago 2 replies

does the ADC of LPC2138 work in bipolar mode i have a 50 hz 2.5V sine wave which i need to sample using the...

does the ADC of LPC2138 work in bipolar mode i have a 50 hz 2.5V sine wave which i need to sample using the lpc2138 regards, cosmoalien ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 ...


LPC2138 Reset time

Started by "Charles R. Grenz" in LPC20008 years ago 2 replies

Hi everyone, Sorry if this sounds foolish but I have been looking over the updated specifications of the LPC2138 processor on timing of the...

Hi everyone, Sorry if this sounds foolish but I have been looking over the updated specifications of the LPC2138 processor on timing of the external RESET input. In the older specifications it used to say there needed to be a 300ms active low signal and now I can only find references about what RESET does but no timing. Anyone know off the top of their heads what it should be? t...


LPC2138 Watchdog

Started by tah2k in LPC200015 years ago 2 replies

When enabled and timed out, the LPC2138 watchdog with generate an interrupt and may cause a reset depending on the state of ...

When enabled and timed out, the LPC2138 watchdog with generate an interrupt and may cause a reset depending on the state of WDMOD:WDRESET bit. I can see the interrupt being useful during debugging when the reset is disabled, but does it serve any purpose when the res


Help with freeRTOS please! LPC2138 - Possibly silly question

Started by hus_kalydonios in LPC200012 years ago 3 replies

Hi all, I'm trying to adapt the LPC2138 Rowley port of freeRTOS (which works very well) to use on my olimex lpc-mt-2138 eval board. The...

Hi all, I'm trying to adapt the LPC2138 Rowley port of freeRTOS (which works very well) to use on my olimex lpc-mt-2138 eval board. The button interrupt is set up as standard for P0_14 and I'm trying to change it to P0_15 but I'm confused. It seems to be declared like this: #define mainP0_14__EINT_1 ( 2 < < 28 ) #define mainEINT_1_EDGE_SENSITIVE 2 #define mainEINT_1_


LPC2138 Floating Point sprintf

Started by stephen_osborn_co in LPC200012 years ago

I cannot get sprintf to use a floating point number. It crashed when executed. Even sprintf(S, "%f", 1.1) causes a crash. The .map file...

I cannot get sprintf to use a floating point number. It crashed when executed. Even sprintf(S, "%f", 1.1) causes a crash. The .map file indicates that libstdc++.a, libm.a, libg.a, and libc.a are all loaded. CPU = LPC2138 Using Yagarto tool set, compiler version = 4.2.1 What am I missing?


LPC2138 - RTC Xtal...

Started by Lasse Madsen in LPC200014 years ago

Hi All, I have a pending design with an LPC2138 device where I have attached a watch crystal as shown in the datasheet. I would...

Hi All, I have a pending design with an LPC2138 device where I have attached a watch crystal as shown in the datasheet. I would like the internal oscillator to drive an external pressure sensors clock input which requires a 32,786 KHz clock input, but can the RTXC2 pin be used as a clock output buffer? Regards Lasse Madsen


LPC2138 open drain for I2C

Started by Gus in LPC200014 years ago 2 replies

Hello, It seems like the LPC2138 has 2 I2C built in. Does this mean that now we have 4 open drain pins on this chip? ...

Hello, It seems like the LPC2138 has 2 I2C built in. Does this mean that now we have 4 open drain pins on this chip? Thanks, Gus


interfacing zigbee with LPC2138

Started by deepa karthikeyan in LPC200010 years ago 5 replies

Hi.I am doing a project on transmission of ECG signals through wireless modes. I have planned to use zigbee. Is this project possible.I heard...

Hi.I am doing a project on transmission of ECG signals through wireless modes. I have planned to use zigbee. Is this project possible.I heard that LPC2138 microcontroller will support zigbee. Is there any other LPC series which will support zigbee. Pls help me at the earliest. Thanks, Deepa


lpc2138 5V tolerant is not really tolerant!

Started by Gus in LPC200014 years ago 14 replies

On my board I have LPC2138 connected to MAX232 running at 5V. I had problems with UART until I added a 4.7K resistor in series. and the...

On my board I have LPC2138 connected to MAX232 running at 5V. I had problems with UART until I added a 4.7K resistor in series. and the voltage high on it now is 2.3V Are the pins real 5V tolerant? The data sheet says UART RX is 5V tolerant!!! Thanks in advance Gus


LPC2138 Socket

Started by tah2k in LPC200013 years ago 2 replies

Hi- I'm currently bringing up a custom LPC2138 based board. I am able to flash code into the processor using the Philips utility once and...

Hi- I'm currently bringing up a custom LPC2138 based board. I am able to flash code into the processor using the Philips utility once and only once. After that, the processor never responds to the flash requests. I have verified the processor is seeing the appropriate reset and ISP requests. The only thing I can think of is maybe the processor is getting clobbered. Can anyone recommend


complier stuff for LPC2138

Started by gsudershanraj in LPC200015 years ago 6 replies

Guys, Quite new to the ARM processor, I have choosen LPC2138 for our application. I under stOod that the free sourcecode...

Guys, Quite new to the ARM processor, I have choosen LPC2138 for our application. I under stOod that the free sourcecode available for GNU GCC and GNU GDB for the ARM processor. Can somebody suggest where can I find the exact required details. Thanks in


Struggling with LPC2138 IAP.

Started by r_bottleneck in LPC200014 years ago 4 replies

Hi, I'm struggling with IAP of the LPC2138. I got some program examples, but all fail . I'm getting 0x0000000C (prefetch aboard) ...

Hi, I'm struggling with IAP of the LPC2138. I got some program examples, but all fail . I'm getting 0x0000000C (prefetch aboard) during execution of iap_entry (command,result); As far as I can verify command and result are correct, as well as the address of IAP_LOCATION. Could sombody advice or guess what's going wrong , p


Olimex LPC2138

Started by Pavan Kandepet in LPC200012 years ago 11 replies

Hello, Does anybody in this group own a LPC2138 board from Olimex? I want to try out the sample examples presented on their website and...

Hello, Does anybody in this group own a LPC2138 board from Olimex? I want to try out the sample examples presented on their website and I cant seem to find the required header files. If anyone has a simple working code for LED blinking, I would be thankful if i could get the source with the required header files. -thanks -Pavan ____________________________________________...


The size of compilered LWIP?

Started by applehuu in LPC200013 years ago 4 replies

I use LPC2138.I want port us/os-II and Lwip. LPC2138 has 512KB RAM,32KB ROM. Can it run? ------------------------ Yahoo! Groups Sponsor...

I use LPC2138.I want port us/os-II and Lwip. LPC2138 has 512KB RAM,32KB ROM. Can it run? ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/dN_tlB/TM --------------------------------------------------------------------~->


How to use a sleep() function LPC2138

Started by pouettagada in LPC200010 years ago 5 replies

Hi, I'd like to use the sleep() function in my code for a LPC2138. But it seems that this function is not working. (no building of my code...

Hi, I'd like to use the sleep() function in my code for a LPC2138. But it seems that this function is not working. (no building of my code with crossworks) I need it for wait before reading a value from an ADC on the SPI bus. May be I have missing the right library? Can you help me? here is the extract from the source code : tab_write_adc[0]=0x80; // lecture channel 1, setup ...


LPC2138 IAR UART code not always working

Started by SR in LPC200013 years ago

Hello All, Ok, I have an issue with the UART on the LPC2138(IAR starter kit) with the sample code when I call the GetChar(UART1) function it...

Hello All, Ok, I have an issue with the UART on the LPC2138(IAR starter kit) with the sample code when I call the GetChar(UART1) function it seems to work sometime, other it goes into a dead loop on the while(!...) and other times it will hit the vectors on address 0x0 anyone knows what's going on?? Samuel


LPC2138 ISP

Started by Jan Szymanski in LPC200015 years ago 12 replies

I have 2 samples of LPC2138 and built a proto board. I was suprised to find out that Philips ISP programming software doesn't...

I have 2 samples of LPC2138 and built a proto board. I was suprised to find out that Philips ISP programming software doesn't support it. When I read the ID (partID: 196389) I had an error message: device not supported. (Why Flash utility is in LPC213X folder if it doesn't


EINT only works 170 times

Started by abat...@gmail.com in LPC200013 years ago

Crossworks 1.6 - LPC-P2138 board from Olimex - LPC2138 cpu I have a external interrupt working, but after approximately 170 interrupts...

Crossworks 1.6 - LPC-P2138 board from Olimex - LPC2138 cpu I have a external interrupt working, but after approximately 170 interrupts everything dies. Even the main loop stops. Is there anyone who knows what the problem could be? I have not change anything in the startup.s. The code is: #include #include #define EINT1_INT 15 static int isrCo