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: uC5282 based RTEMS FlashSize error
From: "K.M Ha" <[email protected]>
To: <[email protected]>
Date: Mon, 9 Jun 2008 19:40:41 +0900
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 ;

 

Error messages below;
 
/usr/local/rtems/rtems-4.7/bin/m68k-rtems4.7-gcc --pipe -B/usr/local/rtems/rtems-4.7/m68k-rtems4.7/uC5282/lib/ -specs bsp_specs -qrtems   -fasm -c   -m528x               -DUNIX    -ansi  -O2 -g -g  -Wall      -DMY_DO_BOOTP=NULL -D_CPUClockSpeed=80000000 -D_FlashSize=16M     -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov  -I. -I.. -I../../../../include/os/RTEMS -I../../../../include         ../rtems_init.c
../rtems_init.c:136:17: error: invalid suffix "M" on integer constant
../rtems_init.c: In function 'initialize_local_filesystem':
../rtems_init.c:136: error: expected identifier or '(' before numeric constant
../rtems_init.c:139:9: error: invalid suffix "M" on integer constant
../rtems_init.c:147:72: error: invalid suffix "M" on integer constant
../rtems_init.c:151: warning: implicit declaration of function 'open'
../rtems_init.c: In function 'initialize_remote_filesystem':
../rtems_init.c:192: warning: implicit declaration of function 'rpcUdpInit'
../rtems_init.c:193: warning: implicit declaration of function 'nfsInit'
../rtems_init.c:248: warning: implicit declaration of function 'nfsMount'
../rtems_init.c: In function 'initConsole':
../rtems_init.c:378: warning: implicit declaration of function 'fileno'
../rtems_init.c: In function 'Init':
../rtems_init.c:535: warning: implicit declaration of function 'tzset'
../rtems_init.c:545: warning: implicit declaration of function 'main'
make[4]: *** [rtems_init.o] error 1
 
How can i solve this problem for new uC5282 target ?
 
At this time my applications worked at RAM base.
But the flash based loading was access fault.
 
Regards,
Kiman
Pohang Light Source
 
 

Replies:
Re: uC5282 based RTEMS FlashSize error Eric Norum
80 MHz version of uCDIMM ColdFire 5282 Eric Norum

Navigate by Date:
Prev: RE: Archive Viewer web start Kasemir, Kay
Next: USB barcode reader and camera Gibbons, P (Paul)
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: RE: Archive Viewer web start Kasemir, Kay
Next: Re: uC5282 based RTEMS FlashSize error 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 ·