Thanks for your concern,
I'm using a VS2000TCM-ETH1 module. The module contains VS2000 chip from Velocity.
There is a command to set the serial number and MAC address, through jtag. First we were suspecting the proper working of jtag, but it is working fine as we are able download our program to the chip. The only problem we are having is in assigning the serial number and MAC address. Please find below the error log,
--------------------------------------------------------------------------
C:\>jtagmodifyconfigdata
Download cable version: $0A
Using serial port COM1 at 115200 baud
Current configuration:
Serial num: 01405800139
Primary MAC address: 0e:75:00:1a:03:75
Secondary MAC address: 43:fc:0a:46:43:8c
Set serial number ? (y/n) n
Set primary MAC ? (y/n) n
Set secondary MAC ? (y/n) n
Current configuration:
Serial num: 01405800139
Primary MAC address: 0e:75:00:1a:03:75
Secondary MAC address: 43:fc:0a:46:43:8c
Commit data to board ? (y/n) y
error: java.lang.NullPointerException
java.lang.NullPointerException
at com.dctl.jtag.Comms.modifyConfigData(Comms.java:374)
at com.dctl.jtag.Main.main(Main.java:116)
--------------------------------------------------------------------------
We have reported this error to them. But the problem is they are not able to recreate the error. Now we know that the serial number and MAC address is written at location 0x004000, So through coding can we place the serial number and MAC address directly to the specified flash location??? If we do this, are there any possibilities that we may mess up something???