Mark Whitis's Website Home Page Linux Book: Linux Programming Unleashed My Resume Genealogical Data Contact Info Security About

[HOME(Mark Whitis)] [Contact] [Resume] [Browser Friendly] [No Spam] [FEL] [DBD]

9S12DP256

Sockets and Adapters

Package: 112 pin LQFP with 0.65mm (25.9mil) pitch with a 20mm x 20mm x 1.6mm body size. Motorola said to contact Ironwood Electronics, Electronic Hardware, Ltd., or Emulation Technology, for sockets. Omega research seems to have a universal (solder on) adapter. Nepenthe has a QP1-112-065-100 LQFP112 0.65 pitch clamshell socket.

Yamaichi IC51-1124-1036-2

is a 112 PIN QFP/PQFP/TQFP 0.65mm pitch 20mmx2mm body size sockets that don't explictly mention LQFP but their sockets seem to be less particular about package thickness than nepenthe. Terrible website. They also make a ICP-112-2 emulation adapter. Costronic makes a IS0012-Q112 test socket that includes the Yamaichi on a circuit board going to a PGA pinout ($188)

Winsolow WA11265DQAET is an solder on adapter from QFP112(0.65mm) to PGA112(0.1inch)

qfp-adapter.com 112QFS26-SD is a solder in test probe that replaces a QFP (Price: $133).

Asystelectronics IA112TQ-SOLDER is a solder down adapter which gives pins an emulator can attach to.

Bugs

There is a BUG in MC9S12DP256 mask sets 0K36N, 0K79X and 1K79X that can result in loss of SCI interrupts if a transmit and receive interrupt occur simultaneously!

Monitor

Motorola makes a monitor called D-BUG12 that runs on this chip and allows you to debug programs including a single line assembler/dissassembler and the ability to function as a BDM host to another board. However, the debugger does not allow you to use any of the onchip flash memory for your own program.

Misc

__asm__ __volatile__ (" cli ");

void __premain() is apparently called before main()?

9S12DP256 Memory Map

   0000-03FF  I/O registers 1K (2K on 9S12XDP512)
   0000-0FFF  Data EEPROM  (paged on 9S12XDP512)
   1000-1FFF  RAM, note on the 9S12XDP512 that this is bank switched RAM.
   2000-3FFF  RAM
      3F80-3FFF used by MON12 on axium board.
      3C00-3FFF used by D-BUG12
   4000-7FFF  Fixed flash EEPROM array
   8000-BFFF  Bank switched Flash EEPROM Page Window
   C000-FFFF  Fixed Flash EEPROM array
      F000-FFFF Used by serial boot loader (4K)
      FF00-FF7F Flash control registers
      FF80-FFFF Interrupt vectors
       EF80-EFFF Interrupt vectors when using serial bootloader
    (High portion of this flash is also used by serial boot loader software)
    When D-BUG12 is used, it occupies all flash from 4000-FFFF

9S12DP256B Memory Banks

This table compares the different ways of describing the locations in banked switched memory and cpu address spaces.

0
gcc/ld Banked Addr Bootloader Linear PG 16 bit CPU addr Function
000000-0003FF000000-0003FF xx 0000-03FFRegisters
000400-000FFF000400-000FFF xx 0400-0FFFonchip EEPROM
001000-003FFF001000-003FFF xx 1000-3FFFonchip RAM
004000-007FFF004000-007FFFF8000-FBFFFxx 4000-7FFFlower fixed flash (page 3E)
00C000-00FFFF00C000-00FFFFFC000-FFFFFxx C000-FFFFupper fixed flash (page 3F)
010000-013FFF008000-00BFF 00000-0000 0 8000-BFF External Page 00
014000-017FFF018000-01BFFF04000-07FFF01 8000-BFFFExternal Page 01
018000-01BFFF028000-02BFFF08000-0BFFF02 8000-BFFFExternal Page 02
01C000-01FFFF038000-02BFFF0C000-0FFFF03 8000-BFFFExternal Page 03
... ... ... ... ...
0D0000-0D3FFF308000-30BFFFC0000-C3FFF30 8000-BFFFInternal Flash Page 30
0D4000-0D7FFF318000-31BFFFC4000-C7FFF31 8000-BFFFInternal Flash Page 31
0D8000-0DBFFF328000-32BFFFC8000-CBFFF32 8000-BFFFInternal Flash Page 32
0DC000-0DFFFF338000-33BFFFCC000-CFFFF33 8000-BFFFInternal Flash Page 33
0E0000-0E3FFF348000-34BFFFD0000-D3FFF34 8000-BFFFInternal Flash Page 34
0E4000-0E7FFF358000-35BFFFD4000-D7FFF35 8000-BFFFInternal Flash Page 35
0E8000-0EBFFF368000-36BFFFD8000-DBFFF36 8000-BFFFInternal Flash Page 36
0EC000-0EFFFF378000-37BFFFDC000-DFFFF37 8000-BFFFInternal Flash Page 37
0F0000-0F3FFF388000-38BFFFE0000-E3FFF38 8000-BFFFInternal Flash Page 38
0F4000-0F7FFF398000-39BFFFE4000-E7FFF39 8000-BFFFInternal Flash Page 39
0F8000-0FBFFF3A8000-3ABFFFE8000-EBFFF3A 8000-BFFFInternal Flash Page 3A
0FC000-0FFFFF3B8000-3BBFFFEC000-EFFFF3B 8000-BFFFInternal Flash Page 3B
100000-103FFF3C8000-3CBFFFF0000-F3FFF3C 8000-BFFFInternal Flash Page 3C
104000 107FFF3D8000-3DBFFFF4000-F7FFF3D 8000-BFFFInternal Flash Page 3D
108000-10BFFF3E8000-3EBFFFF8000-FBFFF3E 8000-BFFFInternal Flash Page 3E
10C000-10FFFF3F8000-3FBFFFFC000-FFFFF3F 8000-BFFFInternal Flash Page 3F

