Nicolas Royer

Programming bug

Discussion created by Nicolas Royer on Feb 24, 2010
Latest reply on Mar 22, 2010 by Anthony Huereca
I thought that I had this famous OSBDM bug, but using a P&E USB-ML-CFE doesn't solve the problem: using CodeWarrior, I can run Erase/Program/Debug sequence using BDM only once... Between every Debug and Erase procedure I must unplug the USB cable on my TWR-MCF5225X and plug it again to be able to continue.

This is how I can reproduce the problem:

1. Erase flash using Flash Programmer:  Erase Command Succeeded.
2. Program flash using Flash Programmer:  Program Command Succeeded.
3. Debug program using CodeWarior:  Everything works fine.
4. Stop debug session.
5. Erase flash: The "status box" shows "Erasing..............." and never stop...
6. Unplug/plug USB cable: A "GDI Protocol Plugin" popup displays message "Timeout waiting for reply from OSBDM"
7. Erase flash: The "status box" shows "Error: ColdFire GDI Protocol Adapter : An error occurred while trying to write memory".
8. Erase flash again: Target initialization is done again and Erase Command Succeeded!
9. Program flash using Flash Programmer:  Program Command Succeeded.
10. Debug program using CodeWarior:  Everything works fine.

Have you already seen this problem before??

Thanks.

Outcomes