I have made a very simple board consisting of just MC9S08SG8 with its RESET pin pulled up (10k), BKGD pulled up (10k) and a decoupling capacitor (0.1u) across Vdd and GND. Apart from this there is a BDM header through which I am trying to program the microcontroller. While programming the connection manager tells me that the RESET line is low inspite of the pullup I have connected. Is there something more that I need to add to the programming circuit? Another piece of debugging information is that when I connect the programmer to the BDM header, the RESET voltage falls to 0.65V from 5V.
Kindly help.
--
Cmux
Hello Cmux,
Are you using a P&E Multilink (USB-ML-12)?
Are you using Codewarrior on the PC?
Does the yellow LED light when Multilink is plugged in to PC on its own?
Does the blue LED light when the poawered board is then plugged into the Multilink?
Is the Multilink/PC combination known to function with some other device or is this all new to you?
peg wrote:Hello Cmux,
Are you using a P&E Multilink (USB-ML-12)?
Are you using Codewarrior on the PC?
Does the yellow LED light when Multilink is plugged in to PC on its own?
Does the blue LED light when the poawered board is then plugged into the Multilink?
Is the Multilink/PC combination known to function with some other device or is this all new to you?
Yes I am using P&E Multilink (USB-ML-12)
Yes I am using CodeWarrior on the PC
The blue light glows when the Multilink is plugged into the PC and the yellow light glows when the powered board is connected to it.
The Multilink/PC combination works with S12P and S12XS microcontrollers which I have been programming successfully since a long time.
Any ideas why the connection manager for the programmer shows the MCU reset line to be low and why does the programmer pull the reset line low inspite of a pullup?
--
Cmux
Hello Cmux,
Woops, I got my LED colours mixed up in my questions.
This seems strange.
Just to check some more:
You power up the device on its own and the reset pin is at 5 volts.
You connect the Multilink and it pulls the reset permanently low.
Then Codewarrior complains about the reset line being low.
Is this correct?
What if you disconnect the reset line and try to connect like this.
Also test the reset line (both sides of break) while trying this.
On the ICD Connection Manager
CPU : HCS08 Processor autodetected
MCU Reset line : High.
MCU voltage : 4.98V.
Note: failure connecting to device power cycle the hcs08 processor (with debug cable attached) and try connecting again.
You have to use the MCS08AW32xxx and modify the MC9S08AW32.inc file.
ROMStart is at $0c0000
RAMEnd is at $046F
Thats all.
regards
Truk
I use the -S08AW16, and I think I had the same problem. Use the -AW32 setting in CodeWarrior, then modify the ROM setting in the project.prm file according to the -AW16's data sheet.
Also, see if the attached helps. Change the filename to *.ppt
-Tomahawk