Skip to content

Using the script

Chillout edited this page May 18, 2021 · 2 revisions

The script "fpa_dataset_save.1sc" is a script that needs to be used with 010 Editor. It's used to generate either an ODIS or VCP XML file that can be used to flash the dataset onto the Gateway.

How to use the script?

  • Open the script (CTRL-F7)
  • Modify the saveFormat and saveAddress parameters if needed:

saveFormat = 0; // This will output VCP format

saveFormat = 1; // This will output ODIS format

saveAddress = 0; // This will use 0x0B80 as flashing address (newer gateway firmware versions)

saveAddress = 1; // This will use 0x2388 as flashing address. (older gateway firmware versions)

  • If you want, you can let the script ask for your input each time you run it. You can do so by uncommenting the following lines:

//saveFormat = InputRadioButtonBox("Output Format", "Choose output format", 0, "VCP", "ODIS");

//saveAddress = InputRadioButtonBox("Address", "Choose address", 0, "0x0B80", "0x2388");

  • Next, the script will ask for a location where you want to store the output. By default it writes to desktop.
  • Finally, the script will ask for a dataset name. ODIS is pretty specific when it comes to dataset names, and therefore an example name is given. VCP can use whatever name you like.
  • The current date and time will be added to the name of the dataset as well. This prevents overwriting datasets you've made earlier.
  • You're done. The dataset will open in a new window and is saved to the location you set before.