Dear Quangui,
the free CodeWarrior license that you probably use only lets you to build applications up to 64k of code. You need to make the application smaller, or you need to get the full CodeWarrior license.
The FreeMASTER demo is quite large by default because it contains the whole project file and couple of HTML files and images compiled in the application for demonstration purposes. With this feature, you are able to load and open the project directly from the board Flash memory.
You may make the application smaller by turning off some features in the application's freemaster_cfg.h file:
- Set the FMSTR_DEMO_LARGE_ROM to 0 and see how it impacts the code size. This option disables putting the files into the Flash memory.
- Turning off the FMSTR_DEMO_ENOUGH_ROM will disable even smaller text files and links put to the Flash memory for demonstration purposes.
- Turning off some of the FreeMASTER features will make the image even smaller, but you will loose functionality. For example turning off FMSTR_USE_TSA will remove all code and data used by TSA feature. Read about other features in the driver's user guide.
Best regards,
Michal