EmbeddedRelated.com

SD card problem!

Started by Atanas Tulbenski in LPC200019 years ago 14 replies

I'm using SD card with LPC2124. At first I used software SPI and everything was fine. When I start using hardware SPI got...

I'm using SD card with LPC2124. At first I used software SPI and everything was fine. When I start using hardware SPI got problem. The SD card initializes, I can read serial numbers, but I cant read data using CMD17. The card returns error code 0x04 "ilegal command". An


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


LPC2138

Started by subb...@gmail.com in LPC200015 years ago 30 replies

Hi, Is it a wise decision to use LPC2138 for new design? I need to choose a device, which will have supply/support for another 15 years.. Will...

Hi, Is it a wise decision to use LPC2138 for new design? I need to choose a device, which will have supply/support for another 15 years.. Will NXP supply/support LPC2138 for another 15 years. Or will they vanish soon. Any known issues with LPC21238. Flash data retention for 15 years? Thanks in advance. Regards, Subbiah ------------------------------------


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...


LPC2119 Recieve CAN message

Started by niwa284 in LPC200013 years ago 10 replies

hi there, this is my first post here so please be patient with me. i am working with a LPC2119 and i am trying to get the CAN...

hi there, this is my first post here so please be patient with me. i am working with a LPC2119 and i am trying to get the CAN interface working. currently my code is based on the CANFull_V110 example code. Transmitting messages is working like a charm but recieving does not work at all. not one single message gets recieved. not even the ISRs for recieving are called. i tried both CAN1 and ...


Loading data serially on a GPIO pin.

Started by Dhinesh in LPC200013 years ago 12 replies

Hello; I am new to ARM. i am using LPC2119 development board. i need to send a array of hexadecimal value serially to a GPIO. in simpler way is...

Hello; I am new to ARM. i am using LPC2119 development board. i need to send a array of hexadecimal value serially to a GPIO. in simpler way is i need to interface 74hc595 shift register to ARM. i dont want to interface with SPI, i need to do it manually using GPIO. I did some programming but it shows error. I use Keil uvision, realview compiler. Here the program. #include #de


Flash Memory read/write LPC2119

Started by Kemal Onyurt in LPC200014 years ago 5 replies

Hi All, which is the easiest and fastest way store datas on chip flash and want to use in different times ? Hope there must be more people...

Hi All, which is the easiest and fastest way store datas on chip flash and want to use in different times ? Hope there must be more people working on sunday. take care Kemal


LPC2119 How to block or disable interrupts momentarily

Started by "alastair.stell" in LPC200014 years ago 2 replies

