sprintf problem in LPC2103

Started by topandurangs in LPC200014 years ago 2 replies

hi all, I am using LPC2103 in my application.My all code working fine. When i use sprintf routine my controller is reset during...

hi all, I am using LPC2103 in my application.My all code working fine. When i use sprintf routine my controller is reset during execution of sprintf. The same sprinf i had used in LPC2136 successfully.What could be the possible reason. Thanks in advance. Regards, Pandurang S.


ARM programming error

Started by thal_munki in LPC200014 years ago 1 reply

Greetings! Compiler: Cross Works for ARM v1.5 uC: LPC2103 on an OLIMEX development board JTAG:...

Greetings! Compiler: Cross Works for ARM v1.5 uC: LPC2103 on an OLIMEX development board JTAG: http://www.sparkfun.com/commerce/ product_info.php?products_id=275 Problem: When downloading the code into the ARM I get an error stating that the code in the ARM differs from what it should be, ie download failed. The odd thing is that this problem always occurs at address 0x1000. I know ...


Unwanted ISP entery with EINT1 pin low.

Started by topandurangs in LPC200014 years ago

hi all, I am working with LPC2103.In my application EINT1( P0.14 ) used for externl interrupt. If external interrupt signal is...

hi all, I am working with LPC2103.In my application EINT1( P0.14 ) used for externl interrupt. If external interrupt signal is in LOW state & system is reset,my controller hangs up( it is goes in to ISP mode).If external interrupt signal is in HIGH state & system is reset,it work fine. What should i do ,to avoid unnessary entery in ISP mode on power on ,if external p...


LPC2103 Vbat

Started by m_lettau in LPC200014 years ago 3 replies

Hi- I'm working on a 2103 based design on our own board. We have code running well on a Keil eval board. The Philips rep that we buy our...

Hi- I'm working on a 2103 based design on our own board. We have code running well on a Keil eval board. The Philips rep that we buy our parts through mentioned something about an errata regarding the vbat pin and that it needed to be tied to either power or ground, not left floating. Since we don't need the RTC, we're not putting a battery on the board. I've searched all over Philip'...


Error message: "Code in HEX file exceeds Flash Limitations!"

Started by crapnuts in LPC200014 years ago 4 replies

subject: "Code in HEX file exceeds Flash Limitations!" My setup: Embedded Workbench 4.0 Kickstart IDE, WindowsXP the target: Embedded Artists...

subject: "Code in HEX file exceeds Flash Limitations!" My setup: Embedded Workbench 4.0 Kickstart IDE, WindowsXP the target: Embedded Artists LPC2103 USB QuickStart Board with QuickStart Prototype Board downloader: Philips LPC2000 Flash Utility V2.2.3 My code: NAME main PUBLIC main COMMON INTVEC:CODE CODE32 B main RSEG IC...


uVision3 error message: "Missing Device (R003....)"

Started by ottorichter100 in LPC200014 years ago 2 replies

Hi out there, I'm new to ARM-Controllers and KEIL uVision. I'm using the trial version (restricted version), with Keil tool-chain on a...

Hi out there, I'm new to ARM-Controllers and KEIL uVision. I'm using the trial version (restricted version), with Keil tool-chain on a WIN2000-PC Compiling works, also loading into LPC2103 (with ULINK). The compiler tells me that I use 12% of code limit of the trial version. BUT: When I want to start my program on the LPC2103 by the debugger I get the following message: MISSING DEVIC...


Some LPC2103 & OpenOCD questions

Started by Yahuh Blowz in LPC200014 years ago 2 replies

Hi everyone, I'm just getting started with OpenOCD and an LPC2103 (Olimex dev board). I'm not new to ARMs or GCC but I am to OpenOCD +...

Hi everyone, I'm just getting started with OpenOCD and an LPC2103 (Olimex dev board). I'm not new to ARMs or GCC but I am to OpenOCD + Eclipse. I have a few questions related to OpenOCD and Eclipse, I hope someone will take the time to respond. 1. Is anyone able to debug their LPC2103 or 210x with OpenOCD + Wiggler? I am using the information at : http://www.ixbat.de/index.php?page_id=...


LPC2103 RS485 Break/Frame Error Detect

Started by Joel Winarske in LPC200014 years ago 8 replies

I am working on a project that is part of an RS485 bus running at 38400 baud. I've discovered something odd. Background ------------ I...

I am working on a project that is part of an RS485 bus running at 38400 baud. I've discovered something odd. Background ------------ I needed to determine incoming break generated by master. Protocol is two breaks, then data stream. Setup ------------ LPC2103 Board has a 14745600 crystal. Using my tool lpc2fdcalc.exe to come up with fractional divider register values. I'm list...


Debugging app in flash?

Started by Yahuh Blowz in LPC200014 years ago 2 replies

Hi, I'm using an LPC2103 which is limited in RAM (8KB), so I'm trying to keep code in Flash. Does anyone here debug their LPC with code in...

Hi, I'm using an LPC2103 which is limited in RAM (8KB), so I'm trying to keep code in Flash. Does anyone here debug their LPC with code in flash? I'd like to hear any tips, experiences or suggestions. I have been trying a demo application for the 2103 with OpenOCD, Eclipse, etc and I can't seem to get breakpoints to stick -- I think I'm accidentally exceeding the two hardware breakpoint li...


Strange SD initialization problem

Started by deliconn in LPC200014 years ago 1 reply

I am using the ELM FAT code on an LPC2103 running at 70MHz. I will start off by saying the ELM code works great, no problems with that when the...

