programming pins MC9S12XS128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

programming pins MC9S12XS128

跳至解决方案
5,777 次查看
alfonsovargashe
Contributor I

good afternoon .. I need to know specifically what the programming pins MC9S12XS128 freescale microcontroller programmer ... and that we could use. We are working on a module microcontroller programming universal as thesis ... thanks for your quick help

标签 (1)
0 项奖励
回复
1 解答
4,446 次查看
RadekS
NXP Employee
NXP Employee

From datasheet: “The background debug module (BDM) sub-block is a single-wire, background debug system implemented in on-chip hardware for minimal CPU intervention. All interfacing with the BDM is done via the BKGD pin.”

So, for programming you will need MODC/BKGD pin and additionally also RESET pin.

Ground signal is self-evidence and some programming devices require also MCU power supply voltage (3.3V..5V).

The BKGD/MODC pin is used as a pseudo-open-drain pin. Therefore typically BDM interface drive this pin by open-drain output. In case of S12XS family, the BKGD pin has an internal pull-up device.

For onboard BDM connection is typically used 6pin BDM connector (2x3 pin header with pitch 2.54mm/100mils).

Please look at DEMO9S12XSFAME board schematic from attachment.


在原帖中查看解决方案

2 回复数
4,446 次查看
Monica
Senior Contributor III

Hola Alfonso!

Was this helpful?

Please let us know! :smileywink:

Regards!

0 项奖励
回复
4,447 次查看
RadekS
NXP Employee
NXP Employee

From datasheet: “The background debug module (BDM) sub-block is a single-wire, background debug system implemented in on-chip hardware for minimal CPU intervention. All interfacing with the BDM is done via the BKGD pin.”

So, for programming you will need MODC/BKGD pin and additionally also RESET pin.

Ground signal is self-evidence and some programming devices require also MCU power supply voltage (3.3V..5V).

The BKGD/MODC pin is used as a pseudo-open-drain pin. Therefore typically BDM interface drive this pin by open-drain output. In case of S12XS family, the BKGD pin has an internal pull-up device.

For onboard BDM connection is typically used 6pin BDM connector (2x3 pin header with pitch 2.54mm/100mils).

Please look at DEMO9S12XSFAME board schematic from attachment.