Oncore VP Teardown

Three Motorola Oncore GPS receivers from HP timing instruments: boards, memory map, firmware and status.

See also: test points and BDM header · MC68331 clock pins · board notes · memory map and firmware notes · firmware overview · 8ch decompiled C · 6ch decompiled C · binary messages · Ghidra scripts · source

Receivers

8-channel6-channel6-channel
ModelB4121P1115B1121P1114B1121P1114
SerialSSG0220999SSG0163878SSG0178541
Manufactured7D016G096J25
Board label*3W1VE**7VENR**7VGN4*
Instrument (CPU hand mark)HP 58503A ('03A)HP Z3805A, 3625A01487 ('05A)HP Z3801A, 3542A01548 ('01A)
Software98-P36830P VER 8 REV 8, 06 Aug 199698-P39972M VER 8 REV 4, 13 Jul 1995 (identical flashes)
ReadBDM (mc683xx-bdm, bdm 0.4.0, pod firmware 0.5.0)Host port, factory loader (tools/loader/dump.py)
Self-testall passall passall pass
StatusWorksTrack only with about 20 dB more antenna gain than the 8ch (see 6-channel sensitivity)

Boards

Part8-channel *3W1VE* (jig)6-channel *7VGN4*6-channel *7VENR*
FromHP 58503AHP Z3801AHP Z3805A
PCBTM-AA / BM-AA, 84D44800M01TM-AB / BM-AB, 84D43579TM-AB / BM-AB, 84D43579M03
CPUMC68331CFC16 0E93N DEUZ9702MC68331CFC16 G91H DENU9621 ('01A)MC68331CFC16 G91H DEVT9614 ('05A)
SRAM 128K x 8Toshiba TC551001BFI-85L 9706HAKHitachi HM628128BLFPI-8 9629Hitachi HM628128LFPI-8 9621
RTCMC68HC68T1 CKAC9703MC68HC68T1 CKBG9631MC68HC68T1 CKAN9620
Crystal32.768 VT, MC 971032.768 VT, MC 963432.768 VT, MC 9619
Hybrid24M02, 19.09Mhz, 971124M01, 19.09575M, 963024M01, 19.09 M, 9601
Reset supervisor (MC33064, 4.6 V)330643306433064
EEPROM 8K x 8Atmel AT28C64B 20JI 9705Atmel AT28C64B 20JI 9626Atmel AT28C64B 20JI 9612
Flash 2 x 128K x 8TN28F010 120 U65109J2TN28F010 120 U63135J3TN28F010 -120 U54362J1
ASICXCT38140FD04 AAYW9711XCT38140FD04 AARX9552XCT38140FD04 AASS9603
RF front end (likely)58M01 970658M01 963158M01 9623
SOT-23 by SAW (LNA?)A06A06A06
SAW filter95U01 / 71195U01 / 62795U01 / 624

RF architecture

Antenna active, +5 V fed 18 dB net min. A06 RF stage (inferred) 95U01 SAW L1 1575.42 band-pass 58M01 (LO strongest here) Mixer 1 LO1 80 f 1527.66 MHz Mixer 2 LO2 2 f 38.19 MHz Quantizer 1-2 bit (inferred) LO synthesizer (PLL) locked to the TCXO (inferred) XCT38140 ASIC samples at f/2 9.548 MHz (inferred) 20.625 kHz carrier 8 or 6 correlator channels (CS7) ÷656 → EXTAL IF1 47.76 IF2 9.568 24M0x hybrid TCXO f = 19.09575 MHz trim: 8-bit DCXO setting QSPI SCK, MOSI, MISO, PCS1 MC68331 QSPI, pin 47 PCS1
Solid: measured or traced. Dashed: inferred. 80 f + 2 f + f/2 = 82.5 f = L1 − 20625 Hz, the firmware's drift target. LO1 measured with a near-field probe on the 8ch and the 6ch (gone with the receiver off; strongest over the 58M01); a noise band near 9.5 MHz on the 8ch fits IF2. Live carrier NCO rates (BDM, 8 SVs): 17.1–22.2 kHz, the 20.625 kHz carrier plus Doppler; the NCO step is 217000/224 Hz, with 217000 × 44 = 9.548 MHz (f/2). Frequencies in MHz.

Antenna gain

VP Oncore (engineering notes, p. 5)UT Oncore (engineering notes)
Net gain at the receiver inputpreamplifier 18 dB minimum, including 6 dB cable loss10 to 33 dB; performance degrades outside
Noise figure2.5 dB maximum2.2 dB maximum (system 4 dB)
Antenna power+5 V, 25 mA available80 mA maximum, 45 mA short circuit
Thresholds (0 dBic, no cable)acquire −137 dBm, track −143 dBm

No onboard LNA unless the passive-antenna option (23 dB) is fitted. Both notes are in third_party/moto.

Clock chain

24M0x hybrid TCXO 19.09575 MHz DCXO trim on QSPI PCS1 (CPU pin 47) XCT38140 ASIC ÷656 correlator clock f/2 9.548 MHz (inferred) EXTAL, pin 62 29,109.4 Hz 68331 PLL reset x256 ($3F08) run x576 ($D102) f_sys 7.452 / 16.767 MHz RF local oscillators 82.5 x f total = L1 − 20625 Hz Crystal 32.768 VT MC68HC68T1 RTC; not the CPU clock SCI ÷(32 x 55) 9525 baud (9600 host)
Nominal values for 19.09575 MHz. The firmware's baud table only fits f_sys = 16.762–16.781 MHz, i.e. a 29.10–29.13 kHz reference.

Pins

Receiver 10-pin header

1 BATT (backup power; not supplied by the jigs or the 58503A) · 2 PWR (5 V) · 3 GND · 4 VPP (flash programming) · 5 not used · 6 1PPS · 7 1PPS RTN · 8 TTL TXD1 · 9 TTL RXD1 · 10 TTL RTN

6-channel test points (row below the CPU)

B1–B4 GPS output header · B5 GND · B6 DSO (pin 54) · B7 DSI (55) · B8 BKPT/DSCLK (56) · B9 FREEZE (58) · B10 CLKOUT (66) · B11 RESET (68) · L6 +5 V

B5–B11: a programming fixture's BDM set. BERR (70) and DS (85) have no test point. Positions.

MC68HC68T1, 16-pin

1 CLKOUT · 2 CPUR · 3 INT · 4 SCK · 5 MOSI · 6 MISO · 7 SS · 8 VSS · 9 PSE · 10 POR · 11 LINE · 12 VSYS · 13 VBATT · 14 XTALin · 15 XTALout · 16 VDD

CLKOUT options: XTAL, /2, /4, /8, 1 Hz, 2 Hz, 64 Hz, low.

Memory map, running

RangeSizeCSWidthAccessContents
$000000–$01FFFF128 KBCS88R/WRAM
$020000–$021FFF8 KBCS48R/W, 2 waitEEPROM
$080000–$0FFFFF512 KBCSBOOT16R/W, 1 waitBoot flash (256 KB, mirrored)
$100000–$17FFFF512 KBCS916R/W, 1 waitReads all $FF; never accessed; pin 124 has no visible trace
$180000–$1FFFFF512 KBCS1016R/W, 1 waitReads all $FF; never accessed; pin 125 has no visible trace
$FFC800–$FFCFFF2 KBCS0 wr, CS2/3 rd16DS strobeNever accessed
$FFD000–$FFD7FF2 KBCS116write, DSNever accessed
$FFD800–$FFDFFF2 KBCS68R/WNever accessed
$FFE000–$FFE7FF2 KBCS516R/W, DSOne dummy read at boot
$FFE800–$FFEFFF2 KBCS716R/WCorrelator, 8 channels × 16 bytes
$FFF000–$FFFFFF4 KBon-chipModule registers (MM = 1)
CSPAR0 $3BFF  CSPAR1 $03EE
CSBOOT $0806 $7870   CS0 $FFC8 $7470   CS1 $FFD0 $7430   CS2 $FFC8 $6C30
CS3    $FFC8 $6C30   CS4 $0201 $78B0   CS5 $FFE0 $7C70   CS6 $FFD8 $7830
CS7    $FFE8 $7830   CS8 $0004 $7830   CS9 $1006 $7870   CS10 $1806 $7870

On-chip registers, running

RegisterAddressValueDecoded
SIMCR$FFFA00$E041CLKOUT off, FRZSW, FRZBM, MM 1, IARB 1. Reset $60CF.
SYNCR$FFFA04$D10AW1 X1 Y17 = x576, locked. Reset $3F08 = x256.
SYPCR$FFFA21$00Watchdog, bus monitor, halt monitor off
PICR / PITR$FFFA22$000F / $0000PIT off
QSMCR$FFFC00$4002FRZ1, IARB 2
QILR / QIVR$FFFC04$06 / $41SCI level 6, vector $41
SCCR0$FFFC08$0037Baud divider 55
SCCR1$FFFC0A$002CTE, RE, RIE, 8N1
GPTMCR$FFF900$2000
TMSK2$FFF921$00GPT prescaler /4
DDRGP / PORTGP$FFF906$DF / $E1

Host serial port is the SCI: 9600 baud 8N1, Motorola binary. A byte written to SCDR over BDM appeared on the host port.

Boot flash

  • 256 KB, two 8-bit chips (one per byte lane).
  • third_party/moto/B4121P1115-flash.bin, three reads identical.
  • SHA-256 48ea2488486df858bd81c76d9c52acf761d9ea9389581ac1443a8d44d8e75890
  • Last 8 bytes: $00C5B910 = sum of even bytes, $00EC4899 = sum of odd bytes, over $00000–$3FFF7. Both verified.
  • Reset entry $089F5C: SR $2700, SP $20000, SIMCR $E041, SYPCR $00, SYNCR $D102, wait SLOCK.
  • SCCR0 table $0A20A2: 109, 218, 437, 27, 55 (4800, 2400, 1200, 19200, 9600 baud).

EEPROM

  • 8 KB at CS4 (mapped only after the firmware runs).
  • eeprom/B4121P1115-SSG0220999-eeprom.bin, three reads identical.
  • SHA-256 003e9f533d66fb448ad2a5504a70d76f016abdbb2a0c19043d4a818589a44261
  • $087A–$0904: ID text: MODEL B4121P1115, SERIAL SSG0220999, MANUFACTUR DATE 7D01, OPTIONS IB.
  • $0934, $0CAC: two almanac banks (32 × 24-byte records, page 25, health); active bank at $1024.
  • $1026–$1166: settings blocks (masks, DOP limits, datum, position hold, 1PPS, SV ignore list), each followed by a checksum (−1 minus the byte sum).
  • $116A/$1174: oscillator records; $1180: Klobuchar ionosphere; $118C/$118E: year hint; $1192/$11AE: position records; $11CC: UTC parameters (ΔtLS 18).
  • Rest: $AA fill.

Firmware

Satellite search by application type (@@AB, $8EB8)

TypeAlmanac-aided searchPer satellite
Land (2), the default100 bins, ±2 kHz, 2 passesabout 19 min
Air (0)100 bins, ±4.5 kHz, 1 passabout 9.5 min
Handheld, Marine, Static (1, 3, 4)16 bins, ±2 kHz, 1 passabout 1.5 min

One bin is a full code sweep (2864 dwells, about 5.7 s, inferred). Then a full-sky search: 31 bins, 0 to ±7.5 kHz, at each DCXO setting. Tables at $0AEEA2 + type × 24 + 4 × strategy. The 8ch is now set to Static (what HP's host sends); both 6ch are on Land.

Commands not in the VP Oncore Command Reference (Synergy, 05OCT01)

CommandWhat
@@AF–@@AI, @@Bm, @@ClPresent; partly traced
@@CmOption G only
@@Bz / @@EzOutput messages
@@TaDCXO record (below)
@@Tb, @@Tc, @@TdFactory test
@@ThWrites the ID block
@@Tq, @@Sa–@@SgFactory loader ($0A1E90; 6ch $09EB54): masks interrupts and runs its own serial loop. @@Sa/@@Sb/@@Sc write data at a 2/3/4-byte address, @@Sg jumps to a RAM address, @@Sd acknowledges, @@Se returns to the firmware. No flash programming in the firmware; flash needs 12 V on header pin 4 (VPP).

The @@Ea status and channel-flag bits in the reference match the firmware.

Cold start

Oscillator tuning (QSPI PCS1)

6-channel sensitivity

Top-side DC bias, volts to ground (USB-fed jigs; points and A/B ends as in the callout photo)

PointSSG0178541SSG0163878
Supply4.754.80
Antenna center pin4.674.73
2R2 by the 24M01, A / B4.73 / 4.694.80 / 4.75
2R2 middle, A / B4.69 / 4.674.75 / 4.75
2R2 bottom left, A / B0.765 / 0.7660.765 / 0.767
R27, A / B2.36 / 2.362.22 / 2.23
R56, A / B2.36 / 2.362.23 / 2.23

Photos

8-channel *3W1VE* (58503A, on the jig)

8ch, top (TM-AA), on jig, BDM wiring, RF can open (24M02)
8ch, top (TM-AA), on jig, BDM wiring, RF can open (24M02)
8ch, top on jig before wiring; CPU MC68331CFC16 0E93N DEUZ9702
8ch, top on jig before wiring; CPU MC68331CFC16 0E93N DEUZ9702
8ch, crystal 32.768 VT MC 9710, MC68HC68T1 CKAC9703
8ch, crystal 32.768 VT MC 9710, MC68HC68T1 CKAC9703
8ch, hand wiring from CPU pins to BDM header
8ch, hand wiring from CPU pins to BDM header
8ch on jig with BDM pod on ribbon cable
8ch on jig with BDM pod on ribbon cable
8ch, header soldered to the CPU pins for BDM
8ch, header soldered to the CPU pins for BDM
8ch, bottom (BM-AA, 84D44800M01), label *3W1VE*
8ch, bottom (BM-AA, 84D44800M01), label *3W1VE*
8ch, bottom, second shot
8ch, bottom, second shot

6-channel *7VGN4* (Z3801A)

6ch, top (TM-AB), RF can closed (326/2486 2643686MAC)
6ch, top (TM-AB), RF can closed (326/2486 2643686MAC)
6ch, top, RF can open (24M01 19.09575M)
6ch, top, RF can open (24M01 19.09575M)
6ch, top, RF can open, second shot
6ch, top, RF can open, second shot
6ch, close-up: hybrid 24M01 19.09575M 9630, crystal MC 9634
6ch, close-up: hybrid 24M01 19.09575M 9630, crystal MC 9634
6ch, close-up: MC68331CFC16 DENU9621 ('01A), MC68HC68T1 CKBG9631
6ch, close-up: MC68331CFC16 DENU9621 ('01A), MC68HC68T1 CKBG9631
6ch, bottom (BM-AB), RF can closed, label *7VGN4*
6ch, bottom (BM-AB), RF can closed, label *7VGN4*
6ch, bottom, RF can open (58M01, 95U01)
6ch, bottom, RF can open (58M01, 95U01)
6ch, bottom, RF can open, second shot
6ch, bottom, RF can open, second shot

6-channel *7VENR* (Z3805A)

*7VENR*, top (TM-AB), RF can closed (326/0816 2643686MAB)
*7VENR*, top (TM-AB), RF can closed (326/0816 2643686MAB)
*7VENR*, top, RF can open (24M01 19.09 M 9601)
*7VENR*, top, RF can open (24M01 19.09 M 9601)
*7VENR*, close-up: antenna pads, 33064
*7VENR*, close-up: antenna pads, 33064
*7VENR*, close-up with ruler: MC68331CFC16 DEVT9614 ('05A), MC68HC68T1 CKAN9620
*7VENR*, close-up with ruler: MC68331CFC16 DEVT9614 ('05A), MC68HC68T1 CKAN9620
*7VENR*, close-up: CPU lower edge
*7VENR*, close-up: CPU lower edge
*7VENR*, bottom (BM-AB, 84D43579M03), RF can closed
*7VENR*, bottom (BM-AB, 84D43579M03), RF can closed
*7VENR*, bottom, RF can open (58M01 9623, 95U01 624)
*7VENR*, bottom, RF can open (58M01 9623, 95U01 624)

Open