Programming connections of MC9S12XD256 Freescale controller

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

Programming connections of MC9S12XD256 Freescale controller

1,914 Views
akashpandey
Contributor II

Hi,

i am using freescale 16 bit microcontroller MC9S12XD256 .But i am facing problem to program it please provide me referance circuit to program it.Find the attached file regarding Hardware schematic i am using.

Labels (1)
Tags (1)
0 Kudos
3 Replies

1,052 Views
akashpandey
Contributor II

Hi,

first of all thanks for support

I am using  USB-MULTILINK BDM with 4 pin connector.PE7/XCLKS is connected to 5v pull up.I am also using Codewarrior development studio Version 5.1. still I am not able to program the controller. .Please do some needful.

0 Kudos

1,052 Views
RadekS
NXP Employee
NXP Employee

As “reference design” you can use board EVB9S12XDP512

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=EVB9S12XDP512

Schematic:

http://www.freescale.com/files/microcontrollers/hardware_tools/schematics/EVB9S12XDP512SCH.pdf

or APS12XDT512SLK (CSMB-12XDT512)

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=HCS12XDT512SLK

http://www.freescale.com/files/student_learning_kits/hardware_tools/schematics/CSMB12_SCH_A.pdf

Your MCU may be secured. You can unsecure MCU by complete mass erase of BDM device(in special mode). In CodeWarrior debugger menu ->MultilinkCyclonePro (it depends on your BDM interface)->Unsecure…

If not work you can use unsecure12 from P&E (works with P&E interfaces):

http://www.pemicro.com/downloads/download_file.cfm?download_id=16

Unsecure_12 Help Files:

http://www.pemicro.com/downloads/download_file.cfm?download_id=14

Note: For downloading is necessary registration.

Few notes about your schematic:

  1. XCLKS pin is connected to 5V, it means that you selected Loop controlled Pierce oscillator connection, however you schematic contains Full Swing Pierce Oscillator Connections. Please remove R53 or connect XCLKS pin to GND.
  2. Your filter at XFC pin is wrongly connected. C49 and R52 should be connected to VDDPLL and not to GND.


0 Kudos

1,052 Views
GordonD
Contributor IV

Akash,

The standard BDM connector consists of a six pin dual row 0.1" header as shown here:

image002.png

Pin 3 & 5 are "no connects", I'm not sure why PE7/XCLKS is connected to pin 3 of the connector in the schematic.

To program the S12XD256, requires an in circuit debugger/programming tool and some software. The least expensive debugger/programming tool Freescale sells is the USBMULTILINKBDM: USB S08/HCS12 BDM Multilink - In-Circuit Debugger/Programmer for $99. It can be ordered here:

USBMULTILINKBDM Product Summary Page

In addition, the Codewarrior Classic development environment can be downloaded for free here:

CodeWarrior Development Studio for HCS12(X) Microcontrollers (Classic IDE) Product Summary Page

The "Special" edition is limited to 32K of code/data. For larger code development needs, various licenses are available (Basic, Standard and Professional) for purchase.

If you are looking for production high speed programming, the P&E CyclonePro to Freescale's LFBDMPGMR would be two choices.

Best Regards,

Gordon

0 Kudos