Hi Rob,
As your message came in I was reprogramming one of my GT16 boards that I mentioned in THAT thread. I still have never had ANY problems or flaky behaviour with my BDM interface with no pullups/pulldowns.
I also have made on stripboard what is a copy of Axioms DEMO9S08QG8 which has 10k pu with 0.1uF to gnd and 3k3 pu on BGND. It work flawlessly as well.
Actually now that I look at the circuit diagram it doesn't have the 10k pu on reset. Maybe I was listening to you!
Regards David
Hi Rob,
Yes I got a few samples. One is in my "DEMO" board. That is why I say it is working.
Regards David
Its not a genuine demoboard. Just a quite horrible lashup made on "veroboard" stripboard that is based on the circuit of the Axiom unit with no built in BDM of course. If anything should not work it should be this one.
irob -
I know that you've already done a lot of investigation into this and it may not help to say "mine works," but you asked for other people's experience.
I have a breadboarded QG8 board here that has 10K pullups on reset and BKGD and a 0.1uF to VSS on reset. Like yours, it is also a simple board with just a BDM connector and all the pins brought out to headers. I don't have any problems with connecting to this board with either a Cyclone Pro or Multilink.
I don't know if this has anything to do with your problems so pardon a long winded explanation of something that may or may not have a bearing on your issues. On parts like the S08QGx that don't have a dedicated reset pin, there are problems getting into BDM mode when the flash is blank. During a normal power up with erased flash, the part is trying to execute without a good reset vector. It is going to try executing from $FFFF and immediately get into uninitialized registers. It more than likely quickly gets an illegal opcode or illegal address and resets. This process keeps repeating and there is no time for the BDM interface to grab control of the part.
On a part with a dedicated reset like the GT32, the BDM pod can grab control by simply pulling reset low. 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
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.