recently I got this N9320B in an auction (supposedly came from a university) that does not boot. It gets stuck at the Keysight splash screen (after passing the Agilent splash screen)
There was nothing on the USB and LAN connections at the back either (were not detected).
So I opened it up and first all voltages on the base motherboard are fine (clearly marked test points
). So I got the main cpu board out, which also contains the entire IF and RBW filters and DSP sections of the SA, took it out of its shield (after unscrewing a zillion screws) and installed it back so I can do some limited measurements on the board. Still access is a bit limited due to the PSU being close to it.
Attached pictures show the CPU board that Agilent call it DIF board, by the way.
There are quite a number of DC-DC converters and voltage regulators on this board which I identified and measured all of them. ALL are OK
The battery ONLY connects to a DS1390 RTC (presumably for keeping the time/date) It does not power any memory as far as I can tell
I found a MAX232 chip and observed some activities on the pin 11 (T1 input) and on the corresponding pin 14 (T1 out). So I connected my Bus Pirate to pins 11 and 12 (on the TTL side) of the MAX232 and set up UART connection with 115200 baud and bingo
I got the boot prompt.
Here is what happens:
VxWorks System Boot
Copyright 1984-2004 Wind River Systems, Inc.
CPU: Sharp lh7a404
Version: VxWorks5.5.1
BSP version: 1.0/0
Creation date: Oct 1 2008, 10:51:53
Press any key to stop auto-boot...
0
auto-booting...
boot device : tffs=0,0
unit number : 0
processor number : 0
host name : host
file name : /tffs0/VxWorks
inet on ethernet (e) : 192.168.0.111
host inet (h) : 192.168.0.100
user (u) : target
ftp password (pw) : target
flags (f) : 0x8
other (o) : csnet
Attaching to TFFS... done.
Loading /tffs0/VxWorks...3414320
Starting at 0xc0001000...
Attaching interface lo0... done
Attached IPv4 interface to csnet unit 0
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 560 Initialized
1 OHCI Controller found.
Waiting to attach to USBD...Done.
Adding 6135 symbols for standalone.
0xc1effe68 (tRootTask): usbBulkDevInit() returned OK
VxWorks
Copyright 1984-2002 Wind River Systems, Inc.
CPU: Sharp lh7a404
Runtime Name: VxWorks
Runtime Version: 5.5.1
BSP version: 1.0/0
Created: Feb 1 2013, 13:54:17
WDB Comm Type: WDB_COMM_END
WDB: Ready.
The flash is: S29GL512P
usbTMCDevInit() returned OK.
-> initkey semtake semabcINT failed
taskSpawn keyTask succsess
taskSpawn powerTask succsess
taskSpawn GpibSendData succsess
taskSpawn GpibSendData succsess
uglEpson13506_16BitDevCreate...
uglEpson13506_16BitDevCreate...OK
uglEpsonModeSet...
uglEpsonSetRegs...mode=0
i=0,reg[1,0]
i=1,reg[508,0]
i=2,reg[4,0]
i=3,reg[8,0]
i=4,reg[16,1]
i=5,reg[20,18]
i=6,reg[24,0]
i=7,reg[28,2]
i=8,reg[30,1]
i=9,reg[32,1]
i=10,reg[33,0]
i=11,reg[42,1]
i=12,reg[43,1]
i=13,reg[48,37]
i=14,reg[49,0]
i=15,reg[50,79]
i=16,reg[52,3]
i=17,reg[53,1]
i=18,reg[54,11]
i=19,reg[56,223]
i=20,reg[57,1]
i=21,reg[58,44]
i=22,reg[59,10]
i=23,reg[60,1]
i=24,reg[64,5]
i=25,reg[65,0]
i=26,reg[66,0]
i=27,reg[67,0]
i=28,reg[68,0]
i=29,reg[70,128]
i=30,reg[71,2]
i=31,reg[72,0]
i=32,reg[74,25]
i=33,reg[75,60]
i=34,reg[80,79]
i=35,reg[82,19]
i=36,reg[83,1]
i=37,reg[84,11]
i=38,reg[86,223]
i=39,reg[87,1]
i=40,reg[88,43]
i=41,reg[89,9]
i=42,reg[90,1]
i=43,reg[91,24]
i=44,reg[96,5]
i=45,reg[98,0]
i=46,reg[99,0]
i=47,reg[100,0]
i=48,reg[102,128]
i=49,reg[103,2]
i=50,reg[104,0]
i=51,reg[106,59]
i=52,reg[107,60]
i=53,reg[112,0]
i=54,reg[113,1]
i=55,reg[114,0]
i=56,reg[115,0]
i=57,reg[116,0]
i=58,reg[117,0]
i=59,reg[118,0]
i=60,reg[119,0]
i=61,reg[120,0]
i=62,reg[122,31]
i=63,reg[123,63]
i=64,reg[124,31]
i=65,reg[126,0]
i=66,reg[128,0]
i=67,reg[129,1]
i=68,reg[130,0]
i=69,reg[131,0]
i=70,reg[132,0]
i=71,reg[133,0]
i=72,reg[134,0]
i=73,reg[135,0]
i=74,reg[136,0]
i=75,reg[138,31]
i=76,reg[139,63]
i=77,reg[140,31]
i=78,reg[142,0]
i=79,reg[256,0]
i=80,reg[257,0]
i=81,reg[258,0]
i=82,reg[259,0]
i=83,reg[260,0]
i=84,reg[261,0]
i=85,reg[262,0]
i=86,reg[264,0]
i=87,reg[265,0]
i=88,reg[266,0]
i=89,reg[268,0]
i=90,reg[269,0]
i=91,reg[272,0]
i=92,reg[273,0]
i=93,reg[274,0]
i=94,reg[275,0]
i=95,reg[276,0]
i=96,reg[277,0]
i=97,reg[280,0]
i=98,reg[281,0]
i=99,reg[480,0]
i=100,reg[482,0]
i=101,reg[496,0]
i=102,reg[497,0]
i=103,reg[500,0]
i=104,reg[508,1]
uglEpsonModeSet...OK
0xc1effe68 (tRootTask): memPartFree: invalid block 0x2c6c6c75 in partition 0xc023a3f8.
0xc1effe68 (tRootTask): memPartFree: invalid block 0xc14b8d1c in partition 0xc023a3f8.
0xc1effe68 (tRootTask): memPartFree: invalid block 0x8000011c in partition 0xc023a3f8.
0xc1effe68 (tRootTask): memPartFree: invalid block 0xc14b8934 in partition 0xc023a3f8.
Undefined instruction
Exception address: 0xc1791854
Current Processor Status Register: 0x00000010
Task: 0xc1effe68 "tRootTask"
I cannot quite figure out what my problem could be
I am an absolute idiot when it comes to these embedded system stuff. Maybe some experts out there can interpret the results and tell me how to proceed...
My guess is that either the memory (SRAM) is bad which would be a very good news or the FLASH ROM is corrupted which for me is perhaps the end of this adventure
Some further information: the main processor has 80KB of on chip SRAM and a boot ROM in it too.
after the boot stopped I pressed enter and got this -> prompt and ran some information gathering commands which you can see here:
.....
Undefined instruction
Exception address: 0xc1791854
Current Processor Status Register: 0x00000010
Task: 0xc1effe68 "tRootTask"
-> moduleShow
MODULE NAME MODULE ID GROUP # TEXT START DATA START BSS START
--------------- ---------- ---------- ---------- ---------- ----------
usb488.out 0xc18d74e8 1 0xc179b350 0xc18b4814 0xc18c5480
SA.out 0xc14b8f6c 2 0 0 0
value = 0 = 0x0
-> ls
0xc18f1940 (tShell): memPartAlloc: block too big - 99 in partition 0xc023a3f8.
value = -1 = 0xffffffff
-> version
VxWorks (for Sharp lh7a404) version 5.5.1.
Kernel: WIND version 2.6.
Made on Feb 1 2013, 13:54:17.
Boot line:
tffs=0,0(0,0)host:/tffs0/VxWorks h=192.168.0.100 e=192.168.0.111 f=0x8 u=target pw=target o=csnet
value = 109 = 0x6d = 'm'
->
->
-> devs
drv name
0 /null
1 /tyCo/0
1 /tyCo/1
3 /tffs0
5 host:
6 /bpf/dhcpc/0
6 /bpf/dhcpc/1
6 /bpf/dhcpc/2
6 /bpf/dhcpc/3
6 /bpf/dhcpc-arp
9 /vio
value = 25 = 0x19
->
->
-> lkup
Number of Symbols : 8464
Symbol Mutex Id : 0xc18f4bb4
Symbol Hash Id : 0xc18f438c
Symbol memPartId : 0xc023a3f8
Name Clash Policy : Allowed
value = 0 = 0x0
->
->
-> taskShow
NAME ENTRY TID PRI STATUS PC SP ERRNO DELAY
---------- ------------ -------- --- ---------- -------- -------- ------- -----
tRootTask usrRoot c1effe68 0 SUSPEND c1791854 0 110003 0
value = 0 = 0x0
->
It seems the firmware is made in 2013 but agilent has had firmware updates in 2014, 2015, and the last one was 2017. So my guess is that it was not corrupted during a firmware update (I know this device was decommissioned not too long ago definitely not 5-6 years ago)
also when I press a key and stop the auto boot, I get these after typing ? help command:
Version: VxWorks5.5.1
BSP version: 1.0/0
Creation date: Oct 1 2008, 10:51:53
Press any key to stop auto-boot...
1
[VxWorks Boot]: ?
? - print this list
@ - boot (load and go)
p - print boot params
c - change boot params
l - load boot file
g adrs - go to adrs
d adrs[,n] - display memory
m adrs - modify memory
f adrs, nbytes, value - fill memory
t adrs, adrs, nbytes - copy memory
e - print fatal exception
v - print boot logo with version
n netif - print network interface device address
$dev(0,procnum)host:/file h=# e=# b=# g=# u=usr [pw=passwd] f=#
tn=targetname s=script o=other
boot device: tffs=drive,removable file name: /tffs0/vxWorks
Boot flags:
0x02 - load local system symbols
0x04 - don't autoboot
0x08 - quick autoboot (no countdown)
0x20 - disable login security
0x40 - use bootp to get boot parameters
0x80 - use tftp to get boot image
0x100 - use proxy arp
available boot devices:Enhanced Network Devices
csnet0 tffs
[VxWorks Boot]:
any advice is highly appreciated
EDIT: funny, someone spelled success wrong