EmbeddedRelated.com

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


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


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


lpc2106 - SPI - i need help

Started by arturo_tramontini in LPC200020 years ago 3 replies

first - sorry for english mistake. i'm try to use SPI in master mode. i dont see any activity on relative pin. here my code (...

first - sorry for english mistake. i'm try to use SPI in master mode. i dont see any activity on relative pin. here my code ( i'm use KEIL uvison3) have someone some suggestion? thanks ----------------------------------------------------


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


MAM and how to get the most from the LPC2106

Started by acetoel in LPC200019 years ago 5 replies

Hello I would like to know how to get the most of the LPC in Speed and Performance... Now I'm using a 10MHz crystal PLLed to...

Hello I would like to know how to get the most of the LPC in Speed and Performance... Now I'm using a 10MHz crystal PLLed to 60MHZ for PCLK and CCLK, and 240Mhz Fcco (what is this?). But set MAM or other optimization parameter... well, how can I do it, and which i


SPI Input port

Started by charlesgrenz in LPC200018 years ago 8 replies

Hello group, Hope you all had a great holiday. I have a LPC2106 design that turns out to need more input lines then the 2106 has....

Hello group, Hope you all had a great holiday. I have a LPC2106 design that turns out to need more input lines then the 2106 has. Has any one have any luck with extending the I/O of the 2106 with the SPI bus? Thanks in advance, Charles


EINT0 on LPC2106

Started by frumbub in LPC200019 years ago 7 replies

Hello I am having problems with the EINT0 interrupt. I have searched the posts and tried all suggested sollutions, but my problem...

Hello I am having problems with the EINT0 interrupt. I have searched the posts and tried all suggested sollutions, but my problem persists. The problem is that the system stays in the ISR like in an infinite loop. Code: void eint_ISR( void ) { vParTestToggleLED( 0 ); VICVectAddr = ringCLEAR_VIC_INTERRUPT; }


LPC2106 KEIL ARM examples

Started by gustavo_sagasti in LPC200020 years ago 1 reply

Hi: I 'm starting with the LPC ARM's, and I would like to know where I could get examples and information about programming...

Hi: I 'm starting with the LPC ARM's, and I would like to know where I could get examples and information about programming (preferable in 'C') this chips with the KEIL/GNU kit. Thanks in advance... Gus


IAP problem

Started by Michal Krestan in LPC200019 years ago 4 replies

Hi, I'm using IAP programming in my application with LPC2106. It works fine, but in one of about 5 tries my procedure for firmware update...

Hi, I'm using IAP programming in my application with LPC2106. It works fine, but in one of about 5 tries my procedure for firmware update will hang somewhere (probably in callIAP) and after hardware reset, in MCU still remains the same code without any modification. Does anyone have recommended flowchart for using IAP? Do I have to check result of IAP prepare command and result o


Small TCP/IP Stack

Started by Ilko Radulov in LPC200020 years ago 8 replies

Is there any small TCP/IP stack with PPP that can be implemented over ECOS in LPC2106 (128KB FLASH + 64KB SRAM) ? ...

Is there any small TCP/IP stack with PPP that can be implemented over ECOS in LPC2106 (128KB FLASH + 64KB SRAM) ?


What is the UART CTI Interrupt?

Started by Robert Davis in LPC200020 years ago 3 replies

Hi, I am working with the UART1 of the LPC2106 using the UARTecho sample program with the KickStart board from IAR. The UART...

Hi, I am working with the UART1 of the LPC2106 using the UARTecho sample program with the KickStart board from IAR. The UART keeps generating the character time-out indicator interrupt. I have looked through all of the documentation from Philips and I cannot find an explanation of what actually


Anyone using ARM ADS 1.2 IDE?

Started by markcrow in LPC200020 years ago 3 replies

I recently resurrected an old toolkit (ARM ADS V1.2) to use developing a Philips LPC2106 based system. I can't get this software ...

I recently resurrected an old toolkit (ARM ADS V1.2) to use developing a Philips LPC2106 based system. I can't get this software to properly build anything that runs anywhere close to reasonable (myriad failures of one sort or the other). Anyone out there had success with this to


Reset Circuit

Started by vrrraju in LPC200020 years ago 5 replies

Dear Friends, I am trying to make an evaluation board for myself and later for commercial purpose based on LPC2106. I have...

Dear Friends, I am trying to make an evaluation board for myself and later for commercial purpose based on LPC2106. I have little doubts on reset circuitry. I am planning to use a RC circuit of 10K and 100nF to reduce the cost. Otherwise is it compulsory to use Reset IC for


tiny libc?

Started by Shannon Holland in LPC200020 years ago 4 replies

Hello all, I'm starting to bump up against the 128KB flash limit in my LPC2106 and am looking for ways to make things smaller....

Hello all, I'm starting to bump up against the 128KB flash limit in my LPC2106 and am looking for ways to make things smaller. Switching to the gnuarm.org gcc 3.4.1 and thumb mode (along with adding -Os to my CFLAGS) made things more then small enough but the code didn't wo


More ld script questions..

Started by James Dabbs in LPC200020 years ago 11 replies

In the file , from the file on the yahoo site.. in the prog output section, there are these entries: *(.rodata) ...

In the file , from the file on the yahoo site.. in the prog output section, there are these entries: *(.rodata) *(.rodata*) I understand that the first means "add the entire contents of the .rodata in


IAR interrupt problem

Started by ducatman2000 in LPC200020 years ago 3 replies

Hi, I'm trying to enable interrupt with timer1 on the LPC2106. I configured Timer1 as IRQ source when its value correspond...

Hi, I'm trying to enable interrupt with timer1 on the LPC2106. I configured Timer1 as IRQ source when its value correspond with the match register 0... but interrupt routine service doesn't run and is never reached. Here is a piece of my code: __disable_interru


New LPC2214 114 Pin Adapter on EVBA7 Help

Started by helicopterproject2003 in LPC200020 years ago 3 replies

I have been using the Ashling EVBA7 board with the soldered on LPC2106 and using the Ashling GNU development tools with their ...

I have been using the Ashling EVBA7 board with the soldered on LPC2106 and using the Ashling GNU development tools with their excellent debugger Pathfinder. After developing with this combination for several months I have run into a memory problem. So I requested and have


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


Remap vectors to RAM and GDB debugging???

Started by Ken in LPC200020 years ago 1 reply

Hi, I am debugging an LPC2106 using arm-elf-insight with a WIGGLER and cannot get the software interrupt to work correctly. ...

Hi, I am debugging an LPC2106 using arm-elf-insight with a WIGGLER and cannot get the software interrupt to work correctly. I am running from RAM and can successfully step through the code, but have a problem with the SWI instruction. I have setup the vec