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.
已解决! 转到解答。
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.
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
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.