EmbeddedRelated.com
Forums

Uart receive timeout Interrupt?

Started by Peter Homann November 9, 2005
I have ported some samples for the MBC2130 and GCC that I can send you
if you like. No FreeRTOS yet I'm affraid.

The samples I ported is the

blink_switch
blink_switch_irq
ds18s20 (some bugs fixed also in the 1-wire code which is now more stable.)
uart0
uart0_irq

Cheers
/Ake

Peter Homann wrote:

> Hi all,
>
> Well I've got the MCB2130 talking to the Philips flash utility. Now I'm
> not sure why?
>
> The only thing I can thing of is that I've rebooted the PC? how
> frustrating.
>
> Regardless, thanks for all the help.
>
> Now on to the real problem.
>
> I'm trying to get FreeRTOS running on the LPC2138.
>
> I can use the Keil demo compiler to compile the Keil demo to work.
>
> I've managed to get the 2016 GCC demo compiled and downloaded to the
> board. Of course it doesn't work. :-)
>
> I'm new to the ARM LPC2138, GCC and FreeRTOS, so it is a steep learning
> curve.
>
> The LPC2016 GCC FreeRTOS demo is targeted at the Olimex board.
>
> Can anyone point me to a demo targeted at the LPC2138 or at least point
> me in the right direction to configure RTOS for the LPC2138.
>
> Once again that for the help with the flashing problem.
>
> Cheers,
>
> Peter.
>
>
>
>
> Peter Homann wrote:
> > Hi,
> >
> > Thanks guys. I'll break out the test gear tonight.
> >
> > From what is being said, it is either a hardware problem, or the
> LPC is
> > not entering boot mode.
> >
> > I can hold P0.14 lo, then use a terminal program to issue '?' and
> see if
> > there is a response.
> >
> > Do you know what the rest of the command set is?, or will the '?'
> > character cause the boot loader to spit it out at me?
> >
> > Cheers,
> >
> > Peter.
> >
> > rtstofer wrote:
> >
> >
> >>--- In lpc2000@lpc2..., Tom Walsh <tom@o...> wrote:
> >>
> >>
> >>>Peter Homann wrote:
> >>>
> >>>
> >>>
> >>>>Richard,
> >>>>
> >>>>Yes, it had been working. I think I downloaded a Hex file for a
> >>>>processor other than the LPC2138 and then it seemed to stop
> >>
> >>working.
> >>
> >>
> >>>>I don't think it is a hardware problem.
> >>>>
> >>>>For the third time, is it possible to erase the boot loader or
> >>
> >>screw it up?
> >>
> >>
> >>>>
> >>>No, you cannot. According to the Philips doc that 8K sector is
> >>>protected from erasure.
> >>>
> >>>Please refer to the Philips manual: "LPC213x User Manual"
> >>
> >>#UM10120, top
> >>
> >>
> >>>of page 221.
> >>>
> >>>
> >>>TomW
> >>
> >>
> >>I read all around that paragraph. But that's the word - it can't be
> >>overwritten.
> >>
> >>Richard
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>>.
>
>
>
>


--
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org


An Engineer's Guide to the LPC2100 Series

---- Original Message ----
From: "Tom Walsh" <tom@tom@...>
To: <lpc2000@lpc2...>
Sent: Thursday, November 10, 2005 3:27 AM
Subject: Re: [lpc2000] Re: Uart receive timeout Interrupt?
>
> Peter Homann wrote:
>
>> Richard,
>>
>> Yes, it had been working. I think I downloaded a Hex file for a
>> processor other than the LPC2138 and then it seemed to stop working.
>>
>> I don't think it is a hardware problem.
>>
>> For the third time, is it possible to erase the boot loader or screw
>> it up?
>>
> No, you cannot. According to the Philips doc that 8K sector is
> protected from erasure.
>
> Please refer to the Philips manual: "LPC213x User Manual" #UM10120,
> top of page 221.

Still, Philips has released the program "LPC2000 Boot Loader update
via ISP" that somehow modifies the similarly unmodifiable boot
sectors of the devices prior to LPC213x...

Karl Olsen



--- In lpc2000@lpc2..., "Karl Olsen" <kro@p...> wrote:
>
> ---- Original Message ----
> From: "Tom Walsh" <tom@o...>
> To: <lpc2000@lpc2...>
> Sent: Thursday, November 10, 2005 3:27 AM
> Subject: Re: [lpc2000] Re: Uart receive timeout Interrupt?
> >
> > Peter Homann wrote:
> >
> >> Richard,
> >>
> >> Yes, it had been working. I think I downloaded a Hex file for a
> >> processor other than the LPC2138 and then it seemed to stop
working.
> >>
> >> I don't think it is a hardware problem.
> >>
> >> For the third time, is it possible to erase the boot loader or
screw
> >> it up?
> >>
> > No, you cannot. According to the Philips doc that 8K sector is
> > protected from erasure.
> >
> > Please refer to the Philips manual: "LPC213x User Manual"
#UM10120,
> > top of page 221.
>
> Still, Philips has released the program "LPC2000 Boot Loader update
> via ISP" that somehow modifies the similarly unmodifiable boot
> sectors of the devices prior to LPC213x...
>
> Karl Olsen
>

Yes, the LPC2106 User Manual states that the 'unlock' command will
allow the boot block to be overwritten.

Richard