Forums Search for: Lpc2106
LPC2148 Timer0 Interrupts
inThis is embarrassing: I have nearly identical code on a LPC2106 that works fine. I do not get the interrupts on the LPC2148. The code changes...
This is embarrassing: I have nearly identical code on a LPC2106 that works fine. I do not get the interrupts on the LPC2148. The code changes between versions have to do with the divisors, not the VIC stuff. I can see the timer match output toggle on pin 22 so I know the timer is working and the frequency is correct. void T0ISR(void) __attribute__ ((interrupt)); volatile unsigned in...
LPC2106 IAP
inHello, Im trying to write some data from the RAM to the flash using the IAP, I followed the application note pdf given by philips...
Hello, Im trying to write some data from the RAM to the flash using the IAP, I followed the application note pdf given by philips but when I call the iap_entry function the processor seems to hang...nothing happens at all!!! Do you pass the command code and command p
LPC2106 -UART, sent data is garbled until something is received by the MCU
inIv been working on this problem for the last three days with no avail. Basically around 80% of the time the first strings/chars sent by the...
Iv been working on this problem for the last three days with no avail. Basically around 80% of the time the first strings/chars sent by the MCU are garbled. It is only after the MCU receives something that everything works fine i.e. I can send or receive with loosing any data. My code is standard, I don't think theres any problems with it,debugs fine in kei
LPC2106 JTAG interface pull-up resistors
inHi, Can anyone point me to some information on which JTAG lines should have pull-ups (or pull-downs) and what values for the LPC micros? I've...
Hi, Can anyone point me to some information on which JTAG lines should have pull-ups (or pull-downs) and what values for the LPC micros? I've seen a lot of variations in the schematics of various development boards - no one seems to do it the same. The board I am working with has 12k pull-ups on TDI, TCK and nRST, and a 12k pull-down on RTCK. I'm not sure if this is the best arrangement- ...
ARM Cross dev. with LPC2294
inHello, I'm having trouble using an LPC2294 with the gnu tools. My board is an LPC-H2294 from Olimex, and I'm trying to follow the ...
Hello, I'm having trouble using an LPC2294 with the gnu tools. My board is an LPC-H2294 from Olimex, and I'm trying to follow the tutorial "ARM Cross Development with Eclipse" from James P. Lynch. As there are some differences between the LPC2106 board used in the tutorial and mine, I did the following changes in the demo2106_blink_flash pr
IAR Compiler and volatile keyword
inI have three functions below that *should* do the same thing. In fact, they do the same thing on my Linux box gcc plain jane standard compiler...
I have three functions below that *should* do the same thing. In fact, they do the same thing on my Linux box gcc plain jane standard compiler (substitute printf for SPI_Writes). However, in EWARM, they do not do the same thing when programmed to my LPC2106. Only func3 behaves as expected. My functions are: void func1(unsigned long x, unsigned int y) { unsigned char a[3]; a[0] =...
Voice command recognition code for ARM7
inHi, Do you know any voice command recognition code(preferably free) for ARM7. Something that would run on for ex. lpc2106. For...
Hi, Do you know any voice command recognition code(preferably free) for ARM7. Something that would run on for ex. lpc2106. For recognizing simple voice commands. -- Peter
FreeRTOS and high speed UARTs of LPC210x
inTesting FreeRTOS on LPC2106 with both UART channels outputting at 115K baud. I'm using the transmit FIFOs, so the interrupt rate is 1/16th what...
Testing FreeRTOS on LPC2106 with both UART channels outputting at 115K baud. I'm using the transmit FIFOs, so the interrupt rate is 1/16th what it would be without FIFOs (I'm amazed at how rarely I see sample code using the FIFO or using it such that it cannot do its purpose). The issue and question is: I'm using the FreeRTOS message queue to service the transmit UARTs. With message queues o...
Does IDLE mode cause JTAG debugger to hang?
inI am using an Ashling Vitra JTAG interface here on an Ashling EVBA7 eval board with LPC2106. I am not super familiar with the...
I am using an Ashling Vitra JTAG interface here on an Ashling EVBA7 eval board with LPC2106. I am not super familiar with the Ashling tools yet. I am trying to activate the IDLE mode to check power consumption. (When I get this working I will try Power Down mode) When I
LPC 2368 - RTC interrupt each seconde big problems
inhi In the past, I make the same code(approx) with LPC2106 and all work fine ! I have a problem with the rtc with lpc2368. I work with IAR...
hi In the past, I make the same code(approx) with LPC2106 and all work fine ! I have a problem with the rtc with lpc2368. I work with IAR 4.2 I want have one and only one interrupt each seconds here is my code: RTC_Init (void){ AMR = 0; CIIR = 1; CCR = 0; PREINT = ( PREINT & ~PREINT_RTC_MASK ) | PREINT_RTC; PREFRAC = ( PREFRAC & ~PREFRAC_RTC_MASK ) | PREFRA...
Anybody implement NAND flash driver on LPC210x ?
inHas anybody implemented NAND flash driver on LPC210x ? Now we are considering using LPC2106 in our project which needs a...
Has anybody implemented NAND flash driver on LPC210x ? Now we are considering using LPC2106 in our project which needs a NAND flash to storage data. Two UARTs, I2C and SPI are all used for other functions. If p0.23 to p0.31 is used for NAND flash data pins, it wi
LPC210X ISP WINDOWS APPLICATION
inHi, Anyone know application or have source code for read LPC2106 flash memory, and convert it in bin or hex file with ISP command or...
Hi, Anyone know application or have source code for read LPC2106 flash memory, and convert it in bin or hex file with ISP command or by direct user application "send" memory by the serial port in the LPC? Thanks for any answer or help. ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo
LPC23xx MCB2300 starup issues with GCC FreeRTOS statup files
inI am attempting to use the freertos lpc2106_GCC loader files and boot.s file for the lpc2378 keil evaluation board to bring up a simple blinking...
I am attempting to use the freertos lpc2106_GCC loader files and boot.s file for the lpc2378 keil evaluation board to bring up a simple blinking led first. then the entire freertos demo. I only modified the loader file to what you see below. I left the boot.s file untouched. > From my other ports from lpc2106 -> lpc2129 and lpc2148. this is all I had to do. For some reason this is not
Bizarre interaction between T1MR0 INTs and UART0's Baudrate
inThis is a weird one, I've reduced the functions to the ones that seem to interfere with one another : (on LPC2106,...
This is a weird one, I've reduced the functions to the ones that seem to interfere with one another : (on LPC2106, clocked at 10 MHz, on Nohau tester board) I initialise
Open OCD Issues
inI finally have Open OCD (Running through eclipse) functioning on an IAR Kickstart board (LPC2106). Yea! I am unable to get it to run on a...
I finally have Open OCD (Running through eclipse) functioning on an IAR Kickstart board (LPC2106). Yea! I am unable to get it to run on a Keil board, the MCB2100 (LPC2124). The debugger APPEARS to program the micro but then it just hangs while the "launching" progress bar runs, forever. The console output when I start the debugger: (gdb) target state: halted target halted in ARM st...
Re: EFSL MMC SD sorce code
inHi, I am using lpc2106 and SPI0 interface for kingston 2gb sd card. I have the followowing error : MMC/SD Card Filesystem Test (P:LPC2138...
Hi, I am using lpc2106 and SPI0 interface for kingston 2gb sd card. I have the followowing error : MMC/SD Card Filesystem Test (P:LPC2138 L:EFSL)(##) efsl LPC2000-port and this Demo-Application done by Martin Thomas, Kaiserslautern, Germany CARD init...spiInit for SPI(0) Unknown error 0x0 (see SanDisk docs p5-13). Card failed to init, breaking up... What is wrong with it ? if I...
JTAG problems with Olimex LPC2106
inI'm having trouble getting my JTAG Wiggler to work with an Olimex LPC-P1 (2106 based prototype board). It works fine with my...
I'm having trouble getting my JTAG Wiggler to work with an Olimex LPC-P1 (2106 based prototype board). It works fine with my Olimex LPC2124 based prototype board, but always gives me a "cable disconnected" or "cannot enter debug mode" error. The board resets
LPC2106 Programming - ISP and hex file
inI connected my board to PC using UART0, bootloader enable pin pulled down using jumper, I run Philips ISP utility, Read Device...
I connected my board to PC using UART0, bootloader enable pin pulled down using jumper, I run Philips ISP utility, Read Device ID reads Part ID:4293984050, BootLoader ID:1.3 Is this correct? I select leddisp.hex and click Upload to Flash button, it fails...
SPI Mode Fault
inI keep seeing Mode Faults when I do SPI writes on my LPC2106. Here is my write function: void SPI_Write(unsigned char *buffer,unsigned int...
I keep seeing Mode Faults when I do SPI writes on my LPC2106. Here is my write function: void SPI_Write(unsigned char *buffer,unsigned int bytecount) { unsigned int j; unsigned int i = 0; while (bytecount--) { S0SPDR_bit.DATA = *buffer++; while (!(j=(S0SPSR&0xF8))) ; i |= j; //if (i != 0x80) break; } } At the end of the write function, i will be 0xD0, whic...
Watchdog and ISP
inDear Forum Members, I am using LPC2106 for time attendance application. I have enabled WATCHDOG at the start of my code. It is working fine....
Dear Forum Members, I am using LPC2106 for time attendance application. I have enabled WATCHDOG at the start of my code. It is working fine. Sometimes I need to upgrade the application on site. So I have included code to switch the LPC to ISP mode for programming the flash. This is also working as LPC switches to ISP mode and programming starts through Flash Magic. But the watchdog is...