EmbeddedRelated.com
The 2024 Embedded Online Conference

Uart TX interrupt

Started by mrobins99 in LPC200016 years ago 1 reply

I'm having some difficulty with my transmit interrupt on an LPC2106. I'm using winarm. My rx interrupt works perfect, when new data is...

I'm having some difficulty with my transmit interrupt on an LPC2106. I'm using winarm. My rx interrupt works perfect, when new data is present I quickly add it to a buffer and take out the bytes in the buffer in my main loop. My tx buffer however has a bug. When programming for avr's I had two types of interrupts tx buffer empty(which I used) and tx complete and it worked perfectly. ...


Voice command recognition code for ARM7

Started by kuharp in LPC200016 years ago 9 replies

Hi, 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


lpc2106 FreeRTOS Demo

Started by jsalomo1 in LPC200016 years ago 1 reply

I'm trying to get the FreeRTOS lpc2106 demo application compiled in Eclipse. I didn't change much to the demo files. Since I am trying to get it...

I'm trying to get the FreeRTOS lpc2106 demo application compiled in Eclipse. I didn't change much to the demo files. Since I am trying to get it to work on an lpc2292, the memory sizes were changed. This is the error I got: /cygdrive/c/DOCUME~1/user/LOCALS~1/Temp/ccXwL2Mb.o (/cygdrive/c/gccfd/gnuarm/bin/../lib/gcc/arm-elf/4.0.2/libgcc.a)_udivsi3.o (/cygdrive/c/gccfd/gnuarm/bin/../lib/gcc...


CRC in LPC 2106?

Started by Sara...@ansaldo-signal.co.in in LPC200016 years ago 3 replies

Hi, I am newbie to this field. I am using LPC2106 microcontroller and KEIL microvision to develop the application. Is there...

Hi, I am newbie to this field. I am using LPC2106 microcontroller and KEIL microvision to develop the application. Is there any CRC calculation is implemented automatically? How I can calculate the CRC for the different Hex output file. Any one knows please brief about it. Thanks & regards, S.Saravanakumar


Making in field upgrade firmware

Started by bitman_2006 in LPC200016 years ago 5 replies

Dear all, I've just finish to work on some lpc2106 new design. Now I like to discuss or know some working solution (of course we like to...

Dear all, I've just finish to work on some lpc2106 new design. Now I like to discuss or know some working solution (of course we like to know the better way to do it then learn the concepts) to do a in field microcontroller firmware upgrade. For one of this design we need to connect remotely trough a industrial modem connection and we need to perform the microcontroller firmware upd...


Eclipse Debugging on lpc2292 (using 2106 demoblink demo)

Started by jsalomo1 in LPC200016 years ago 3 replies

I have been trying to follow James Lynch's tutorial on the lpc2106. I have modified the linker script for my lpc2292. I am having...

I have been trying to follow James Lynch's tutorial on the lpc2106. I have modified the linker script for my lpc2292. I am having trouble getting the Eclipse debugger to work properly. I don't get an actual error in the console window, I just get a dialog box saying "Error during launch." What types of things should I look for to help me troubleshoot what is wrong?


Library LPC2106

Started by "M.Dhilip Ravi Sankar" in LPC200016 years ago 2 replies

Hi dudes, I am in neeed of the LPC2106 libraries for ORCAD 9. Can any one help me with that...

Hi dudes, I am in neeed of the LPC2106 libraries for ORCAD 9. Can any one help me with that...


Porting UCOS II to LPC2106

Started by eziggurat in LPC200016 years ago 4 replies

Hello, I have a LPC2106 code using the UCOS II but compiled and build with the CARM compiler. I am trying to port the code to compile on the...

Hello, I have a LPC2106 code using the UCOS II but compiled and build with the CARM compiler. I am trying to port the code to compile on the RVDK. The UCOS II for the CARM compiler has __arm instructions which doesn't seem to be compatible with the RVDK and also the original author has deleted the headings so I don't know the version of UCOS. To start of the port to RVDK, I copy some o...


UART+SPI, help needed

Started by "fx.marquand" in LPC200016 years ago 8 replies

Hello, I'm currently student in placement (and french by the way, sorry if i do some mistakes on my posts ^^'). I have to connect several...

Hello, I'm currently student in placement (and french by the way, sorry if i do some mistakes on my posts ^^'). I have to connect several sensors to the kickstartboard (lpc2106) and monitor them on a terminal (for the moment). The problem is I'm a real newbie when talking about ARM, I only know PIC uC, and it's really different as you know... I'm not able to send something on spi AND...


LPC2106 and IAP flash programming

Started by in LPC200016 years ago 2 replies

Hello everyone! I using Olimex LPC2106-MT board and has a three questions: 1. How to determine address in flash memomry to write data? 2....

Hello everyone! I using Olimex LPC2106-MT board and has a three questions: 1. How to determine address in flash memomry to write data? 2. Possible to read flash memomry: unsigned int addr, data; data = *(volatile unsigned int *)addr; 3. Possible to write flash memomry: unsigned int addr, data; *(volatile unsigned int *)addr = data; -- Best regards, post-graduate student Roman...


Re: EFSL MMC SD sorce code

Started by unal...@gmail.com in LPC200016 years ago 1 reply

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

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


EXTMODE, EXTPOLAR

Started by Slash Power in LPC200015 years ago

Hi, These two registers (EXTMODE, EXTPOLAR) are listed in the newer user manual of LPC2106 ( UM10275, 4 June, 2008 version), but are not listed...

Hi, These two registers (EXTMODE, EXTPOLAR) are listed in the newer user manual of LPC2106 ( UM10275, 4 June, 2008 version), but are not listed in the older user manual, and their definitions are also absent in IAR Embedded Workbench 5.11. However, the newer user manual doesn't list these registers as specific to /01 revision. As I am currently using the older LPC2106 (not the /01 revision) can I...


Secondary Bootloader Jump

Started by asvi...@yahoo.co.in in LPC200015 years ago 12 replies

Hello, I had question related to program startup. I am using LPC2106, when I press reset, Primary bootloader get called. Then my...

Hello, I had question related to program startup. I am using LPC2106, when I press reset, Primary bootloader get called. Then my secondary bootloader comes in picture. It will download the hex file from UART and burn the flash. Now I need to call new application. Whether I jump to main function of new downloaded code or to cstartup function. Thanks


LPC2106 Timer0 configuration & Interrupt ..newbie..!

Started by gtpats in LPC200015 years ago 8 replies

Hi I am trying to configure timer0 and get an interrupt on match. Using LPC2106 olimex board. 14.7456MHz crystal. I am not able to get into...

Hi I am trying to configure timer0 and get an interrupt on match. Using LPC2106 olimex board. 14.7456MHz crystal. I am not able to get into the ISR where i am trying to ON a LED. Please let me know what I must do, here is the code #define VICINTSEL (*((volatile unsigned long *) 0xFFFFF00C)) #define VICINTEN (*((volatile unsigned long *) 0xFFFFF010)) #define VICCNTL0 ...


questions about LPC2106 SPI

Started by hemanandharamesh in LPC200015 years ago 2 replies

Hai dudes, I'm interfacing Ethernet chip W5100 with the lpc2106 by SPI.., can anyb= ody tell me what should be done for interfacing the chip...

Hai dudes, I'm interfacing Ethernet chip W5100 with the lpc2106 by SPI.., can anyb= ody tell me what should be done for interfacing the chip with lpc2106., im = using the GPIO pins P0.4,0.5,0.6,0.7 for SPI.Is below code enough for initi= alization? /* Include header file depending upon part used */ #include"LPC2=85.h" void Initialize(void); #define SPIF (1 <


FreeRTOS - UART Problem - LPC2114 suddenly stops

Started by elperegrinoranquel in LPC200015 years ago 3 replies

Hi, i am working with a Development Board based on a LPC2114. We have made the port for FreeRTOS using the instructions available in FreeRTOS's...

Hi, i am working with a Development Board based on a LPC2114. We have made the port for FreeRTOS using the instructions available in FreeRTOS's web page, modifying the Demo for LPC2106 (because we use GCC compiler) and comparing with the Demo for LPC2129 (because there are only very little differences with this micro). The Demo seemed to worked just fine, but the problem comes when we use th...


Writing to Flash LPC2106

Started by Ananda Regmi in LPC200015 years ago 3 replies

Hello, I am trying to write a block of 512 bytes of data to flash in LPC2106. For some reason it only writes a first couple of bytes. After...

Hello, I am trying to write a block of 512 bytes of data to flash in LPC2106. For some reason it only writes a first couple of bytes. After the write operation, it does return FLASH_CMD_SUCCESS. Anyone have any idea why would it do that. Here's the my flash write function: Uint32 FlashDriver_write_configuration(FlashDriver * this) { Uint8 memmap; Uint32 cpsr; cpsr = d...


help needed with lpc2106 timer for simple delay function

Started by voltz56 in LPC200014 years ago 4 replies

Iv been trying unsuccessfully for the a few days to write a delay function using timer0, I have looked at the Hitex book and NXP examples but I...

Iv been trying unsuccessfully for the a few days to write a delay function using timer0, I have looked at the Hitex book and NXP examples but I just cant seem to get it work. This is where I'm at, at the moment.. void delayMs() { SCB_VPBDIV = 0x00000002;// set pclk to 30MHz T0_PR = 0x00007530; // Load Prescaler register for 1Msec tick T0_TCR = 0x00000002; // Reset ...


LPC2106 -UART, sent data is garbled until something is received by the MCU

Started by voltz56 in LPC200014 years ago 51 replies

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

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 - Problem with accuracy of timer

Started by voltz56 in LPC200014 years ago 21 replies

When I configure the prescaler for a 1ms tick, it is off by 84ns when checked in the keil debugger, this much inaccuracy I can live with. ,...

When I configure the prescaler for a 1ms tick, it is off by 84ns when checked in the keil debugger, this much inaccuracy I can live with. , but when I have it configured for 1us it is off by approximately 940ns, this is a major problem for me. Regards, J //delay = us * no_loops void delay_us(unsigned int no_loops) { unsigned int i; for(i = 0; i < no_loops; i++) {



The 2024 Embedded Online Conference