Yahoo Groups archive

Lpc2000

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

Thread

Bootloader initializations ?

Bootloader initializations ?

2005-07-07 by Gromann, Klaus

Hi all,
 
does anyone know which parts of the LPC2294 are initialized by the
internal bootloader? I have strange differences when I start with HW
reset (includes the internal bootloader) and when I start my software
from the debugger.
 
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 !)
 
I use a phytec LPC2294 eval board and Rowley CrossStudio for ARM.
 
Any suggestions  or hints ?
 
Klaus


[Non-text portions of this message have been removed]

Re: [lpc2000] Bootloader initializations ?

2005-07-08 by 42Bastian Schick

Gromann, Klaus <klaus.gromann@...> 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

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
Show quoted textHide quoted text
>  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  
>  
>  
>

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.