Hi, Does anyone know why when I open a new project I can...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hi, Does anyone know why when I open a new project I can...

Jump to solution
2,723 Views
pit
Contributor I
Hi,
Does anyone know why when I open a new project I can not select absolute or relocative assembly as supported language for the MCF51QE with the CW for microcontroller v6.1?
 
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,310 Views
J2MEJediMaster
Specialist I
Uncheck the options to generate C and C++ code in the Project Wizard when you want to make a project that generates absolute assembly. The compiler produces position-relative code for C and C++ programs, which is not compatible with what you're trying to do. What you're running into is CodeWarrior's defense mechanism to prevent you from mixing the two incompatible types of assembly.

---Tom

View solution in original post

0 Kudos
Reply
4 Replies
1,311 Views
J2MEJediMaster
Specialist I
Uncheck the options to generate C and C++ code in the Project Wizard when you want to make a project that generates absolute assembly. The compiler produces position-relative code for C and C++ programs, which is not compatible with what you're trying to do. What you're running into is CodeWarrior's defense mechanism to prevent you from mixing the two incompatible types of assembly.

---Tom
0 Kudos
Reply
1,310 Views
pit
Contributor I
Thank you. This works with the MC9S08QE128 but not with the MCF51QE128
 
-  Peter
 
0 Kudos
Reply
1,310 Views
J2MEJediMaster
Specialist I
It sounds like a versioning problem, especially if it doesn't work with a particular MCU. I'd suggest filing a sevice request, using this page.
0 Kudos
Reply
1,310 Views
CrasyCat
Specialist III
Hello
 
My 2 cents on that one.
I guess that the project wizard for Coldfire projects does not allow you to build pure assembly application.
In order for the application to start correctly, the chip should be initialized properly and the whole startup code we use to achieve that is written in C.
That might be a reason for blocking assembly only project.
 
Please note that you can create a project in C and add assembly source files to it. That should not be an issue.
 
If you need ability to create pure assembly application for Coldfire you need to ask for an extension of the product. Submit a change request (or feature request) through our on line support system.
 
CrasyCat