Hi Rick
First I'll describe the configuration of the application project and then the boot project (the second is in fact very similar or even identical)
To configure the project for the MCF52223 the base define
_M5223X is needed (this will already be on and it is used to distinguish the Coldfire V2 MCU from any other hardware - the name originates from the first device supported but is nevertheless still used for the basic family).
Then chose the specific device class
//#define _M521X // basic CAN MCU
//#define _M521XX // basic MCU
//#define _M5221X // USB family
#define _M5222X // USB family
//#define _M5225X // Kirin3Only one of the possibilities should be selected (note that there may be more possibilities here than in your version).
The next step is to select the board that the chip is on, plus possibly change heap settings:
#define M52223EVB // EVB Board for M52223
//#define M52221DEMO // DEMO Board for M52221
#define OUR_HEAP_SIZE (HEAP_REQUIREMENTS)((6*1024)*MEM_FACTOR)
#define DEVICE_WITHOUT_ETHERNET // M5222X has USB but no EthernetYou can select the DEMO or EVAL boards or add your own target define to control setups elsewhere in the project.
The boot loader set up is very similar, where you select
_M5222X but don't need to select a board to go with it (unless you want to add one due to specific board related differences).
Your setup is thus basically correct but you need to remove the define
_M52221 otherwise it will be for the M52221 - this is used to control this and will set for the larger memory when commented out.
Back to the serial loader itself:
Check out the new document here describing the SREC loader which has been developed in the meantime:
http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF There is also a demo at
http://www.utasker.com/SW_Demos.html (although not for the M52223 - I will try to add this shortly).
The SREC loader is also dicussed mor ehere:
http://www.utasker.com/forum/index.php?topic=587.0This will be included in the next SP or else contact me directly for a beta project.
Regards
Mark