Pinout


  1  SS1*/PWM3/KWP3/PP3
  2  SCK1/PWM2/KWP2/PP2
  3  MOSI1/PWM1/KWP0/PP1
  4  MISO1/PWM0/JWP0/PP0
  5  XADDR17/PK3
  6  XADDR15/PK2
  7  XADDR14/PK1
  8  XADDR15/PK0
  9  IOC0/PT0
 10  IOC1/PT1
 11  IOC2/PT2
 12  IOC3/PT3
 13  VDD1
 14  VSS1
 15  IOC4/PT4
 16  IOC5/PT5
 17  IOC6/PT6
 18  IOC7/PT7
 19  XADDR19/PK5
 20  XADDR18/PK4
 21  KWJ1/PJ1
 22  KWJ0/PJ0
 23  MODC/TAGHI*/BKGD
 24  ADDR0/DATA0/PB0
 25  ADDR1/DATA1/PB1
 26  ADDR2/DATA2/PB2
 27  ADDR3/DATA3/PB3
 28  ADDR4/DATA4/PB4

 29  ADDR5/DATA5/PB5
 30  ADDR6/DATA6/PB6
 31  ADDR7/DATA7/PB7
 32  SS2*/KWH7/PH7
 33  SCK2/KWH6/PH6
 34  MOSI2/KWH5/PH5
 35  MISO2/KSH4/PH4
 36  XCLKS/NOACC/PE7
 37  MODB/IPPE1/PE6
 38  MODA/IPIPE0/PE5
 39  ECLK/PE4
 40  VSSR
 41  VDDR
 42  RESET*
 43  VDDPLL
 44  XFC
 45  VSSPLL
 46  EXTAL
 47  XTAL
 48  TEST
 49  SS1*/KWH3/PH3
 50  SCK1/KWH2/PH2
 51  MOSI1/KWH1/PH1
 52  MISO1/KWH0/PH0
 53  LSTRB/TAGLO/PE3
 54  R/W*/PE2
 55  IRQ/PE1
 56  XIRQ/PE0

 57  PA0/ADDR8/DATA8
 58  PA1/ADDr9/DATA9
 59  PA2/ADDR10/DATA10
 60  PA3/ADDR11/DATA11
 61  PA4/ADDR12/DATA12
 62  PA5/ADDR13/DATA13
 63  PA6/ADDR14/DATA14
 64  PA7/ADDR15/DATA15
 65  VDD2
 66  VSS2
 67  PAD00/AN00
 68  PAD08/AN08
 69  PAD01/AN08
 70  PAD09/AN09
 71  PAD02/AN02
 72  PAD10/AN10
 73  PAD03/AN03
 74  PAD11/AN11
 75  PAD04/AN04
 76  PAD13/AN13
 77  RAD05/AN05
 78  PAD14/AN14
 79  PAD06/AN06
 80  PAD14/AN14
 81  PAD07/AN07/ETRIG0
 82  PAD15/AN15/ETRIG1
 83  VDDA
 84  VRH

 85  VRL
 86  VSSA
 87  PM7/TXCAN3/TXCAN4
 88  PM6/RXCAN3/RXCAN4
 89  PS0/RXD0
 90  PS1/TXD0
 91  PS2/RXD1
 92  PS3/TXD1
 93  PS4/MISO0
 94  PS5/MOSI0
 95  PS6/SCK0
 96  PS7/SS0*
 97  VREGEN
 98  PJ7/KWJ7/TXCAN4/SCL
 99  PJ6/JWJ6/RXCAN4/SDA
100  PM5/TXCAN2/TXCAN0/TXCAN4/SCK0
101  PM4/RXCAN2/RXCAN0/RXCAN4/MOSI
102  PM3/TXCAN1/TXCAN0/SS0
103  PM4/RXCAN1/RXCAN0/MISO0
104  PM1/TXCAN0/TXB
105  PM0/TXCAN0/RXB
106  VSSX
107  VDDX
108  PK7/ECS*
109  PP7/KWP7/PWM7/SCK2
110  PP6/KWP6/PWM6/SS2*
111  PP5/KPW5/PWM5/MOSI2
112  PP4/KWP4/PWM5/MISO3

Links

This file is maintained by Mark Whitis (whitis@freelabs.com).

Senior Engineer for hire
Software Development - Electronic Design - Embedded Systems - Device Drivers - System/Network Administration and Security - Motor Control, RobotCNC - Linux/Un*x - 25+ years experience
The author of these pages is looking for a new gig.
[RESUME]

Engineers and electronic hobbyists: The new Open Symbol Project is creating open schematic symbols and PCB footprints for a variety of different CAD packages.

Mark Whitis's Website Home Page Linux Book: Linux Programming Unleashed My Resume Genealogical Data Contact Info Security About

All email messages received must pass the turing test or they will be considered SPAM. If it could have been written by a machine, it was.

Under no circumstances are you to email me with questions regarding windoze, any other microsoft operating system or application, or any software which runs under any form of windoze.

*