RockyRoad wrote:
Since the reset pin on the QG4 defaults to a GPIO on POR, there is nothing that the pod can do with reset that will help with the blank flash case.
So, to initiate BDM communications with a blank QGx, the BDM pin must be held low during a POR. The debug interface in CodeWarrior asks you to do a POR with the pod connected if it can't establish communications. I haven't looked, but I assume that it is holding BDM low until you cycle power and click CONNECT.
Rocky, very good thoughts. I had found that power cycling (using a bench power supply) with the MultiLink cable connected still wasn't connecting. So I tried something new with one of the blank boards. During the power cycle, I disconnected the plus lead to the target to make sure that the power was completely off (merely turning off the supply for a few seconds wasn't enough to let the board bypass dissipate?). Then I could get into BDM mode.
So your blank part theory seems to hold water. As a further test, once I had a programmed board, I observed that I could get in and out of BDM mode with no power cycling.
However, if I erased one of those programmed boards then started the process over again, I found that it was again a matter of clever power cycling to get back into BDM mode.
Still it seems strange to me how a few boards marginally seem to enter BDM mode even while blank, while others require power cycling.
Egads, the programming procedure I'm going to have to write for production! Makes me want to push for having preprogrammed chips assembled on the boards!