Codewarrier for microcontollers 6.2 BDM connection problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Codewarrier for microcontollers 6.2 BDM connection problem

跳至解决方案
3,258 次查看
senthil_epigon
Contributor II

Hi all,

     I am new to this forum, i was using codewarrier 6.1 for long time and no problem with that.  Now i moved onto 6.2 version , with this version i am facing BDM connection problem.  I have DEMOJM hardware, with it BDM port  i connected my hardware(which has codefire MCF51JM128 microcontroller), this connection works fine with 6.1 version. But with same setup,same machine connection not working with 6.2 version.    Even i tried updating 6.2 version with "patch version 6.2.2" but it is not helping.  Is is anything restricted in 6.2 or it's bug with this version.  kindly help on this issue.  thanks in advance.

标签 (1)
0 项奖励
回复
1 解答
1,591 次查看
senthil_epigon
Contributor II

Thanks....

It works fine.

Great job.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,591 次查看
Fasteddie042
Contributor I

You are correct, the BDM port has been disabled in the future versions of Codewarror.  In fact when I contacted PE Micro about this they claimed that it was never supported...  Personally I just keep a version of CW 6.1 handy.

 

 

Message Edited by Fasteddie042 on 2009-05-15 05:44 PM
0 项奖励
回复
1,591 次查看
wrljet
Contributor II

What do we have to buy in order to debug under 6.2?

 

Bill

 

0 项奖励
回复
1,591 次查看
wrljet
Contributor II

FWIW, I got this working.  I can now use the DEMOJM board BDM header to debug my own boards with the Coldfire chip, from Codewarrior 6.2.

 

I edited one config file and copied in one older DLL from 6.1.

 

Bill

 

0 项奖励
回复
1,591 次查看
senthil_epigon
Contributor II
I would be great help,if you could share the information,that you did to make work with 6.2.
0 项奖励
回复
1,591 次查看
wrljet
Contributor II

Here's what I did.  "Works for me" as us programmers like to say.

 

I have the two versions installed in:

 

    C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.1

 

and

 

    C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2

 

Copy the old DLL:

 

    unit_cfz_v1_version_327.dll 

 

from:

 

    C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.1\prog\P&E 

 

to:

 

    C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\P&E

 

 

Edit:

 

    C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\P&E\ngs_devices_cf.ini

 

In this section of the INI file for the JM128, I changed the name of the DLL from ...330... to ...327...

 

[MCUID7003]
DRIVER=unit_cfz_v1_version_
327.dll
DEVICENAME=MCF51JM128
NUM_PACKAGES=0
TRIM_TYPE=0

 

That' it.   For what it's worth, the BDM on my DEMOJM board is at Flash Version 5.79.

 

0 项奖励
回复
1,592 次查看
senthil_epigon
Contributor II

Thanks....

It works fine.

Great job.

0 项奖励
回复