Hi to all,
I just bought a DEMOJM development board for MCF51JM128 Cold Fire microcontroller.
I`m using the CodeWarrior Project Importer. When I select the mcp file, on the Select Toolchain Target Screen, an error is apearing:
Error: Unsuported settings panel version in DEMOJM Flash.
And yes, I installed the usb stack and all the libs that came in the CD.
Any tips? Woudl I be able to compile this project on CW10 or I will have to use CW6??
mr c wrote:
Hi, was the issue from the original poster ever resolved? I'm getting the same error with CW10.1.
If you are referring to the png file that I posted, this is a syntax error reported by the editor. It does compile OK, though.
I downloaded S08JM_USB_LITE_CMX from http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DEMOJM&fpsp=1&tab=Design_Tools_Tab. Installed the package to PC.
TI used CW for MCU v6.3 to open hid_demo.mcp and compiled the code, no problem.
Then I used CW 10.0 (Final release, build 100621), using Project Import to import that project, it also passed the compililng. No issue found.
I assumed you use the old version of CW10.0, please download final one from http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10&fpsp=1&tab=Design_Tools_Tab.
CodeWarrior Product Marketing
While the Project Importer tries to automate as much of the translation process as possible, there will be differences in project features and settings between the two IDEs that the Project Importer just cannot handle. You will have to make some judgement calls on the settings and/or missing files to complete the process.
I gather from your message that this was the only error the project importer reported? The Flash Programmer arrangement is different in MCU-10, so that kind of message makes sense. If the Importer has not reported any other errors than this one, I would try to build the project. If that is successful, then you can go to the MCU-10 Flash Programmer settings and adjust the configuration information in there.
The fact is that I can't finish the importing process due to this error. The next and finish buttons remain disabled, so I really can't do anything to bypass this screen. I'm trying to make the conversion "by hand" (creating a new project, adding the sources, trying to compile, fixing the errors, trying to compile again, ...) and it's giving me a hard time.
I was hoping that CodeWarrior Project Importer could work better since I'm trying to convert a project of a Demo Board sold by Freescale itself. Or at least, list possible solutions for the errors on the help.
OK, I see. What I would suggest is:
1) Take a copy of the old project and try clearing out all of the Flash settings. Maybe that will get you past that stopping point.
2) If that doesn't work, file a service request on this problem.
I'd like to expand on PTAV's question, in a more general context.
One of the big value-adds for Freescale is the large amount of sample code that you've made available in a variety of sample projects. They not only demonstrate by example how to perform many vital functions, but they can shorten the development process significantly.
However, few, if any, of the sample projects can actually be loaded and run in the CW10 environment. They all require importation, modification and migration changes before they can used. As you say, "While the Project Importer tries to automate as much of the translation process as possible, there will be differences in project features and settings between the two IDEs that the Project Importer just cannot handle. You will have to make some judgement calls on the settings and/or missing files to complete the process."
Essentially, by transferring the burden of this to your users, you eliminate the benefits they provide in the first place. My company is evaluating the development tools for the ColdFire V2, and none of the sample projects we've tried to build have been usable under CW10. I'd have to check, but I believe the other programmers here gave up on them before getting them working, partly because we can't justify the effort in the evaluation phase.
Any thoughts on this?
- Mark O'Bryan, Sr. Software Engineer
Diagnostic Systems Associates, Inc.
I agree with you abou tthe lack of sample programs. I have yet to get CW 10 to compile anything that inludes interrupts.
Even starting from scratch and using the Processor Expert, you get a vectors.c that has an incompatible vector table.
Also, PE doesn't work with C++. I was looking forward to Eclipse as I use it for Java. Also CW 10 did install on my Windows 7 x64 machine, but I've given up for now.
Thanks for your comment.
> I agree with you abou tthe lack of sample programs. I have yet to get CW 10 to compile anything that inludes interrupts.
Lin: We try to move the sample codes to CW10.0 as much as we can. If some missed, please let us know.
>Even starting from scratch and using the Processor Expert, you get a vectors.c that has an incompatible vector table.
Lin: I assumed it's a bug, please let us know which device has such problem.
>Also, PE doesn't work with C++. I was looking forward to Eclipse as I use it for Java. Also CW 10 did install on my Windows 7 x64 machine, but I've given up for now.
Lin: PE is C/assemble based. Currently doesn't support C++. We will improve to satisfy the expert like you.
> We try to move the sample codes to CW10.0 as much as we can.
Thanks for your reply, I have not see even one example of ported code for the HCs08 family.
Regarding PE, I don't normally use it, just thought I'd see how it would generate the vector table (vectors.c) in CW 10.
So, just create a simple C project, add a timer or other peripheral with PE and view the vector.c file. You will see the error.
It says "syntax error", but the error is not listed under the "problem tab" (attached ,png file)
Which release of CodeWarrior V10.x are you using?
You can retrieve that information as follows:
- Select Help -> "About CodeWarrior Development Studio"
- Click on the fourth icon to the left (tool tips shows "Freescale Semicoductor - MCU")
I know that in beta 3 release (build 100205), the extended keyword like near, far, .. were not recognized by the Eclipse IDE.
According to my understanding this should be fixed in the official release available on FSL web site.
Can you give it a try?
Note that the compiler understands the syntax and you should be able to build the application. This is the reason the Problems or Console view do not show any error message.
This is not a compilation problem. It just indicates that the IDE does not understand the extended notation,
I assume that you are talking about the MCU 10 tools, right? The point I made was about all of the existing projects that customers had. You have a valid point about our example code, however. I do not know why the example code was not ported. However, you can point out how important it is to you by submitting a feature request. I will point out the importance of the example code from my end. I cannot promise anything, but I will emphasize to the engineers that the example code is of a key part of the package.