Upload

<< Click to Display Table of Contents >>

Navigation:  Program Windows > CATS Service Tools Window > DPA Service Mode >

Upload

This tab allows to upgrade/downgrade connected DPA device. Supported files:

oCustom DPA Handler (.HEX)

oPlug-in (.IQRF)

 

Supports DPA 4.00 or higher.

Procedure (for relating information see. IQRF DPA Framework Technical guide, chapter: DPA in Practice / Code Upload):

oUpload selected file to the external EEPROM.

oCheck the checksum.

oLoad data to the Flash memory.

 

Source File

Uploaded file selection. A file from the Project window or from the PC storage can be selected. After selection the file type, length and checksum of uploaded data is automatically calculated.and displayed in the Upload section below. If the external EEPROM already contains some file data (only the Load will be executed), the Source File check box must be unchecked.

 

 

Upload

oIf the file was selected in the Source File section above the file type, length and checksum of data is set automatically. Only the address in external EEPROM (multiple of 64) where the data should be stored must be set. This address should be chosen according to the free memory space (Coordinator, Autoexec, IO Setup, application data, ...). If there is a need only to store data for later usage it is needed to make a note: file type, external EEPROM address, length and checksum of data (a record from the Output window can be used). Then use steps 1 (Upload) and 2 (Verify). The upgrade/downgrade is done by step 3 (Load).

oIf the external EEPROM already contains some file data (e.g. more Custom DPA Handlers) the file type, external EEPROM address (multiple of 64), length (multiple of 64) and checksum must be set. The upgrade/downgrade is done by step 3 (Load).

 

oStep 1: Upload (peripheral: EEEPROM, command: Extended Write)

Uploads selected file to the external EEPROM of selected device/devices.

 

oStep 2: Verify (peripheral: OS, command: Load Code)

Verifies data consistency and checksum.

 

oStep 3: Load (peripheral: OS, command: Load Code)

Verifies data consistency and checksum and if everything is correct loads data to the Flash memory. After loading the connected DPA device is automatically reset - disconnected from the CATS.

 

 

oRun All Steps

Executes all 3 steps described above on one click.