EmbeddedRelated.com
Memfault Beyond the Launch

"LPC2148_Demo_v120" build under windows with gnuarm and cygwin

Started by acarlosss1 in LPC200016 years ago 11 replies

Hello all, Has anybody managed to build this "demo package" from "J.C. Wren" in windows with cygwin/gnuarm ? I'm getting a lot of errors......

Hello all, Has anybody managed to build this "demo package" from "J.C. Wren" in windows with cygwin/gnuarm ? I'm getting a lot of errors... All files compile OK (with some minor warnings), but the linking won't work. I think it's because of cygwin's handling of windows directories... I.E., "G:\LPC2148_Demo" is translated by cygwin by "/cygdrive/g/LPC2148_Demo", as you can see in the "pwd"...


LPC2132FBD4 RS485 polling problem: random resets

Started by chad...@bigpond.com in LPC200011 years ago 15 replies

I have an interesting issue with a product thats been in production for 7 years that now uses an LPC2134FBD64/01 it was originally designed using...

I have an interesting issue with a product thats been in production for 7 years that now uses an LPC2134FBD64/01 it was originally designed using an LPC2132FBD64 before the /01 parts where released, but the LPC2134FBD64/01 device has been used for years without any issues. The product is polled from a PC via an Aten RS232 to RS485 converter and for years this setup worked fine with very f...


uIP checksum problem (LPC2378)

Started by Tim Mitchell in LPC200015 years ago 4 replies

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC...

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC shows a checksum error. I've gone through Paul's code for LPC2124 which helped with some structure packing issues, but unfortunately I started with the latest version of uIP which has changed quite a bit from that. I have checked with the FreeRTOS ...


LPC2129 - Capture help requested :)

Started by Lasse Madsen in LPC200019 years ago 1 reply

Hi all I'm sitting with the MCB2100 from Keil trying to get the capture input CAP1,0 & CAP1,1 to work (P0.10 and P0.11) I...

Hi all I'm sitting with the MCB2100 from Keil trying to get the capture input CAP1,0 & CAP1,1 to work (P0.10 and P0.11) I have used the following code to make the inputs capture friendly... PINSEL0&=0xFFAFFFFF; T1CCR=0x1B; // I would like to captur


CAN baudrate setting

Started by mouaaz in LPC200019 years ago 7 replies

Dear all, I am using two LPC2129 boards having 12 MHz clock, with CCLK and PCLK set to 60 MHz. They are connected via a CAN...

Dear all, I am using two LPC2129 boards having 12 MHz clock, with CCLK and PCLK set to 60 MHz. They are connected via a CAN link. I am trying to set the bus timing register C1BTR to run the CAN at the baudrate of 1 Mbit/s. The value I tried is : C1BTR =


CAN controller 2 on the LPC2129

Started by daniela_boyo in LPC200019 years ago 2 replies

Hi everyone, I'm having some problems using the 2nd CAN controller network on the LPC2129 ARM board. So far I have...

Hi everyone, I'm having some problems using the 2nd CAN controller network on the LPC2129 ARM board. So far I have successfully used the 1st CAN controller and I'm now trying to incoorporate the 2nd one. I'm using the same code as the 1st one except that I have chang


Philips Flash Utility V2.2.0 (max baud rate = 38400???)

Started by janehighland in LPC200019 years ago 14 replies

Hi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? ...

Hi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? I tried it on an LPC2214 as well as an LPC2129, both with 12MHz xtals. Thanks Jane


__ram attribute in Keil CA compiler

Started by varuzhandanielyan in LPC200019 years ago 1 reply

