1) wondering if anybody know a C program to
write values to register of NVRAM. the values of the register (1/0)
will force the PLX PCI chip on the DUT board to reset and
toggle
between 2 modes for testing purpose.
2) I already have
a program that allows programming the cygnus NVRAM written by someone
else (not sure yet if nvram is on chip or dut board).
3) usb-I2C (totalphase aardvark inst) is used to send commands to DUT board
4) i have the plx api to be used with this chip control program in C. but i am totally new to C programming.
5)
i use labview and they have LV driver for aardvark I2C device. i can
send commands to board. but i dont know how to send commands to chip
for setting register values
since plx has their own api and
code for communicating to chip via i2c combined. I kind of follow the
logic but cannot program this new requirement in C.
6)
how can i incorporate new code to write values to registers ( it is
already writing some , but to different locations do i change them now
or ?).
the 'write to reg sequence' is attached , along with C code file
I will be greatly thankful to you,
thanks in advance