Hi all,
today I've installed on a Windows XP Machine CW 10.2 with MQX 3.8 and I would try to download the MQX "Hello world" example in a TWRK60N512 trough the USB port on the board (without tower). I've imported and built MQX as described in "Getting Started with Freescale MQXTM RTOS" guide, than I've imported and built the "Hello World" MQX Example.
When i try to start the Debug i got the following message from CW: "An application file was not specified in the launch configuration". In my opinion seems that CW doesn't produce the binary file that can be executed in the K60, but i'm not sure. What could be happened? Can anyone help me?
Thanks a lot in advance.
Francesco.
Hi,
I have the same problem. I've downloaded KINETIS512_SC examples - there is a readme file, but it is out of date (for CW10.1) and it getting me lost - I cannot make any project working. Now I'm able to build projects but I'm not getting binaries and I'm jammed.
I liked to used old CW, everything worked fine, every project. But this is really disappointing. Freescale support used to be better too.
Thanks,
Matej
Did either of you ever figure this out? Not surprised no one responded to you. I am starting to think CW was a bad choice for a number of short deadline projects. I am in the same situation at the moment.
Hi Guys,
I would submit a service request and reference this thread to get your issues resolved. I have not seen this particular one.
It is very common to have these sorts of issues, and it often comes down to paths being incorrect or settings not being 'automatically' configured...
This is a perfect storm of changes in CodeWarrior v10.2 being incompatible with CodeWarrior v10.1, and some updates made to MQX. I've managed to get the same set of software working with the TWRK60N512 board. What follows is the sequence of what to do. Unfortunately, it involves uninstalling and reinstalling CodeWarrior and MQX.
The process is:
1) Uninstall CW for MCUs and MQX
2) Install CW for MCUs v10.2
3) Install the CW for MCUs v10.2 update
4) Install MQX 3.8.1
The installation order here is important--if you do it wrong both CW and MQX break in mysterious and frustrating ways.
5) Drag the file <board>.wsd into the CodeWarrior Projects view, where <board> is your board name. For Windows XP, the path name to this file is C:\Program Files\Freescale\Freescale MQX 3.8\config\<board>\CW10\<board>.wsd. In your case, this would be C:\Program Files\Freescale\Freescale MQX 3.8\config\twrk60n512\CW10\twrk60n512.wsd.
6) You should get a bunch of projects appear in the CodeWarrior Projects view. These projects handle building the MQX kernel, board support libraries, and other MQX software stacks. Some choices should also appear in the active working set box in the IDE's tool bar. Now when you click on the build icon adjacent to this box, CW builds all of the MQX projects. If you make a change to the user_config.h file to activate certain services in MQX, all you have to do now is hit the build icon for the working set again.
This set-up also adds a MQX project choice to the New Project wizard. Specifically: New > MQX 3.8 Project. Inside the wizard it will give you a choice to build the example applications. Use the wizard to generate your MQX projects now; do NOT import any projects.
Further details on building MQX can be found in the the document, FSL_MQX_in_CW_10_x.pdf, which is located in the folder C:\Program Files\Freescale\MQX 3.8\doc\tools\cw. Make sure that it is dated June 2012 or later.
Final note: MQX is pre-built using Windows 7 path names for debugger information. If you're going to use the debugger to watch MQX, you will have to re-build MQX for Windows XP. See step 6.
Hope this helps.
---Tom
Finally, I've found out what is going on. CW 10.2 has all examples working but they are built in CW's Program Files directory. My confusion was caused by information about CW 10.1 requirement for downloading the examples package separately. Unfortunatelly, this information is still displaying on Documentation page for CW10.2.
Anyway, the structure of all example projects is very bad for beginners - usually the only thing you need is a stand alone project with all non-standard libraries included. Than you can learn how to include files into your project. With the present CW10.2 examples structure it is very hard to find out how the files are referenced. Eclipse is a huge improvement but it need more documentation and example-based support for those who are not code warriors yet.
Thanks,
Matej