Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Phytec LPC2294 board UART problems

Phytec LPC2294 board UART problems

2006-02-21 by SR

Need some advise on the UART interrupt stuff, when debugging the board I
realize that when I go into the interrupt routine and come out with
restarting it (software) but not the board. The interrupt enabled UART
does
not work until I restart the whole board.

This happens qite often and I just need to know why I should be able to
figure it out from there. This means the code is looping on the interrupt
routine for the UART.

The other thing I really like to know is if there is any code or anyway I
can get the processor to do a restart thru software and get the board on a
hardreset status, please advise

Samuel

Re: Phytec LPC2294 board UART problems

2006-02-21 by Jayasooriah

You can do this by watchdog reset.  Assembler code would look this:

>         @ force reset
>         ldr     r0, =0xe0000000
>         mov     r1, #3
>         str     r1, [r0, #0]
>         str     r1, [r0, #4]
>         mov     r1, #0xaa
>         str     r1, [r0, #8]
>         mov     r1, #0x55
>         str     r1, [r0, #8]
>         b       .

Hope this helps.

Jaya

--- In lpc2000@yahoogroups.com, "SR" <emddjava@...> wrote:
 >
 > The other thing I really like to know is if there is any code or anyway I
 > can get the processor to do a restart thru software and get the board on a
 > hardreset status, please advise
 >
 > Samuel

Send instant messages to your online friends http://au.messenger.yahoo.com

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.