Yahoo Groups archive

Lpc2000

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

Message

Re: Solved: LPC2119 CAN Rx interrupt handler problem -- never got invoked

2005-09-07 by hrobotron

Hello,

the problem was in incorrect MEMMAP setting. In LPC2106 chip other
interrupt service programs worked well, because it had
ldr pc,[pc,#-0xff0] programmed in the flash by our vendor.

Now, with addition of MEMMAP=0x2, posted CAN ISR code works well.

Best regards,
Marek P.

--- In lpc2000@yahoogroups.com, Marek Peca <marek@d...> wrote:
> Dear colleagues,
> 
> playing half a day with LPC2119 CAN controller, I really halted at
> problem, that interrupt service routine for CAN message reception
> does not work.
> 
> I have a board with LPC2119 (TPN0431AY), crystal, CPU and peripheral
> frequency equal to 10MHz. It communicates well via CAN with laptop
> CAN analyser software (both reception and transmission), using
> 50kb/s. Programmed to RAM using bootloader software (other programs
> works well, even with interrupts). Compiled on Linux using gcc,
> header file lpc21xx.h and crt0.s downloaded somewhere.
> 
> * When I use polling for incoming message (C1GSR&0x1), everything
> works well. When I setup CAN receive interrupt handler, it does not
> work -- the handler is never called after message reception.

Attachments

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.