EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: uC5282 based RTEMS FlashSize error
From: Eric Norum <[email protected]>
To: "K.M Ha" <[email protected]>
Cc: [email protected]
Date: Mon, 9 Jun 2008 08:39:06 -0500
On Jun 9, 2008, at 5:40 AM, K.M Ha wrote:

Hi All,

I am try to compile and loading to new uC5282 target module.
Model : uC5282-16E16C80-X
Flash size is : 16 M
CPU clock is 80 MHz

Added linking flag to my application and base-3.14.9:
ARCH_DEP_CFLAGS  += -D_CPUClockSpeed=80000000 -D_FlashSize=16M

Original Flash size definition is
_FlashSize = DEFINED(_FlashSize) ? _FlashSize : 4M ;

The line above is in the linkcmds file. You need to specify the flash memory size using 'ld' command-line options.
Try this:
ARCH_DEP_LDFLAGS += -Wl,'--defsym' -Wl,'_FlashSize=16M'


--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



References:
uC5282 based RTEMS FlashSize error K.M Ha

Navigate by Date:
Prev: USB barcode reader and camera Gibbons, P (Paul)
Next: 80 MHz version of uCDIMM ColdFire 5282 Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: uC5282 based RTEMS FlashSize error K.M Ha
Next: 80 MHz version of uCDIMM ColdFire 5282 Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·