Newbie unfortunately. I need to pass data received from a CANbus interrupt interrupt to the application (note I am not using an RTOS at...

Newbie unfortunately. I need to pass data received from a CANbus interrupt interrupt to the application (note I am not using an RTOS at present). I am looking for a safe way to pass data acquired by the interrupt into the application. I was hoping to use a simple fifo queue mechanism but I am concerned the application and interrupt might collide while accessing the fifo queue. So I was cons...


LPC210x Flash Utility with RTS/DTR Control

Started by Richard in LPC200020 years ago 6 replies

I have uploaded this version to the files area. I also uploaded a picture of the required circuitry. This circuitry is already ...

I have uploaded this version to the files area. I also uploaded a picture of the required circuitry. This circuitry is already implemented on the IAR Kickstart and Keil MCB2100 evaluation boards. It is really handy as ISP development can be done relatively quickly and "hands


Re: LPC2106 SPI Master Receive 16-bits of data From Slave

Started by Alexan_e in LPC200013 years ago 5 replies

The 16bit spi is only possible with LPC2106/01, If you set SPCR for 16 bit spi by setting bit2=1 and bits11:8=0000 then you will get a 16...

The 16bit spi is only possible with LPC2106/01, If you set SPCR for 16 bit spi by setting bit2=1 and bits11:8=0000 then you will get a 16 bit result in the SPDR register. If you have LPC2106 then the transfer width is fixed to 8bit. Alex ----- Original Message ----- From: Ananda Regmi To: l...@yahoogroups.com Sent: Wednesday, June 15, 2011 1:14 AM Subject: [lpc2000] LPC...


Strange LPC2106 ISP / General booting issue

Started by Martin in LPC200013 years ago 2 replies

Hi Folks, I've got a problem with an LPC2106 uC at the moment that I'm really struggling with. When I power up the board (or press the reset...

Hi Folks, I've got a problem with an LPC2106 uC at the moment that I'm really struggling with. When I power up the board (or press the reset button) I get a stream of mostly garbage from TXD0 lasting several seconds then it goes silent. Sending a '?' to RXD0 sometimes yields more garbage back, but mostly does nothing. After this stream of data the line doesn't always return to idling high (a...


LPC21xx Debugging with watchdog enabled

Started by Ananda Regmi in LPC200012 years ago 6 replies

Greetings, Has somebody discovered a way to debug with debugger enabled on LPC2106? Reading through what google could find, it seems like it...

Greetings, Has somebody discovered a way to debug with debugger enabled on LPC2106? Reading through what google could find, it seems like it is not possible to disable the watchdog just for debugging. I am using an Amontec JTAGtiny with openocd V0.4 to debug LPC2106 program. I can debug it fine if I comment out my watchdog initialization routine. But, if I leave it in the code, it resets...


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...


How to: Decode NXP chip part number markings

Started by stevech11 in LPC200015 years ago 3 replies

ARM7 marked LPC2106B CC8310 TRL041 How do I correlate that numbering to the numbers shown in the NXP OEM manuals for the 21xx? So that I can...

ARM7 marked LPC2106B CC8310 TRL041 How do I correlate that numbering to the numbers shown in the NXP OEM manuals for the 21xx? So that I can determine what user guide matches this CPU? Thanks ------------------------------------


Olimex LPC2106mt bootloader problem

Started by Anders Kjellberg in LPC200018 years ago 16 replies

Hi, I'm trying to establish connection with Philips Flash Utility and an Olimex 2106 mt board without success. TheBSL jumper is shorted and the...

Hi, I'm trying to establish connection with Philips Flash Utility and an Olimex 2106 mt board without success. TheBSL jumper is shorted and the frequency set at 14745kHz (14.7456MHz). Different baudrates have been tried without success. I am not sure about the DTR/RTS settings however. Also I may be using the wrong RS232 cable. Null modem or not? I'll have to check that. I intend to use the


ETM disabled with primary JTAG enabled on LPC2109.

Started by radoslaw_mitura in LPC200020 years ago 4 replies

Is it possible to have primary jtag interface enabled with acess to other i/o ports including the ports shared with ETM. In...

Is it possible to have primary jtag interface enabled with acess to other i/o ports including the ports shared with ETM. In user manual there is a table that describe DBGSEL enable JTAG as well as ETM so I suppose all pins used by ETM are inaccessible for application use. I


Checksum calculation for programming flash

Started by gene_klein2000 in LPC200020 years ago 5 replies

Hi, I'm writing a programmer for the LPC210x series. When I look in the User Manual for the chip in chapter 17 there is a...

Hi, I'm writing a programmer for the LPC210x series. When I look in the User Manual for the chip in chapter 17 there is a description how to write data to ram (Table 147 page 187). How must I calculate the checksum to send after I've send the data to the device ?


LPCISP via RS485

Started by Sagaert Johan in LPC200018 years ago 1 reply

Can someone tell me if it is possible to program the lpc210x with the philips isp program if the chip is used with a RS485. The rs485 hardware...

Can someone tell me if it is possible to program the lpc210x with the philips isp program if the chip is used with a RS485. The rs485 hardware forces the pc software to receive the data it sends. Maybe this may conflict with the behaviour of the isp software. Has someone done this before ? Johan


Amontec Chameleon

Started by Leon Heller in LPC200019 years ago 18 replies

A long time ago Amontec gave me one of their Chameleon units to try with my LPC210x board. I couldn't get it to work. I thought I'd try it...

A long time ago Amontec gave me one of their Chameleon units to try with my LPC210x board. I couldn't get it to work. I thought I'd try it again with the latest software, but still can't get it to work in either Wiggler or Raven mode, even at very low speeds. A genuine Wiggler works fine, of course. Has anyone got the Chameleon to work with the Philips ARM chips?


IAR Kickstart Code Size Limitation?

Started by tkreyche in LPC200019 years ago 1 reply

Hi Group, I recently got the IAR Kickstart Kit for LPC210x and have read all the docs and compiled and run sample apps --...

Hi Group, I recently got the IAR Kickstart Kit for LPC210x and have read all the docs and compiled and run sample apps -- everything works fine. I'm confused by the code size limitation of the kit, the docs say "The kit also comes with a 32K code-limited version