M522330Demo  (MCF52233CAF60)  Codewarrior for Coldfire Version 7.1 build 14

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

M522330Demo  (MCF52233CAF60)  Codewarrior for Coldfire Version 7.1 build 14

2,794 Views
rlstraney
Contributor III

Using a M22330Demo board I see the following errors occur when I connect the USB cable and then try to debug. 

 

I get one of the following messages:

 

1) "ColdFire PE Protocol Adapter :An error occurred while trying to write memory"

 

or

 

2) "Downloading 4284 bytes" and then another window appears and says

 "Memory Write Verify Failure

 

Memroy write to address 0x322aef6 failed to verify: 

Expected value: 0x20000900

Actual Value : 0x0

Retry ?

 

 or

 

3) Coldfire PE protocol adapter: No USB connection found

 

If I keep trying it will eventually make it into debug mode.  But most of the time I get an error.

 

I have tried this on 3 computers and not had any success. But if I load codewarrior on one of 2 older computers I have and then try it seems to work OK.   Could it be that the 3 computers are running the USB at a higher speed and the higher speed isn't reliable?   These 3 computers are newer computers than the 2 that it works on.

 

 

 

Has anyone else seen this and is there a solution?

 

Thank you

Renee 

Labels (1)
0 Kudos
5 Replies

558 Views
rlstraney
Contributor III

Thanks for the suggestion Tom but we did it without the HUB.

 

We found the problem this afternoon. 

It is a USB 2.0 problem - we had to figure out how to make the PC not run the port at the fastest speed. 

 

My BIOS gave me an option to run the USB at "Full Speed" instead of "High Speed" but that didn't fix the problem.   The port still ran at "High speed" regardless the BIOS setting.

 

What did fix the problem was going into Control Panel - System - Hardware - Device Manager -

Universal Serial Bus controllers and then disabling all instances (2 in all) of "Standard Enhanced PCI to USB Host Controller"  Now it seems to run at USB 1.1 and I have no problem at all with the demo board. 

 

Hope this helps someone else.  

 

 

Renee

 

 

 

 

0 Kudos

558 Views
RSteger
Contributor II

We have the same issue here with a USB-ML-CFE BDM multilink from P&E, although we are using the MCF52259. The BDM works fine on a USB 1.1 port, but has the same problem on a USB2.0 port.

 

The same thing has happened before with the USB multilink from P&E for 8 bit MCUs, but it seems they have fixed it on a later driver/firmware/codewarrior release. Perhaps they are also working on the issue for the coldfire bdm.

Message Edited by RSteger on 2009-10-27 02:27 PM
0 Kudos

558 Views
max23
Contributor I

Thanks for this useful information.

I am testing the Evaluation Board M52259EVB with the Cold Fire MCF52259 and trying to debug my code.

I had the same problem with the USB Connection and now it runs.

 

Best regards

0 Kudos

558 Views
JimDon
Senior Contributor III

For what it's worth, at this point in time USB-ML-CFE BDM works just fine with USB 2.0.

0 Kudos

558 Views
J2MEJediMaster
Specialist I

We have seen situations where the USB 2.0 can cause problems. I'd recommend trying to put a powered USB hub between the computer and the board and see if that helps.

 

---Tom

 

0 Kudos