codewarrior 10.6.4 with CFV1 and Cyclone PRO USB

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

codewarrior 10.6.4 with CFV1 and Cyclone PRO USB

2,739 Views
mattiagianotti
Contributor I

Hi all, I have installed codewarrior 10.6.4 on Windows 7 x64 and I'd like to connect to a MCU coldfire CFV1 MCF51JM128.
I am using a cyclone PRO emulator connected to USB port with driver 12.2.0.0.

I have created a new project and now I can build it, but I cannot debug.
When I attempt to edit "Target Settings" In "Debug Configurations" I don't see any device in "Connection", but my emulator is connected to PC and turned on. I am sure the emulator works fine because I can debug on another PC with Win XP and Codewarrior v6.2.

Any ideas?

 

Thanks,

 

Mattia

Labels (1)
0 Kudos
Reply
5 Replies

2,473 Views
mattiagianotti
Contributor I

Hi Jennie,

my problem is that I cannot see devices in "Connection" within "Target settings" section.

Here the screenshot of my window of "Debug Configurations"

No_target_connection.jpg

I have also encountered this message when codewarrior starts up:

Error_index_database.jpg

I don't know if this problem can influence the debug session.

0 Kudos
Reply

2,473 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

you have "Indexing debug database" error.

1. I ever had one customer have similar problem as yours. he solved the problem by removing .metadata folder in the current workspace. then restart CW, check the problem again.

2. some other customers have this problem because lack of windows permissions. please make sure you have windows admin right when install and use CW. we have customers fix the problem by "Turns out that I had CodeWarrior installed in C:\Program Files (x86), and that was enough to break it. When I moved the install folder to C:\ it worked fine."

3. anyway, if the problem persists, please reinstall CW with windows admin right to a self-defined folder. create a new project in a new workspace. test it again.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,473 Views
mattiagianotti
Contributor I

Thanks ZhangJennie! I have solved my problem. I have installed codewarrior v10.7 under C:\ with administrator privileges and now it works fine.

Now I have another problem. I have made the porting of a project for CFV1 MCU from Codewarrior v6.2 to Codewarrior v10.7, then I have built the project but the code size in Codewarrior v10.7 is much larger than v6.2 with the same optimization level.

The compilers are so different? Is there a way to keep the compatibility?

Thanks,

Mattia

0 Kudos
Reply

2,473 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Mattia,

CW6.2 is a very old CW version, which was released 8 years ago. from CW6.2 to 10.7,  many changes have been made inside the compiler itself which corrects many bugs and add new features. For instance, to correct a certain bug, sometimes we have to revise and rearrange lib assembly code or sacrifice the hex code size and etc. Bug fixing can make compiler be more stable and usable. But it will bring some effect to the ultimate srecord file(include content and code size).

Well what we can guarantee is the software functionality keep same when compiled code with newer CW version. but we can't guarantee the generated code size is the same.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,473 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Mattia

I tried CW10.6.4 connecting CF V1 board via CyclonePro, it works normal. see attached video.

here is my CyclonePro version

pastedImage_2.png

Please check the configuration on your side?


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply