5 Replies Latest reply on Aug 12, 2014 9:55 AM by MichaelF_56

    Why I can NOT execute cgs.exe to create hex file?

      I am using wiced smart v1.1.0.

      I want to use cgs.exe to convert cgs file to hex file, the hex file with different BT address, I follow this topic: Two dev boards have same MAC address, and use cgs.exe like this:

      cgs.exe -I <output_file_name.hex> -O DLConfigBD_ADDRBase:207321234567 –A 0xFF000000 –B <btp_file.btp> -D <file.hdf> <input_file.cgs>

      Before executing cgs.exe, I copy cgs.exe, 20732_EEPROM.btp, ConfigDef20732_aa.hdf to \build\hello_sensor-BCM920732TAG_Q32-rom-ram-Wiced-release  , and execute cgs.exe like this:

      cgs.exe -I hello_sensor-BCM920732TAG_Q32-rom-ram-Wiced-release.hex -O DLConfigBD_ADDRBase:207321234567 -A 0xFF000000 -B 20732_EEPROM.btp -D ConfigDef20732_aa.hdf A_20732A0-hello_sensor-rom-ram-spar.cgs

       

      Below is console response:

      C:\Disk_Driver\Firmware\WirelessModem\BLE\truck\WICED-Smart-SDK-1.1.0\build\hello_sensor-BCM920732TAG_Q32-rom-ram-Wiced-release>cgs.exe -I hello_sensor-BCM920732TAG_Q32-rom-ram-Wiced-release.hex -O DLConfigBD_ADDRBase:207321234567 -A 0xFF000000 -B 20732_EEPROM.btp -D ConfigDef20732_aa.hdf A_20732A0-hello_sensor-rom-ram-spar.cgs

      cgs v1.3.0.0094 20131210

      Copyright (c) 2012-2013 Broadcom Corp.

       

      Processing cgs files:

        A_20732A0-hello_sensor-rom-ram-spar.cgs

      ...

      Error: Duplicate field: command: Adc Driver Configuration, field: Reserved_1

       

       

      Creating Intel Hex file: hello_sensor-BCM920732TAG_Q32-rom-ram-Wiced-release.hex... failed.

      Reason:

      ConfigDef20732_aa.hdf(0:0): Error: Duplicate field: command: Adc Driver Configuration, field: Reserved_1

       

      What did that mean?