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


Crosswork UART0 interrupt problem

Started by g_gambler2000 in LPC200012 years ago 10 replies

Hi, My Uart0 interrupt cant be triggered. It seems that my program doesn't jump to the irq handler. I have defined...

Hi, My Uart0 interrupt cant be triggered. It seems that my program doesn't jump to the irq handler. I have defined "VECTORED_IRQ_INTERRUPTS" and i'm not using any optimization. what else could i miss?? I need help!! static void IRQ_UART0(void) __attribute__ ((interrupt ("IRQ"))); static void IRQ_UART0(void) { int8 dummy; if((U0IIR & 0x0F)==0x04) { received = 1; ...


LPC2292 UART0 problem

Started by mjianjun in LPC200012 years ago 2 replies

Hi all, =20 I am using LPC2292 in my board,I use UART0 connect to other device and ca= n receive data correctly but can not send out data...

Hi all, =20 I am using LPC2292 in my board,I use UART0 connect to other device and ca= n receive data correctly but can not send out data to this device. When I c= onnect board to my PC the data can be sent out correctly. When I change to = UART1 all functions work well. Anyboday met the same problem?? =20 Thanks John _______________________________________________________________...


Lpc2103 could not enter UART0 IRQ

Started by hjiongh in LPC20009 years ago 6 replies

Hi, I'm using LPC2103, IAR4.42A. Now I use IAR setup file lpc2xxx_cstartup.s79 and setup a new project. In main funciton , I setup PLL and...

Hi, I'm using LPC2103, IAR4.42A. Now I use IAR setup file lpc2xxx_cstartup.s79 and setup a new project. In main funciton , I setup PLL and UART0 as below: ================================= void SysControl_Init(void) { #ifdef xFLASH MEMMAP=3; #elif xSDRAM MEMMAP = 2; // xSDRAM should be defined in PRO_Sys_Macro.h , modify in the future #elif iRAM MEMMAP = 2; #else ...


IAR Interrupt based UART

Started by Hanns Tappeiner in LPC200010 years ago 3 replies

Hi everyone, I am using an LPC2103, compiler IAR EW. While it is easy to get the polled version of UART0 communication to work, I can't get...

Hi everyone, I am using an LPC2103, compiler IAR EW. While it is easy to get the polled version of UART0 communication to work, I can't get the interrupt based version to work. Can anyone point me to an example on how to initialize a simple interrupt based communication via UART0/1 using IAR EW for an LPC 2103? Or froma similar controller? Thanks a lot, Tappo ----------------------...


how to find flash occupied by hex file in LPC2138

Started by "NAGARAJU R." in LPC200011 years ago 2 replies

Hi, I am using local IDE for lpc2138 in which there is no facility to know how much flsh has been used by our hex file which is loaded in...

Hi, I am using local IDE for lpc2138 in which there is no facility to know how much flsh has been used by our hex file which is loaded in controller through uart0.I am not using jtag debugging, i am just using uart0 for programming and debugging. But I want to know how much flah memory has been occupied in controller flash memory and how much is left. Please tell me how to calculate the...


how to calculate values of U0DLM and U0DLL in UART0

Started by "Niren.R" in LPC200011 years ago 4 replies

how to calculate values of U0DLM and U0DLL in UART0 ? Is there any standard equation for it ? ------------------------------------

how to calculate values of U0DLM and U0DLL in UART0 ? Is there any standard equation for it ? ------------------------------------


LPC2103 UART0 Interrupt Help

Started by John in LPC200011 years ago

I am having trouble getting the interrupt to work when data is received on UART0. I have verified that the UART is working, both sending an...

I am having trouble getting the interrupt to work when data is received on UART0. I have verified that the UART is working, both sending an receiving. I am using GNUARM, any pointers would be great. //main.c #include #include "lpc2103.h" #include "uart.h" char data; unsigned char test = 0; void UNDEF_Routine(); void SWI_Routine(); void IRQ_Routine()__attribute__ ((inter


LPC2148 setting Uart0 at 12mhz pclk - not working

Started by ssonderhoff in LPC20009 years ago 26 replies

I am running the lpc2148 at a low clock speed of 12 mhz to reduce power usage. This is working, the power consumption is down and a light blinks...

I am running the lpc2148 at a low clock speed of 12 mhz to reduce power usage. This is working, the power consumption is down and a light blinks at the correct rate. for each speed I reset the Uart0 parameters to take the pclk into account (code below) the PLL_int(code below) sets processor to 12mhz(slow). At 60mhz Everything is working fine fine and I can read the output debug text without...


How to use UART0 as LIN in LPC2378 ?

Started by Aji Pamungkas in LPC20009 years ago 2 replies

Hello, lpc2000 users. i'm trying to use UART0 as LIN (TJA1020 chip) in LPC2378?as master on?MCB2300 board. I use flexdevel board as it's slave,...

Hello, lpc2000 users. i'm trying to use UART0 as LIN (TJA1020 chip) in LPC2378?as master on?MCB2300 board. I use flexdevel board as it's slave, using TH8082 as LIN transceiver and SCI in flexdevel.?I initialize both of them using 9600 bps, 8 bit, 1 stop bit and no parity.?In MCB2300, I use modified version?of UART API?by Martin Thomas . Before using MCB2300, I use two FlexDevel board as a master...


LPC2104 UART0 FIFO problem

Started by yxh510 in LPC200014 years ago

HI, When I using UART0 FIFO for receive 4 byte interrupt.the problem is: It can only receive 3 byte then go interrupt.When I send 4 byte...

HI, When I using UART0 FIFO for receive 4 byte interrupt.the problem is: It can only receive 3 byte then go interrupt.When I send 4 byte from PC to LPC2104 It go breakdown and can't work.Why? Does anyone know ,tahnk you!


Info about LPC210x UART setting tool (download area)

Started by frankpoplonski in LPC200015 years ago 1 reply

Hello all, short info about UART setting tool in the download area. Description: easy way to set up UART0 and UART1 for...

Hello all, short info about UART setting tool in the download area. Description: easy way to set up UART0 and UART1 for LPC210x OS: tested with Win XP, Win 98 Output: generates a INI function for UART1 or UART0 Tested with Keil ARM (gcc) tools and Keil lpc210x.h


UART0 does not trig an interrupt if the U0THR has not been written (UART0 bug??)

Started by croquettegnu in LPC200012 years ago 3 replies

I can't enter the interrupt handler of my project code if I do not write the THR before whereas I have set the THRE flag in the U0IER and that I...

I can't enter the interrupt handler of my project code if I do not write the THR before whereas I have set the THRE flag in the U0IER and that I can see it set to 1 in the U0LSR ! If THRE is set in the U0LSR and the U0IER, I should trig an interrupt, shouldn't I? It seems necessary for the UART to write the THR once before be able to trig the THRE interrupt!!! Please, help me! Thanks in ...


Olimex LPCH2214 and FT232

Started by lpcarmed in LPC200014 years ago 2 replies

How can I make the FT232 to float the TX output, so I could safely use the Uart0 RX line?

How can I make the FT232 to float the TX output, so I could safely use the Uart0 RX line?


zigbee wireless transmission through UART

Started by J Praveen Kumar in LPC20006 years ago 1 reply

Hi! can anyone pls help me in configuring embedded c program to send data through zigbee using UART0. ------------------------------------

Hi! can anyone pls help me in configuring embedded c program to send data through zigbee using UART0. ------------------------------------


Regarding RF ID using LPC2129

Started by hari krishnan in LPC200011 years ago 5 replies

Hello Sir, Regarding RF ID i am not getting output from UART0 and UART1..... I have develop some coding.... but didnt get output in...

Hello Sir, Regarding RF ID i am not getting output from UART0 and UART1..... I have develop some coding.... but didnt get output in Hyperterminal (PC)... So Please give me some Idea to this project ... thank you.. -- With Regards, HARIKRISHNAN.R ------------------------------------


UART clock tolerance question.

Started by diwilru in LPC200013 years ago 4 replies

Fellows, In my application the best I can get is 115384 Baud for uart0 whereas data source has speed of 115200 exactly. The error is...

Fellows, In my application the best I can get is 115384 Baud for uart0 whereas data source has speed of 115200 exactly. The error is about 0.16%. The question is - will lpc (2148) handle it? Thanks in advance, Dmitry.


Re: No interrupt serviced for UART

Started by rudr...@yahoo.com in LPC200013 years ago

Hi, Can you provide me the code for clearing the cpsr register. I am using the lpc2294 board. Currently i am not getting the isr called for...

Hi, Can you provide me the code for clearing the cpsr register. I am using the lpc2294 board. Currently i am not getting the isr called for uart0. Regards, Rudresh N B > > > > Hello all, > > After trying to figur out what the heck is going on for over a day, I > decided to throw the question in this group. > > Just sending out a string through the UART1 of a LPC2


Interrupt Select Register (VicIntSelect) bit positions

Started by javida13 in LPC200014 years ago 1 reply

The LPC2138 User's Manual does not provide a description of each of the 32 bits for VICIntSelect (Table39). Does anyone have this ...

The LPC2138 User's Manual does not provide a description of each of the 32 bits for VICIntSelect (Table39). Does anyone have this information? For instance, UART0 is bit 6. Barry


UART0 interrupts without FIFOs

Started by bacalaoencebollao in LPC200013 years ago 69 replies

I have a problem with my programme, i want to make my UART work, but without the FIFOs, is there anyway to get a receive interrupt when only one...

I have a problem with my programme, i want to make my UART work, but without the FIFOs, is there anyway to get a receive interrupt when only one character has been recieved, or do I have to wait for the FIFO to be full? In the case of using TIMEOUT, how do I fix that TIMEOUT value? Thanks