CodeWarrior Installation

Posted by Petr Hapal on 19 January 2013 | 0 Comments

Tags: , , ,

It is not hard to install development suite - you only have to perform few steps (download links are at the end of this post). First you have to install CodeWarrior IDE (there is nothing to configure). The next to install is FreeMASTER (again nothing to configure in this step). QuickStart should be installed last. After finishing you have to perform post installation steps described in "\Program Files\Freescale\DSP56800E_Quick_Start r2.4\user_manuals\todo_CW.htm" (or can be found in Start menu - Freescale - DSP56800E Quick Start - Read post installation steps). It is an integration of QuickStart configuration interface to CodeWarrior and path setup.

You can check correct installation steps by starting CodeWarrior and creating new project - File - New..., Project tab. You should place project name to "Project name" field and a destination path into "Location" field. The project type should be "DSP56800E Quick Start 2.4 Stationary".

New project dialog

Processor selection dialog appears after clicking "OK". If you have MC56F8006DEMO kit select it otherways select appropriate processor you have.

Processor selection dialog

Whole project tree and default editor view will appear after clicking "OK".

Default editor with project tree

Now I would like to discuss something what is called "Targets". You can define more targets within one project. Lets say that you will develop your firmware on some prototype (some kit for example) and after finishing firmware the final PCB with processor and all circuits will be designed. Both variants will be little bit different in circuit connection. Therefore you should create two targets in your project - "Kit" and "Final". Then you can select in project tree which source and header files belongs (will compile) to each target or you can change settings (compiler) for each target. It is very tricky to have complete definition of HW connection in header file (in macros) different for each target.

Targets are very powerfull if you would like to produce one application with different possible functionalities. All variants will then be defined as targets and you can compile/debug only what you need. But everything coexists within one project and shares one source code. I'll return to targets in one of my next posts again.

If you istallation of QuickStart was sucessfull you can try to press Ctrl+F12 (or combination you chose) and configuration dialog should appear. You should be also able to build your project by pressing F7.

QuickStart configuration interface dialog

You should select your debugging interface in target settings first. Click target settings icon and then select "Remote Debugging" option. Then you can select you debugging connection from "Connection" combo box where "56800E Local Hardware Connection" is LPT JTAG adaptor I've described in my previous post. You can also select "56800E Simulator" which is powerful in e.g. filter simulation with predefined input signal (as array). This simulator is very limited - it fully simulates core but it is not possible to simulate peripherals (e.g. timers) and interrupts.

Target settings dialog

I'll describe how to bling LED in my next post (finally ;-).

Downloads:

CodeWarrior, Old IDE - select special edition (free, 64kB code size limitation)

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&tid=CWH

QuickStart 2.4

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DSP56800EQUICKSTART&fsrch=1&sr=1

FreeMASTER

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FREEMASTER&nodeId=0152109D3F

 

Post your comment

Comments

No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments