CodeWarrior V7.1 and P&E driver issue

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

CodeWarrior V7.1 and P&E driver issue

1,141 Views
Jermey
Contributor I

Dear all,

 

Here I encountered a debugging/programming issue of codewarrior v7.1. anyone could help me on this problem?

 

when I installed CW V7.2, the PE drive also will be installed automatically after CW installation. I can use CW v7.2 to debug and program my board successfully.

 

 Now my project has to use CW V7.1 to debug/program, the difference between CW V7.1 and CW v7.2 is that the P&E driver need to be installed manally for CW V7.1, however V7.2 is automatically.

 

the issue is that CW V7.1 is not able to setup connection to my board, when you want to debug, it will show "ColdFire PE protocal Adapter: stop failed/An error occurred while trying to write memory" or "Could not open memory configuration file" etc.

 

BTW, my os version is windows XP, MCU is MCF52221(ColdFire) and debugger is P&E USB ML.

 

Thanks your suggestion.

 

Jermey

Labels (1)
0 Kudos
8 Replies

708 Views
Nouchi
Senior Contributor II

Hello,

 

Probably the firmware of your P&E probe was updated, so you need to update the dll driver. To do that you have to copy unit_cfz.dll from C:\Program Files\Freescale\CodeWarrior for ColdFire V7.2\bin\Plugins\Support\ColdFire\pemicro to C:\Program Files\Freescale\CodeWarrior for ColdFire V7.1\bin\Plugins\Support\ColdFire\pemicro., it sould solve your problem.

0 Kudos

708 Views
Jermey
Contributor I

Hello,

 

thanks your reply, but the version of unit_cfz.dll is same for V7.1 and V7.2. that is V3.25.0.0. I have tried this copy, but it is still not able to work. same error information.

 

any advice?

 

thanks

Jermey

0 Kudos

708 Views
vier_kuifjes
Senior Contributor I

Is there any particular reason why you need to stay with V7.1 instead of 7.2?

0 Kudos

708 Views
Jermey
Contributor I

The project was created by CW 7.1, if changed to v7.2, something may also be changed, sometime, the board will occur strange issues only using CW7.2 programming. we would like to change to original verison of CW.

 

thanks for your suggestion.

 

thanks

0 Kudos

708 Views
Nouchi
Senior Contributor II

Hello,

 

When you change for CW7.1 to 7.2, you have to take care about parameters passing rules, they changed for registers passing scheme.

 

0 Kudos

708 Views
vier_kuifjes
Senior Contributor I

True, but normally this is only important when calling assembly language routines from C. But with a little knowledge of assembler, those assembly language routines can be modified to use register based parameter passing. I did this to make Coldfire Lite work with CW7.2

0 Kudos

708 Views
Jermey
Contributor I

Did you ever try to convert 7.1 project to 7.2 project? so currently how should I do to open the 7.1 project using 7.2 IDE?

 

Thanks

0 Kudos

708 Views
CrasyCat
Specialist III

Hello

 

Did you check TN268 in your V7.2 {Install}\Help\PDF directory.

 

Its title is Converting Projects to CodeWarrior™ ColdFire® V7.2.

 

So I assume it might be helpful.

 

CrasyCat

0 Kudos