EmbeddedRelated.com
The 2024 Embedded Online Conference

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


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


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


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


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


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


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 <


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++) {


FreeRTOS and high speed UARTs of LPC210x

Started by stevec in LPC200013 years ago 1 reply

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

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


LPC2106 GNU CodeSourcery Toolchain: How to enable nested interrupts

Started by voltz56 in LPC200014 years ago 27 replies

Im using the GNU codesourcery toolchain with keil. I need to use nested interrupts, I think something has to be changed in the startup file...

Im using the GNU codesourcery toolchain with keil. I need to use nested interrupts, I think something has to be changed in the startup file but exactly what Im unsure. Regards, J Timer interrupt init functions http://pastebin.com/i75W8K jE Startup.s http://pastebin.com/QEfj7hps


LPC2106: Overclocking the CCLK /PCLK

Started by voltz56 in LPC200014 years ago 10 replies

My dev system has a 16MHz crystal so it can only run at 48MHz without overclocking it i.e. 16 x 3. One multiplier higher would give me 64MHz. The...

My dev system has a 16MHz crystal so it can only run at 48MHz without overclocking it i.e. 16 x 3. One multiplier higher would give me 64MHz. The device max is rated as 60MHz.Is it safe to push past this. Regards, J ------------------------------------


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


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


Thumb mode compile error in IAR EW

Started by Hanns Tappeiner in LPC200015 years ago 3 replies

Hi, I use IAR Embedded workbench to write code for the LPC210x I wrote some interrupt code and it works fine. It is based on some of the...

Hi, I use IAR Embedded workbench to write code for the LPC210x I wrote some interrupt code and it works fine. It is based on some of the examples. But when Itry to compile it in thumb mode, I get the following compile error: Error[Ta007]: Cannot call a __thumb function from arm mode The line which causes the problem looks like this: (*interrupt_function)(); //Call interrupt function H...



The 2024 Embedded Online Conference