已解决! 转到解答。
Hi there,
6/21/2012
I know this is an old post, but I am replying in case someone else stumbles across it while looking to solve the same problem I had (which is similar to the original poster).
I purchased the TWR-MCF5225x-KIT and using the included CodeWarrior IDE 5.9 I could not get a project to run, getting these error messages:
Coldfire PE Protocol Adapter: No USB Connection Found
ColdFire GDI Protocol Adapter: Can't Load GDI DLL
(I had already installed the CodeWarrior 7.1.2 patch). I am running Windows 7 and during the CodeWarrior installation I got an error message about some driver(s) not being installed because I have an 64-bit system. I fixed the problem this way:
1. Navigate to P&E Micro's website: http://www.pemicro.com/support/downloads_find.cfm
2. Check Software Update and ColdFire V2/V3/V4.
3. Click Find Matching Downloads.
4. Click on the link labeled P&E Hardware Interface Drivers Version 10
5. Download the file DRIVERS10_install.exe
6. Run the program and extract to C:\Program Files (x86)\PEMicro
7. Plug the USB cable into the TWR kit.
If you're lucky, Windows should recognize the device is plugged in, and attempt to install the drivers (if older drivers were already installed you may need to uninstall and delete them). Tell Windows to look on your disk for the files and point it to C:\Program Files (x86)\PEMicro\Drivers
Then read,
and update your TWR OSBDm firmware to the most recent version (mine was 25.0 and is now 30.21). I now have these entries in Windows Device Manager:
Jungo
==> PEMicro USB Serial Port (i1)
=> Driver is C:\Windows\System32\Drivers\windrvr6.sys
=> WinDriver
=> Driver is C:\Windows\System32\Drivers\windrvr6.sys
LibUSB-Win32 Devices
==> Open Source BDM - Debug Port
==> Driver is C:\Windows\System32\Drivers\libusb0.sys
==> Driver is C:\Windows\SysWOW64\libusb0.dll
It now works like a charm.
Something else must be wrong here. I just installed the Codewarrior 7.1.2 patch and now I no longer am able to access the 52259DEMO board. With 7.1.1a everything was still working fine.
I am running the "ordinary"32bit Win XP, by the way...
I'm facing the same problem with my m52259demokit board since everytime I try to run the default web server demo I get the same error message: Coldfire GDI protocol adapter : can't load gdi dll
CW is updated to ver 7.1.2 and MQX to ver 3.1.0 in win Xp 32 bits
Any help will be greatly aprecciated.
GR
Maybe this will help you out...
http://forums.freescale.com/freescale/board/message?board.id=CWCFCOMM&thread.id=2937
I was also getting this error after doing a clean install of 7.1.2 with our new M52259DEMOMCU board.
When I tried overwriting the DLL, the error seemed to go away, but the flash was not actually reprogramming and none of the other demo apps would work. I checked Freescale's site and found a firmware update for the JM60 (04072009) and updated it no problem. Now there's a new error "Could not set PC to entry point". Tried the "embedded" firmware too - get a different error, "Exception vector name: Address Error, PC where the exception happened: 0x00041774". Sounds like somethings "confused" as to what's actually connected!
All I can say right now is wtf. Pretty poor form to have such a shoddy development environment.
Hi there,
I had the same problem. I went through the process you describe, but can't find Del_Remote_Connection.exe.
Not having done this step, I reran CodeWarrior and get a crash as soon as I start debugging. PC is Core2Duo, 2Gb RAM, Vista Business.
I would uninstall CodeWarrior (52259 Demo Kit) and reinstall direct from DVD without accepting the 7.1.2 upgrade. But how the **** do I uninstall CW?
Also, how do I create a project to debug an app created by a different compiler? We can generate straight binary, S-record, or even ELF files (given the right magic numbers for the header).
Stephen
To uninstall CodeWarrior you have to go to the Add or Remove Programs control panel, find CodeWarrior in that, and choose to have it removed. That's what you do in Windows XP. I don't know how much the UI has changed for Vista.
To use source code written outside of CodeWarrior, first create a simple project with the CodeWarrior New Project wizard. Remove its source files by right-clicking on them in the Project window and choosing Remove. Now drag your folder of source files onto the Project window, and the CodeWarrior IDE will recognize them and compile them when you build. Of course, if the header files differ, you have an editing job ahead of you.
---Tom
That made it work for me, thanks!
I already did read the “Release_Notes_7.1.2.txt” file but was a little reluctant to try it out.
But it worked perfectly and now I can connect to the board using the "official" dll from the 7.1.2 version.