I have written very simple code just to evaluate the LPC2129 speed for the Keil MCB2100 board: void Meander(void) { ...

I have written very simple code just to evaluate the LPC2129 speed for the Keil MCB2100 board: void Meander(void) { unsigned int n; n = 0x00010000; while (1) { IOSET1 = n; IOCLR1 = n; } } It works well and I can s


Re: freeRTOS for LPC2129

Started by Dan Beadle in LPC200019 years ago 4 replies

I am interested in this too. -----Original Message----- From: [mailto:] Sent: Friday, November 12, 2004 11:27 AM To: ...

I am interested in this too. -----Original Message----- From: [mailto:] Sent: Friday, November 12, 2004 11:27 AM To: Subject: [lpc2000] freeRTOS for LPC2129 Hello, anyone already implemented the freeRTOS in LPC2129, if yes, can supply


IAP command problems

Started by koerner_stefan in LPC200019 years ago 4 replies

Could anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and...

Could anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and tried to run a small sample calling the IAP commands (program runs from iRAM). Most time I get a "memory access violation" several


IAR, JLINK and PLL problems

Started by itsjustimpossible in LPC200020 years ago 5 replies

Hi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing...

Hi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing is criticle but the use of the PLL is preventing the Jlink connecting. The only way around this is to use the Philips Flash utility to erase the


A/D converter of LPC2129

Started by daniela_boyo in LPC200020 years ago 2 replies

Hi everyone, I'm having some problems with using the A/D converter of the LPC2129 ARM board. I'm interfacing the board with an...

Hi everyone, I'm having some problems with using the A/D converter of the LPC2129 ARM board. I'm interfacing the board with an LM35DZ temperature sensor which has an output voltage proportional to the required temperature (eg 0.68V is equal to 68 degrees C). I


LPC2129 PWM

Started by lehighuboy in LPC200020 years ago 1 reply

I'm using the Keil uVision IDE tool and the LPC2129. My question is about setting up single edge hardware PWMs. Someone previously ...

I'm using the Keil uVision IDE tool and the LPC2129. My question is about setting up single edge hardware PWMs. Someone previously posted the following code: REG(PWM0_PR)=0x0000; //no prescaler - one cpu clk is one PWM clk REG(PWM0_MCR)=0x0002; //Reset timer counter register


LPC2129 CAN examples?

Started by embeddednut in LPC200020 years ago 14 replies

Does anyone have an example program yet for using the CAN interfaces on the LPC2129? FullCAN mode is what I am trying to use. I...

Does anyone have an example program yet for using the CAN interfaces on the LPC2129? FullCAN mode is what I am trying to use. I have a simple example going, but reception seems to stops as soon as I increase bandwidth :-( Peter


Simulation in Proteus

Started by anish kumar in LPC200014 years ago 2 replies

Hello everyone i have written a simple led code for LPC2124 in keil. It is not simulating in Proteus. Please help as i have practical exams on...

Hello everyone i have written a simple led code for LPC2124 in keil. It is not simulating in Proteus. Please help as i have practical exams on it. Below is source code :- #include void delay(void); int main() { ??? IODIR0 = 0xFFFFFFFF; ??? IOCLR0 = 0x00000000; ??? while(1) ??? { ??? IOSET0 = 0xFFFFFFFF; ??? delay(); ??? IOCLR0 = 0x00000000; ??? delay(); ??? }


LPC2124 help needed

Started by MAYURESH M in LPC200014 years ago 5 replies

Hello all. I am working with microcontroller board based on LPC2124. To test the board i made a test code using KEIL uVision 3 and programmed the...

Hello all. I am working with microcontroller board based on LPC2124. To test the board i made a test code using KEIL uVision 3 and programmed the board using RS232 and flash magic. The prgramming process is completed but the code doesn't run. Here is the code and the basic overview of the schematic. #include int main() { IO0DIR = 0x00000000; while(1) { IO0CLR = 0x00


URGENT HELP NEEDED!!

Started by MAYURESH M in LPC200014 years ago 6 replies

Dear all, I have built a microcontroller development board for LPC2124 and have used a USB interface for programming the device since my PC...

Dear all, I have built a microcontroller development board for LPC2124 and have used a USB interface for programming the device since my PC and laptop both dont have any COM port connector. I have used FTDI's FT232BL chip for the purpose. When connected to the USB port the PC detects it as a USB to Serial converter and treats it as a virtual com port and assigns it a COM port number. ...


How to capture 25ms, Infrared (TSOP1138)?

Started by serg...@yahoo.com in LPC200015 years ago 9 replies

Dear friends, I use WinARM and need your help. I have a LPC2124 have connected the TSOP data output to GPIO P0.8 and to CAP P.30. I will...

Dear friends, I use WinARM and need your help. I have a LPC2124 have connected the TSOP data output to GPIO P0.8 and to CAP P.30. I will capture in 1us resolution and will output it after the 25ms are complete via UART0 to the terminal. I know these are 25000 samples. Who can give me an example to solve this big problem for me. Thanks in advanced. BR, Sergej ------------------------------...


Question about interrupts and the ARM interupt registers.

Started by Mark Gross in LPC200020 years ago 2 replies

This may be, perhaps, a bit off topic. I'm trying to make sense of the IRQ modle of the ARM core on the lpc2124. My ...

This may be, perhaps, a bit off topic. I'm trying to make sense of the IRQ modle of the ARM core on the lpc2124. My understanding of how this works is based on the ARM port to Linux, and the ARM refrence manual. I'm a bit confused. On IRQ interrupt (not


Can't understand interrupts

Started by Cristi Neagu in LPC200012 years ago 25 replies

Hello. I'm a newb on these forums and on ARM programming, so any help would be appreciated. I've been trying to get my head around interrupts,...

Hello. I'm a newb on these forums and on ARM programming, so any help would be appreciated. I've been trying to get my head around interrupts, and i'm not making any progress. I've been looking over the LPC2119 manual, as well as over "The Insider's Guide for Philips" book, and I can't figure out what i'm doing wrong. What I'm trying to do is to generate a fast interrupt via EXTINT1 that wil...



Memfault Beyond the Launch