Hi,
When I run the mwldmcf.exe linker on the command line I get an application error exception notice: "The instruction at '0x...' referenced memory at '0x...'. The memory could not be 'read'". This is part of my CodeWarrior V7.0 installation I am using to build a flash binary for an MCF52211 ColdFire MCU.
The following is the version information for mwldmcf.exe:
"CodeWarrior Linker for ColdFire.
Copyright (c) 2007, Freescale Semiconductor, Inc
All rights reserved.
Version 5.0 build 7 (build 07)
Runtime Built: Sep 5 2007 16:23:09
Usage: mwldmcf.exe [-options]... [files]... [@response]...
Please enter 'mwldmcf.exe -help' for information about options."
The following is the linker command I am running from the command line:
C:\\"Program Files"\Freescale\\"CodeWarrior for ColdFire V7.0"\ColdFire_Tools\Command_Line_Tools\mwldmcf.exe -processor MCF521X -msgstyle gcc -lC:\\"Program Files"\Freescale\\"CodeWarrior for ColdFire V7.0"\ColdFire_Support\Runtime\C_4i_CF_Runtime.a -lC:\\"Program Files"\Freescale\\"CodeWarrior for ColdFire V7.0"\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib\C_4i_CF_SZ_MSL.a -main "__startup" -force_active '__vect','__cfm' -sreclength 32 -breclength 252 -sreceol unix -keeplocal off -nodeadstrip -listing -show all -warn on -g lcf\MCF52211_INTERNAL_FLASH.lcf [list of object '.o' files] -o bin\MCF52211_INTERNAL_FLASH.elf
Any advice or tips?