Problem with entering ISR

Started by federr65 in LPC200013 years ago 7 replies

I'm just starting with LPC ( I have a LPC-H2138 board from Olicom) and at the beginning I'm unable to solve the following problem: I have an...

I'm just starting with LPC ( I have a LPC-H2138 board from Olicom) and at the beginning I'm unable to solve the following problem: I have an Timer0 set to generate interrupts. Timer works just fine, but I can't force the ISR to execute. Below is my code: #include #define LED 0xF0000000; static int timer0Count, timer1Count; int marker=3D1; static void PLL_Init(voi


Flash Utility V2.2.3 @115200bps with XTAL=10MHz ?

Started by Marcio Zaquela in LPC200013 years ago 5 replies

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The...

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The maximum baudrate I'm able to use is 38400. Even 57600 bps is not working. I made a routine to test UART0 @ 115200bps and I can only use this baudrate properly when I adjust the fractional divider register (U0FDR - LPC213x/01 devices only) to get the minimum...


CRP security and JTAG

Started by sergezloto in LPC200010 years ago

Group, Was reading (again) the lpc213x user manual, and felt uneasy about the wording on CRP: "When the code read protection is enabled the...

Group, Was reading (again) the lpc213x user manual, and felt uneasy about the wording on CRP: "When the code read protection is enabled the JTAG debug port, external memory boot and the following ISP commands are disabled:" So is it that JTAG starts off enabled, and then the bootloader disables it? Or rather it starts disabled, and then the bootloader enables it if CRP is not set? Obviou...


Sample Code for LPC2148 (LPC2146/44/42/41) / I2C sample code / Uart sample code

Started by lpc2100_fan in LPC200013 years ago

Hi, please check the files section: application/zip LPC214x_SampleSoftware.zip ========================== Sample Software for LPC213x/214x...

Hi, please check the files section: application/zip LPC214x_SampleSoftware.zip ========================== Sample Software for LPC213x/214x FIO, EXT_INT, I2C, SPI, RTC, WDT, UART, PWM, Timer, etc as far as I know this was doen for the ARM REAL-View compiler but after all that is still a C-Compiler and moving it to a different C-Compiler should not be too difficult. Bob


Power down mode LPC213X

Started by Mukund Deshmukh in LPC200013 years ago 8 replies

Hi, I have connected a switch to P0.30(EINT3). In normal operation, switch is monitored and when pressed (0 Volt), the powerdown mode is...

Hi, I have connected a switch to P0.30(EINT3). In normal operation, switch is monitored and when pressed (0 Volt), the powerdown mode is activated by writing to PCON. Now, my question is how to wake up from power down mode? 1. I want to use same switch to wake up, it is connected to EINT3. 2. Do I have to enable interrupt, before powerdown mode is activated? 3. Power supply recycle wakes up...


project file of LPC214x for ADS1.2 version

Started by zeng_liwen in LPC200013 years ago

I'm looking for project file of LPC214x for ADS1.2 version I know Keil demo for LPC214x usbhid,but I have no ULINK so I can't debug it. I'm...

I'm looking for project file of LPC214x for ADS1.2 version I know Keil demo for LPC214x usbhid,but I have no ULINK so I can't debug it. I'm using ads1.2 to develop lpc213x software, now I want to develop lpc214x usb in ADS1.2 I have project file of 213x for ADS1.2 version, but I have no 214x's Yahoo! Groups Links


How robust is LPC2103 Flash memory read protection??

Started by unity0724 in LPC200013 years ago

Does anybody know how robust is the LPC2103 flash read protection?? I'm switching from LPC2124 to LPC2103. This new chip is great!! I did...

Does anybody know how robust is the LPC2103 flash read protection?? I'm switching from LPC2124 to LPC2103. This new chip is great!! I did not use LPC2104 due to there is no read protection. There were lots of discussions and attacking on the LPC2114-2294 and LPC213x/4x flash memory read protection. But had never seen the chip's protection proven could be bypassed so far. Could we jus


New Application Notes about Power Down for LPC214x and LPC213x

Started by philips_apps in LPC200013 years ago

Hi, you can find a new application note about the above mentioned topic...

Hi, you can find a new application note about the above mentioned topic here: http://www.standardics.philips.com/support/documents/microcontrollers/p df/an10493.pdf In general Application Notes for Philips Microcontrollers are here: http://www.standardics.philips.com/support/documents/microcontrollers/? type=appnote For those in the US, have a great long "Independend" weekend Rob...


Flash to RAM

Started by tripple_toast in LPC200014 years ago 4 replies

I have managed to store in a flash sector code that is compiled to run from RAM. At boot I wish to copy this code from flash to RAM and ...

I have managed to store in a flash sector code that is compiled to run from RAM. At boot I wish to copy this code from flash to RAM and then run the code in RAM. Is this possible using the LPC213x? What do I need to do in the boot file of the flash code to get the RAM code running? Thanks.


Error: L6218E: Undefined symbol main (referred from rtentry2.o).

Started by Ali Aghayifar in LPC20009 years ago 2 replies

hi i am new with keil when i start to use ADC in lpc2138 , this error appear for me i couldn't solve it " Error: L6218E: Undefined symbol...

hi i am new with keil when i start to use ADC in lpc2138 , this error appear for me i couldn't solve it " Error: L6218E: Undefined symbol main (referred from rtentry2.o)." this is my code : [code] #include #include #include unsigned int read_adc(); void mian() { unsigned int adc_result; char buffer[16]; PINSEL


MAM and thumb code for the LPC213x

Started by "joe.boublack" in LPC200011 years ago 3 replies

I think most people execute ARM code on the onchip sram. Do people execute Thumb or ARM code from the flash memory ? Flash memory accesses...

I think most people execute ARM code on the onchip sram. Do people execute Thumb or ARM code from the flash memory ? Flash memory accesses go through a small buffer (MAM: memory acceleration module) in order to hide flash memory latency. However these buffers seems to contains at most 4 ARM instructions or 8 Thumb instructions. This difference may give advantage to Thumb code in theory....