I've been working with CodeWararrior 10.3 and MQX 4.0.0 for a while, and I would like to upgrade to MQX 4.0.2. The problem is that I'm using a cloned BSP (derived from twk60f120m),and it didn't get updated when I've installed MQX 4.0.2. Is there an application note that describes how to upgrade cloned BSP's ? Thanks !
Hello, I did this way:
-make a backup copy of MQX 4.0 installation directory
-delete c:\Freescale\Freescale_MQX_4_0\*.*
-install MQX 4.0.2 to c:\Freescale\Freescale_MQX_4_0\
-use the BSP clone tool to make a clone with the same name as your 4.0 clone
-copy BSP source files *.h/*.c and user_config.h from the backup folder to the MQX 4.0.2 BSP folder
(for example,
copy from c:\backup\Freescale_MQX_4_0\mqx\source\bsp\my_twrk70f120m\
copy to: c:\Freescale\Freescale_MQX_4_0\mqx\source\bsp\my_twrk70f120m\
copy from: c:\backup\Freescale_MQX_4_0\config\my_twrk70f120m\
copy to: c:\Freescale\Freescale_MQX_4_0\config\my_twrk70f120m\)
there might exist better way, this one worked for my purposes just fine. Before doing the file replacement, I would personally recommend to use your favourite source code compare tool to review differences between the individual source files.
Thanks a lot Martin !
That's very helpful !