I am using the ELM FAT code on an LPC2103 running at 70MHz. I will start off by saying the ELM code works great, no problems with that when the card initializes correctly. My problem is 'when' the initialization occurs. If I initialize the SD card right away (first couple instructions in my main) things work great. But if I stick a delay right before SD initialization (just a spinning...


Best Assembler for lpc chip.

Started by ispgardner in LPC200014 years ago 10 replies

I'm new to LPC chip & my present activity is to get some experience with this device. I acquired one of the Olimex boards with LPC2103 and RS232...

I'm new to LPC chip & my present activity is to get some experience with this device. I acquired one of the Olimex boards with LPC2103 and RS232 and I need help to select the tool to learn the chip. I didn't realized that there are so many options. I appreciate the advise which compiler is the best that meets following criteria: - I need only assembler and loader. I would miss the point to...


LPC2103 I/O and processing speed to handle 6 serial ports.

Started by in LPC200014 years ago 53 replies

Hi, I have a project where I need to control 6 serial ports operating at 4800 baud and one bluetooth module. Would the LPC2103 be fast...

Hi, I have a project where I need to control 6 serial ports operating at 4800 baud and one bluetooth module. Would the LPC2103 be fast enough to implement 6 serial ports using a timer interrupt and bit banging ?? Would I still have enough processing power left to handle the higher level protocols involved ?? Has anyone done something similar ?? I have never used a 32 bit micr...


Development Environment to start using the LPC2103.

Started by in LPC200014 years ago 1 reply

Hi, After all that talk about the serial ports it is time for me to start looking for development tools for the LPC family. I do...

Hi, After all that talk about the serial ports it is time for me to start looking for development tools for the LPC family. I do not intend to start a "holly war" about which compiler is the best but I really could use some help on that decision. I already have some hardware I can start "playing" imediatelly. I have a Keil MBC2130 board, a Embedded Artists LPC2138 quickstart ...


Analog Inputs on LPC2103 with 16x4 LCD Module

Started by soufeazie in LPC200014 years ago 5 replies

Hello, I am relatively new to microcontroller programming and have been banging my head against the wall for the past couple of weeks trying to...

Hello, I am relatively new to microcontroller programming and have been banging my head against the wall for the past couple of weeks trying to configure my lpc2103 controller to function properly. I have got an hd44780 based LCD module and have successfully configured it to display text...that was good. Now, I am currently spinning my wheels trying to read an analog input port. I have loo...


PWM on LPC2103 w/o interrupt

Started by "r. w." in LPC200014 years ago 3 replies

Hello, I try to implement on the LPC2103 a PWM with the auxiliary match register 3 as recommended in the user manual. But I do not want to...

Hello, I try to implement on the LPC2103 a PWM with the auxiliary match register 3 as recommended in the user manual. But I do not want to use an interrupt routine for that. How can this done? Does anybody have an example which can be shared or "a more detailed how to"? Thank you ..richard


current draw on VBAT of LPC2103

Started by Gus in LPC200014 years ago 2 replies

Why do I have 1.5mA on VBAT on LPC2103?! The RTC is running fine and keeping track of time but why it is 1.5mA when the 3.3V and 1.8V are...

Why do I have 1.5mA on VBAT on LPC2103?! The RTC is running fine and keeping track of time but why it is 1.5mA when the 3.3V and 1.8V are off? Any help would be appreciated Gus


70Mhz LPC2103: what's max baud for "Soft Uart"?

Started by unity0724 in LPC200014 years ago 4 replies

Hi! guys, What would be the maximum baud rate for 2 sets of Bit-Bang uarts, if I need to: a) Bit Bang Uarts with dedicated timers - 2 sets...

Hi! guys, What would be the maximum baud rate for 2 sets of Bit-Bang uarts, if I need to: a) Bit Bang Uarts with dedicated timers - 2 sets of Bit-Bang Uarts with dedicated timers (Timer 0 & 1, and ExIrq0/1 for start-bit detection) b) And, Bit-bang Uarts without dedicated timer - One single timer (Timer0) available for 2 uarts Note: - I Do NOT need any verified or tested numbers. O...


Modifying stack.....help please!

Started by Jack Key in LPC200014 years ago 15 replies

Hi all. I my application, I have a typical need. I am using a LPC2103. I get an interrupt, EXT_INT1, and I go into the ISR. Its an IRQ. Now,...

Hi all. I my application, I have a typical need. I am using a LPC2103. I get an interrupt, EXT_INT1, and I go into the ISR. Its an IRQ. Now, in the ISR, I want to load the stack with an address of a function, such that when I 'POP' the stack, the address for the next instruction should be the address of the function that we stored in the ISR. I am accustomed to C language, and the code th...


Cool app: MOD file player on lpc2103

Started by ligfietser2003 in LPC200014 years ago

I must be getting old ... [:-$] Long before MP3 became available I was playing around with MOD files. You needed either an Amiga or a PC with a...

I must be getting old ... [:-$] Long before MP3 became available I was playing around with MOD files. You needed either an Amiga or a PC with a proper soundcard to be able to play MOD files. http://www.k9spud.com/traxmod/ describes a MOD-file player using a stereo DAC created using 2 match outputs per timer. Data from the SD card is fetched using the EFSL file system. Regards, Rob ...


Changing IO pin direction during ISR possible?

Started by joconradt in LPC200014 years ago 1 reply

Hi LPC list! I have trouble changing the direction (input/output) of a GPIO pin during an interrupt service routine. When ADC finished a...

Hi LPC list! I have trouble changing the direction (input/output) of a GPIO pin during an interrupt service routine. When ADC finished a conversion, I would like to change a digital GPIO pin from output-LOW to tri-state (input). My LPC2103 seems to ignore changes to the IODIR register during the interrupt routine; the same code in the main loop (non ISR) seems to work well. Can anyone...