Daniel - 2024-03-29

Hello! I have a problem with my small research: i have target board with MCF5272 mcu and working BDM port. I’ve tried following:
1) I have bought freescale JM60-based debugger with 26-pin connector, and have installed USBDM firmware there. After several attemtps, i finally managed to connect to target board, but i am still unable to reach flash memory, because output dump is always empty.

2) I have found out, that old Coldfire chips don’t support async debug mode (as it was said in USBDM manual), and, unfortunately, that is the one that i used. After that i’ve continued my search and i’ve found PEMicro debuggers. Sadly, they are too expensive for me, but i managed to buy TWR-MCF5225x dev board. I assumed, that since it has BDM connector with TGT_BDM (target?) label, it is able to act as hardware debugger for my board.

3) I have successfully connected this TWR board to Codewarrior 11, but the only memory i can fetch, obviously, is memory of twr main chip itself, rather then my target board.

So, my questions are:
1) Is it possible to use TWR boards as debuggers for target boards? I mean, without writing firmware from scratch.
2) What changes should be done to USDBM source to adapt it to older versions of Coldfire chips?

Any suggestions are appreciated :)