[coldfire-gnu-discuss] RAMBAR0 incorrectly set by __cs3_reset

Corrin Meyer Corrin.Meyer at dornerworks.com
Sat Nov 8 17:50:50 UTC 2008


> Which 52235 board are you targeting?
> How are you linking your program?
> Are you using a modified linker script?

I am using a modified linker script targeting a custom board that should
look like the M52235EVB.

> It is the value of the  __cs3_region_start_rom plus 0x21.
> __cs3_region_start_rom should be zero.  Can you determine if that is
the
> case,
> and if not why not?

It appears that __cs3_region_start_rom is not being set to 0 and it is
because of my modified linker script. I had changed the flash origin to
0x00003000 because I have a bootloader that resides at 0x0 which does
all the pre-configuring.

Knowing that __cs3_region_start_rom needs to be 0x0 I should be able to
modify my linker script accordingly.

> Yes, provide your own implementation of the routine in a .cs3.reset
> section.
> Provide a global symbol __cs3_reset_cobra52235 (adjust if you're not
using
> the
> cobra52235 board), and make sure it ends with a jump to _start.  This
is
> documented in the getting started guide.

Cool.  Thanks for the pointer.

Corrin J. Meyer 
DornerWorks, Ltd. 
Embedded Systems Engineering 
  
T: 616.389.8336 
F: 616.245.8372 
E: corrin.meyer at dornerworks.com 
  
3445 Lake Eastbrook Blvd. SE 
Grand Rapids, MI 49546




More information about the coldfire-gnu-discuss mailing list