Yahoo Groups archive

Lpc2000

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

Message

Re: Bootloader initializations ?

2006-04-28 by austin.linux.lpc2294@boardsailor.com

I have been trying to get my LPC2294 eval board from Olimex working with interrupts, and I am having quite a bit of trouble.  Could I see some code that would reset the vector mapping in the main function after the bootloader has had a chance to mess it up?  I believe that that the bootloader changing the vector table is my biggest problem.  I can get the processor to produce an interrupt when UART0 recieves data, but once an interrupt occures, it appeares from how the processor manipulates the LED that is wired up that, the processor has crashed.

Thanks,
   Austin Schuh

>  Gromann, Klaus <klaus.gromann@klau...> schrieb am Thu, 7 Jul 2005   
>17:51:30  
>  
>> Differences are :  
>> - timer speed is different  
>> - I have to do a vector remapping at the beginnig of the main-function  
>> (remap at the beginning of the reset_handler doesn't work !)  
>  
>You should not rely on any setup, just spend the code to setup the chip  
>as you need it. This means at least VIC, MAM,PLL and vector-mapping,   
>PINSEL.  
>  
>> I use a phytec LPC2294 eval board and Rowley CrossStudio for ARM.  
>  
>We have a customer using the same board, and as he sets up the relevant  
>parts within the resethook of our RTOS so he is sure its software works   
>the  
>same either from Debugger, HW reset or his own bootloader.  
>  
>  
>--   
>42Bastian Schick  
>  
>  
>

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.