Does MAM settings affect IAP flash programming? (long)

Started by jayasooriah in LPC200013 years ago 5 replies

Hello, Many have reported (some in this forum) unexplained crashes upon invoking IAP call to erase flash. While experimenting with...

Hello, Many have reported (some in this forum) unexplained crashes upon invoking IAP call to erase flash. While experimenting with MAM statistical registers on LPC2292, I believe I have stumbled on an explanation. The explanation requires a basic understanding of how MAM and FLASH controller works. Although much of the information "Philips Confidential" (and one needs Area 51 access ...


Unaligned Data Access

Started by dpbevin2k in LPC200012 years ago 8 replies

I'm in the process of porting some software from an x86 system over to an ARM (LPC2292) system and I'm having LOADS of problems with unaligned...

I'm in the process of porting some software from an x86 system over to an ARM (LPC2292) system and I'm having LOADS of problems with unaligned data access (e.g. accessing a 16-bit value where Address bit 0 is set). So far I've thought of adding the __packed option to every pointer and cast, or even replacing all pointer accesses in "safe" methods. Has anyone gone through this arduous p...


interrupt generation in LPC2292

Started by ef03...@... in LPC200013 years ago 2 replies

Hi, I want to generate a small interrupt program using LPC 2292. The LED should be ON for 2 sec and be OFF for 1 Sec.I would like to know...

Hi, I want to generate a small interrupt program using LPC 2292. The LED should be ON for 2 sec and be OFF for 1 Sec.I would like to know what values should I load into T0MR0 and T0PR register to create a delay for 1 Sec.?Is there any forrmula to calculate the Timer load values for T0MR0 and T0PR for different Oscillator frequency? looking for all ur help.


LPC2292: Boot0/Boot1 Detection on Watchdog Reset ?

Started by alipowsky in LPC200014 years ago

I wonder whether the PortpinsP2.26 and P2.27 (Boot0/Boot1) are only examined during a Reset caused by the Reset Line (Pin 135)...

I wonder whether the PortpinsP2.26 and P2.27 (Boot0/Boot1) are only examined during a Reset caused by the Reset Line (Pin 135) driven low, or also in case of a watchdog reset ?. The LPC-2292 Usermanual states to different things: Page 85 "External and intern


PWM6 is not working

Started by in LPC200014 years ago

Hi all. I try to use PWM6 on LPC2292/4. That simple program should have generate PWM wawe on PWM6 output. But, anything is wrong in the...

Hi all. I try to use PWM6 on LPC2292/4. That simple program should have generate PWM wawe on PWM6 output. But, anything is wrong in the program, becouse PWM6 is not working. Please, tell me, what is wrong ? Thanks for any advice or ideas. #include "lpc229x.h" int main() //Single edge PWM { PCB_PINSEL0 |= (1 << 19); /


Missing UART transmit and receive interrupts

Started by phulepriya in LPC200013 years ago 3 replies

hello all, I am using LPC2292, GCC Compiler. I am writing code which should handle nested interrupts. Watchdog is enable and default handler...

hello all, I am using LPC2292, GCC Compiler. I am writing code which should handle nested interrupts. Watchdog is enable and default handler is also written properly (all interrupts are handled over here). My problem is: After 3-4 hours sucessfull transmission and reception of frames,UART transmit interrupt is missed and unit gets hanged. I think it is the problem related to nested int


A/D converter: a conversion is never completed

Started by Joerg Sommer in LPC200013 years ago 2 replies

Hi, I have a LPC2292 and want to use some analog input channels (Ain0, Ain1, Ain6) to get data from analog sensors. I use this routine...

Hi, I have a LPC2292 and want to use some analog input channels (Ain0, Ain1, Ain6) to get data from analog sensors. I use this routine to initialize the sensors: #v+ void sensors_init(void) { /* setup the A/D converter * use Ain0, Ain1, Ain6: 0x1 + 0x2 + 0x40 * divide the PCLK by 13+1 to get 4.5MHz: 0xD00 * repeat the e


Lpc2292 external flash

Started by in LPC200014 years ago 1 reply

Hi, I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash is at49bv320c. I've try the olimex test program, SRAM test is...

Hi, I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash is at49bv320c. I've try the olimex test program, SRAM test is fine,(after some waitstate tuning:), but flash test is fail. I know that olimex using INTEL flash with other ID, but I can't read the ID either. It's a 16bit flash, so I connect OE,WE,CS0, lpc-A1 to at49-A0 and so on... I think it must b


pull ups on external data bus

Started by gmaderecker in LPC200014 years ago 2 replies

hi all, i will use the LPC2292 with external memory. In data sheet is noted, that PORT2 pins use internal pull ups then input function...

hi all, i will use the LPC2292 with external memory. In data sheet is noted, that PORT2 pins use internal pull ups then input function is used. Are therefore external pull ups neccessary for the external bus devices? Thank for you answer Georg


Workaround for LPC2292 errata EXTINT.1, EXTINT.2 and VPBDIV.1

Started by bertriksikken in LPC200012 years ago 4 replies

Hi, I'm running into a problem where the CPU seems to crash when reading the EXTPOL and EXTMODE registers. I am aware of the errata...

Hi, I'm running into a problem where the CPU seems to crash when reading the EXTPOL and EXTMODE registers. I am aware of the errata applying to these registers and attempted to code a work-around, but somehow I can't make it work reliably. The offending code is the following: static void GetExternIntConfig(UINT32 *pulExtMode, UINT32 *pulExtPolar) { UINT32 ulVPBDIV; /* get origin...


I2C does not generate interrupt after writing or reading

Started by catstransport in LPC200014 years ago 3 replies

I have a problem with my lpc2292. The I2C bus does not generate a interrupt after a writing or a reading. When I set the interrupt manually...

I have a problem with my lpc2292. The I2C bus does not generate a interrupt after a writing or a reading. When I set the interrupt manually by setting the i2c interrupt bit high then it comes in my isr routine. I have tried several things but it all doesn't generate a interrupt. best regards, Remco If one cannot enjoy rea


Re: How can i put the pins of LPC2000-family into high-z?

Started by "sub...@aeolusdevelopment.com" in LPC200012 years ago 1 reply

Bertrik Sikken Wrote > On di, 2007-02-27 at 15:39 +0000, tobi_tobias69 wrote: > > How can i put the ports of the LPC2000-family (LPC2294,...

Bertrik Sikken Wrote > On di, 2007-02-27 at 15:39 +0000, tobi_tobias69 wrote: > > How can i put the ports of the LPC2000-family (LPC2294, LPC2292, > > LPC2194, LPC2129) into high-z to isolate them from the rest of > > electronic parts to make ict ? Which pins of the prozessor change the > > state into high-z ? I didn't found any informations in the datasheets. > > Thank you. > > AFAIK there


What is ERROR encounted in table of LUT of CAN module?

Started by pjm_sample in LPC200013 years ago

I have read the User Manual of LPC2292 for many times. But I have not get a clear explaination about the ERROR encounted in LUT. In...

I have read the User Manual of LPC2292 for many times. But I have not get a clear explaination about the ERROR encounted in LUT. In order to generate this kind of error. I coded a simple example like this: #define CANAFRAMBase (*((volatile unsigned long *)0xE0038000)) #define CANAFMR (*((volatile unsigned char *)0xE003C000)) #define CANSFFSa


erase Flash using UART1?

Started by gtrfender in LPC200013 years ago 3 replies

Hello, Is there a way to erase Flash instead of using the Philips Flash Utility via UART0? The LPC2292-board I'm working on is configured...

Hello, Is there a way to erase Flash instead of using the Philips Flash Utility via UART0? The LPC2292-board I'm working on is configured with UART1 on the RS232 port and UART0 communicating with the IO board. I'm developing a Loader program, however, I downloaded some code that rendered the board unable to communicate. I'm trying to erase Flash and get the board back to a known s...


LPC2292 + QUAD UART tl16c754

Started by catstransport in LPC200014 years ago 5 replies

I have a small problem with the wait states of the tl16c754. I have made a test method for writing and reading to some addresses. To the ...

I have a small problem with the wait states of the tl16c754. I have made a test method for writing and reading to some addresses. To the address of lcr i can write and read. But to the address of mcr I can't write or read to it. Both have the possebility to read and write. When The cs and bls signals are working when I write 0xaa and 0x55 to the quad uart.I look


Executing code from External memory (lpc2292)?

Started by miklospflancer in LPC200013 years ago

Hi I would like to load my code into external memory and execute it but I dont know how. I have managed to load programs (using the...

Hi I would like to load my code into external memory and execute it but I dont know how. I have managed to load programs (using the Philips bootloader) into flash and internal ram and they work fine. How is it possible to load code into external ram an execute it? What tools do I need? I am presently developing with Eclipse and the GCC toolchain Thanks


Re: LPC2000 UART drops characters silently?

Started by jayasooriah in LPC200013 years ago 48 replies

System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. Symptom are...

System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. Symptom are that for certain (low) baud rates, UART silently drops characters on Rx channel when saturated. There is no indication of this in the LSR and none of the error bits (OE|PE|FE|BI|RXFE) are set when this happens. It appears that UART logic is failing t...


EFSL fat file system problem

Started by r_goncalves2000 in LPC200012 years ago

Hello all. I'm using a LPC2292 and I'm trying to integrate efsl fat file system into my project. I can do some operations like directory...

Hello all. I'm using a LPC2292 and I'm trying to integrate efsl fat file system into my project. I can do some operations like directory list and write to a new file, but I can't append to an existing file. Does any one know of a problem in the append function? I have a CAN debug that sends me some info to my PC. When I compile my project with library "libefsl.a" some strange charact...


LPC with external RAM

Started by r_goncalves2000 in LPC200011 years ago 6 replies

Hello all. I'm starting a new design and I need some guidance. My board needs NV RAM. Since the amount of RAM is 128K or more I was thinking of...

Hello all. I'm starting a new design and I need some guidance. My board needs NV RAM. Since the amount of RAM is 128K or more I was thinking of using a LPC2292 with external RAM. My questions are: #1 Can I connect a 8 bit RAM directly to the LPC external bus and just read bytes or must I connect 2 RAMs of 16 bits each to read a full 32 bit word? #2 What component can you sugest. I thou...


Re: LPC2000 UART drops characters silently?

Started by Leon Heller in LPC200013 years ago

----- Original Message ----- From: "Peter Jakacki" To: Sent: Saturday, July 15, 2006 12:14 PM Subject: Re: [lpc2000] re: LPC2000 UART...

----- Original Message ----- From: "Peter Jakacki" To: Sent: Saturday, July 15, 2006 12:14 PM Subject: Re: [lpc2000] re: LPC2000 UART drops characters silently? > jayasooriah wrote: > > System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; > > VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. > > > > Symptom are that for certain