[LPC2104] hardware bug...

Started by Pawel Sikora in LPC200015 years ago 2 replies

# a simple testcase # typedef volatile unsigned int reg32; #define __DECLARE_IO_REG32_BIT(name) \ typedef volatile...

# a simple testcase # typedef volatile unsigned int reg32; #define __DECLARE_IO_REG32_BIT(name) \ typedef volatile union { \ name##_bits bit; \ reg32 reg; \ } name##_bits_t typedef struct { reg32 MR0INT :1; reg32 MR0RES :1; reg


SPI NOT RESPONDING

Started by rockraj_2003 in LPC200014 years ago 5 replies

HELLO FRIENDS, No body giving me suggestion on how to program SPI. My real task is to configure "DP1203" by using LPC2104. ...

HELLO FRIENDS, No body giving me suggestion on how to program SPI. My real task is to configure "DP1203" by using LPC2104. The only way to configure DP1203 is throu "SPI". I got an example file from Keil. Its working and producing SCK(Serial C


lpc2104 not executing code in flash

Started by manikandan palaniappan in LPC200015 years ago 2 replies

hi, i am using tinyarm lpc2106 from ramtek.i download the example from donotronics mb40_examples.zip(Dontronics - TinyARM DIP40/50...

hi, i am using tinyarm lpc2106 from ramtek.i download the example from donotronics mb40_examples.zip(Dontronics - TinyARM DIP40/50 with Philips LPC2106/2129 ... websitefor -www.dontronics.com/pasat.html)for lpc2106.i am using IAR EmbeddedWorkBench version 4.10A for producing intel hex file and downloa


buzzer rings low!

Started by omkar vyas in LPC200013 years ago 16 replies

i am sorry friends it is very silly question but i am working on it so long= ! lpc2104 - port pin number -P23 - transistor(2N3906) base...

i am sorry friends it is very silly question but i am working on it so long= ! lpc2104 - port pin number -P23 - transistor(2N3906) base emitter supplied w= ith +5volts collactor is connected to 100 ohm Resistance and then buzzer(it= is not dc buzzer but it operates on square wave) i am giving 822Hz Freq! w= hich is ideal but buzzer rings very low!!! what should i do? to ring it high Dar...


IAP throwing Undefined Instruction on some units

Started by sig5534 in LPC200013 years ago 5 replies

CPU: LPC2104 Compiler: GCCARM This is a really strange problem. I am using IAP on some of my internal routines, my code was basically done...

CPU: LPC2104 Compiler: GCCARM This is a really strange problem. I am using IAP on some of my internal routines, my code was basically done for sometime now. Everything was working. I built somemore proto boards and now a problem has shown up on 2 out of 11 boards. When the IAP call executes to do a CopyRamToFlash, the CPU locks up going into the UIE vector (Undefined Instruction Exc


One APP from flash, one APP from RAM

Started by more_effective in LPC200015 years ago 1 reply

Hi everybody again: We work with LPC2104, & Keil uVision3 (with GNU tools). Let's suppose we have a big APP, compiled and...

Hi everybody again: We work with LPC2104, & Keil uVision3 (with GNU tools). Let's suppose we have a big APP, compiled and linked to be executed from FLASH. Let's suppose we have a little APP (really a loader of the big APP), compiled and linked to be execute


[gnu arm] interrupts don't work :/

Started by Pawel Sikora in LPC200015 years ago 8 replies

Hi, I have the LPC2104 kit. I've used the IAR-System for developing so far but I would like to try the GNU ARM. I've...

Hi, I have the LPC2104 kit. I've used the IAR-System for developing so far but I would like to try the GNU ARM. I've rebuilt several existing applications that use interrupts but they don't work with GNU ARM. How can I use interrupts with GNU ARM? Atta


IAP/Flash Programming Time

Started by sig5534 in LPC200014 years ago

On this LPC2104, I am writing a 1K block of Flash in IAP. I have measured the prog time now, and it is taking 400mSec. That is longer ...

On this LPC2104, I am writing a 1K block of Flash in IAP. I have measured the prog time now, and it is taking 400mSec. That is longer than I expected. This is all I do: Prepare Sector Erase Sector (8K) Prepare Sector CopyRAMtoFlash (1K) Should this be taking 400mSec? Is there anyway to speed this up? Any shortcuts?


IAR embedded workbenck ABT_stack error

Started by i will tell u if u ask in LPC200012 years ago 5 replies

Hi all, I have used the LPC2104 previously and am familiar with the ARM. I used the IAR embedded workbench to finish that project and have...

Hi all, I have used the LPC2104 previously and am familiar with the ARM. I used the IAR embedded workbench to finish that project and have done so. Now i am starting a new project with Rev. 4.41 of the IAr embedded work bench, and an LPC2103, but i keep getting an error saying : Fatal Error[e72]: Segment ABT_STACK must be defined in a segment definition option (-Z, -b or -P) What e...


REG: UART1 FIFO on LPC2104

Started by kumarvdpl in LPC200014 years ago 1 reply

Hi Friends, I am using lpc 2104. I am using IAR EMBEDDED WORKBENCH to develope program. I want to know about the Tx FIFO. I am writing...

Hi Friends, I am using lpc 2104. I am using IAR EMBEDDED WORKBENCH to develope program. I want to know about the Tx FIFO. I am writing values to UART1 TRANSMITTER HOLD REGISTER. I am not checking whether the U1THR is empty.The LPC 2104 has 16 bytes Tx FIFO.(as in data sheet). If i contineously writing the values to U1THR does it transmit the val


Timer0 interrupt problem in LPC21XX

Started by Barış in LPC200010 years ago 7 replies

Hi all, I'm new in ARM CPUs and I've just started programming LPC series.I have a problem with Timer0s interrupt. I am trying hitex's lpc2000...

Hi all, I'm new in ARM CPUs and I've just started programming LPC series.I have a problem with Timer0s interrupt. I am trying hitex's lpc2000 sample code with lpc2104 and comparing lpc2014 registers with sample code.It seems true but it doesn't work in keil's uvision.It doesnt enter ISR.Can anybody help me? This is the code. #include void T0isr (void) __irq { T0IR|=1; VI


New Evaluation tool available for the LPC2104/5/6 Micros

Started by Richard in LPC200016 years ago 1 reply

IAR Kickstart Kit for LPC210x (includes 32K IAR ARM compiler): The IAR Kickstart Kit for LPC210x ($149) is a great way to start ...

IAR Kickstart Kit for LPC210x (includes 32K IAR ARM compiler): The IAR Kickstart Kit for LPC210x ($149) is a great way to start evaluating the Philips LPC210x ARM7TDMI-S(TM)-based single-chip microcontrollers. The evaluation board is populated with an LPC2106 microcontroll


how to shift from GCC to Keil (lpc2104)

Started by omkar vyas in LPC200013 years ago 3 replies

hi, all i am using ARM-GCC-Tool chain for long time now i have keil - ARM, i have written code for my project all most every peripheral is...

hi, all i am using ARM-GCC-Tool chain for long time now i have keil - ARM, i have written code for my project all most every peripheral is working. now i want to shift myself to work on keil ARM IDE but now i have confusion= how much code i will have to change to work comfortably on keil. n number of Errors are coming up. and in Keil in projects option components= Environment is one op...


ARM RTX

Started by liem_ieie in LPC200012 years ago 1 reply

I am have a difficulty using serial in ARM RTX using Keil compiler. I have simulated this program and work well. But when I flash to...

I am have a difficulty using serial in ARM RTX using Keil compiler. I have simulated this program and work well. But when I flash to LPC2104 serial 0 only send 1 character to hyper terminal. Why this can happen? Thank you. main.c #include #include #include OS_TID terminal; extern void Serial_Init (void); void term (void) __task { puts("Hello Wor


product announcement - some LPC21xx content...

Started by Michael Johnson in LPC200014 years ago 5 replies

We (Rowley Associates) have released our redesigned CrossConnect for ARM, see http://www.rowley.co.uk/arm/CrossConnect.htm It...

We (Rowley Associates) have released our redesigned CrossConnect for ARM, see http://www.rowley.co.uk/arm/CrossConnect.htm It has an LPC2104 in it and can do ARM JTAG bit bashing rather quickly - so the PIO performance of these parts isn't so bad.... Regards Michael


ANN: LPC2104 Color LCD Game Board with Bluetooth

Started by kristianstad2001 in LPC200013 years ago 2 replies

Hi All, This is just a short announcement that we have a fun board for your summer vacation - a board with Color LCD and Bluetooth. Details...

Hi All, This is just a short announcement that we have a fun board for your summer vacation - a board with Color LCD and Bluetooth. Details can be found on: http://www.embeddedartists.com/products/boards/lpc2104_pro002.php Have fun! Embedded Artists ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email d


open drain + pullup + io not working ???

Started by omkar vyas in LPC200013 years ago 2 replies

My design is working now! ARM LPC2104 board! but now total 6 I/O pins are not giving output!!! i have sent square wave as a output on...

My design is working now! ARM LPC2104 board! but now total 6 I/O pins are not giving output!!! i have sent square wave as a output on all 32 ios but few pins are not giving any output. and also i have pulled each pin high with 10k of Resistance! by this my few pins r now giving output but still 6 pins r not giving any output!!!


Just uploaded open source lpc21isp to my website http://www.clibb.de/

Started by Anonymous in LPC200016 years ago

Hello, i just published my first version of the portable command-line ISP tool for LPC2104 / LPC2105 / LPC2106. It compiles...

Hello, i just published my first version of the portable command-line ISP tool for LPC2104 / LPC2105 / LPC2106. It compiles and runs under Windows (VC6, VC7), Cygwin (gcc) and compiles under Linux (also with gcc). Because of lack of an computer with Linux i can't try it


IAP with UART

Started by sig5534 in LPC200014 years ago

I want to be able to update our LPC2104 firmware with a UART interface. It seems like the UART is setup to rely on INTs for transfer....

I want to be able to update our LPC2104 firmware with a UART interface. It seems like the UART is setup to rely on INTs for transfer. Given that the code must be executed in RAM, I suppose the INTs for the UART must be setup in RAM as well. Are there any example files around of this kind of RAM code setup for moving the INTs into RAM. I see it talked a


LPC2104 using LPC GCC Compiler Tools

Started by "Lava S. kumar" in LPC200012 years ago

sir, I am using LPC gcc compiler tools,during program compilation and debugging I face some problems. My board having one...

sir, I am using LPC gcc compiler tools,during program compilation and debugging I face some problems. My board having one serial port,one modem port and one jtag connector. My tools are "GNU gdb 2003-09-20-cvs (cygwin special),copy right 2003 GDB configured as "i686-pc-cygwin",and GNU gdb 6.1-macraigor2. First off all know my procedure 1. ...