This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR1443: DCA1000 programming to change IP address

Part Number: IWR1443

Hi, 

How can the default IP addresses for the FPGA and the PC system be changed (Table 11)? In order to configure different IP addresses, we would like to update the DCA1000’s configuration EEPROM data by sending a CONFIG_EEPROM_CMD_CODE packet (see Table 12), but we don’t know what to put into the message’s data field. How is the data field specified?

thanks

  • Notozman,

    In mmWave studio, on the Lua Shell, you can type "help ar1", this will give you a list of all available commands. ( what i do is copy the output to an excel sheet and find available commands )

    Here you will find "ar1.ConfigureRFDCCard_EEPROM"  it takes as inputs:

    String SystemSourceIPAddress

    String FPGADestIPAddress

    String FPGAMACAddress

    UInt32 ConfigPort

    UInt32 RecordPort

    eg. [ ar1.ConfigureRFDCCard_EEPROM("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) ]

    The limitations that I observed, on the SystemSourceIPAddress  the last portion of IP address is limited to 2 digits. "192.168.33.30" and once you change it, all configurations on the DCA will need to be done with a script or the Lua shell, not the GUI.

    Steps to change are:

    1. connect to DCA1000 with mmwave studio GUI.
      1. ar1.SelectCaptureDevice("DCA1000")
      2. ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    2. change address with EEPROM command
      1. ar1.ConfigureRFDCCard_EEPROM("desired IP string", "desired IP string", "12:34:56:78:90:12", 4096, 4098)
    3. close mmWave studio
    4. reset DCA1000
    5. change your system IP

    Hope this helps.

    Alex

  • So this is a direct write to the EEPROM from LUA console versus sending the command via UDP as mentioned in the Users Guide.
    I see some other limitations with the IP address as well – seems that the new DCA IP address also needs to have 192.168.(2 digits).(3 digits).
     
    I don’t understand your last comment – “…once you change it, all configurations on the DCA will need to be done with a script or the Lua shell, not the GUI.”
    I don’t see any hard coding of the IP addresses in the libraries or LUA scripts (apart from check in capture LUA which is easily changed).
     
    Thanks.
  • Notozman,

    – seems that the new DCA IP address also needs to have 192.168.(2 digits).(3 digits).

    Got it.

    “…once you change it, all configurations on the DCA will need to be done with a script or the Lua shell, not the GUI.”

    lets say that you restart the system, if  you want to capture data manually.

    if you check the DCA1000 check box, then click 'SetUP DCA1000" and "Connect", it will give you an error that "Ethernet cable is disconnected", this is because the IP address in this window is hard coded.

    So once you change it you cant use the GUI to configure the DCA1000. Just mentioning it as a precaution.

    Thanks for your observations.

    Alex