Using BDM-Interface from DEMO9RS08KASP for Programming HCS08-Devices?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using BDM-Interface from DEMO9RS08KASP for Programming HCS08-Devices?

2,714 Views
admin
Specialist II
Hello,

I have a DEMO9RS08KASP Board and like to to programm some HCS08-devices (like 9S08QG8). May I use the USB2BDM-Interface from my DEMO9RS08KASP Board to do this? I don't try it yet because I don't have a HCS08-controller. Is there somebody who already tried such a thing? I guess it's just a question of software  - programmer software and (hopefully not) the firmware of the USB2BDM-Interface...

Best regards
Labels (1)
0 Kudos
6 Replies

411 Views
peg
Senior Contributor IV
Hello and welcome to the forums prometeus,

I'm not familiar with this exact demo board, but in the general case it is possible to use these demo boards as a standalone BDM to connect to another board. It is simply a matter of removing/disconnecting the device on the demo board and soldering a 6 pin cable/header in place.

Hmm, after another look.... what I have said above I know works with P&E demoboards, it looks like this may be a softec product so I can't be as sure. I don't seem to be able to find your exact board but the two I did find are Softec.

0 Kudos

411 Views
admin
Specialist II
Hello again,

@peg: Yes, it's from Softec. You can find it on freescale website: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DEMO9RS08KA2&parentCode=MC9RS08KA2&no...

Users Manual: http://www.freescale.com/files/microcontrollers/doc/user_guide/DEMO9RS08KA2UM.pdf?fpsp=1&WT_TYPE=Use...
Schematics:
http://www.freescale.com/files/microcontrollers/hardware_tools/schematics/DEMO9RS08KA2SCH.pdf?fpsp=1...

It already has a BDM connector, that's the  reason why I like to use it also to program 'S08 devices. The BDM connector settings are:
Pin1: BKGD
Pin2: GND
Pin3: N.C.
Pin4: Reset/VPP
Pin5: N.C.
Pin6: VDD

I seems to be the same as for 'S08 MCUs, doesn't it? (Except the programming voltage...)

So @bigmac, the 'S08 MCUs don't use a programming voltage of 12V, so the Reset pin of the BDM connector is just used for reseting the MCU? So maybe I can use a transistor or a Z-diode+resistor to take down the voltage to 5V during reseting while programming. What do you think?

Actually my biggest fear is, that Code Warrior doesn't accept the DEMO9RS08KASP as 'S08 programmer...

Regards
prometeus


0 Kudos

411 Views
bigmac
Specialist III
Hello Prometeus,


prometeus wrote:
... the 'S08 MCUs don't use a programming voltage of 12V, so the Reset pin of the BDM connector is just used for reseting the MCU? So maybe I can use a transistor or a Z-diode+resistor to take down the voltage to 5V during reseting while programming. What do you think?


From the schematic, I see that there is provision made for the selection of either Vpp or Vdd to be applied to the Reset pin, controlled by the USB to BDM processor.  It is possible that you may not need to do anything except select the correct MCU type from within CW.
 
Regards,
Mac
 
0 Kudos

411 Views
admin
Specialist II
Hello Prometeus,

  If you made this work (or not)
  are you going post a summary?

--
thanks
  Peter
0 Kudos

411 Views
admin
Specialist II
Sorry for the bad layout of my last post. I have to get used of message editor of this forum...
0 Kudos

411 Views
bigmac
Specialist III
Hello,
 
Be careful.  The RS08 device requires an external programming voltage.  The standard 9S08 parts do not.  You wiould have to make sure that the programming voltage was disabled.
 
Regards,
Mac
 
0 Kudos