The Programmer Device Object

Methods

The methods described below are the API methods of the plugin defined by the Programmer Tool and are used by the different Programmer Tool methods.

Setup

The Setup method has three parameters:

Four actions are performed in sequence:

Load

This method transfers a HEX-file with the memory image to the programmer device.

Erase

This method activates the Erase command on the device.

BlankCheck

This method activates the BlankCheck command on the device.

Program

This method activates the Programming command on the device. The PG-FP5 device can perform more than one action. Each action will report its progress, making it possible to see the progress of the command in the SeqZap UI.

Verify

This method activates the Verify command on the device. The PG-FP5 device can perform more than one action. Each action will report its progress, making it possible to see the progress of the command in the SeqZap UI.

CreateDevicePanelControl

The device panel of the PG-FP5 plugin displays setup information and can also be used for changing baudrate and USB connection functionality of the programmer device.

The Current Settings view is the output of the “conf” command. The output could be different in different versions of the programmer firmware.

The USB Mode selection controls whether the device USB port should connect to the PC as a standard driver or a VCP (Virtual Com Port) driver. SeqZap does not currently support the Standard mode.

When the USB VCP connection is used the Baudrate selection is disabled.

When using the RS232 port on the device the Baudrate selector will show the current baudrate.
Selecting another baudrate will send a baudrate change request (“brt” command) to the device. If the device responds successfully, the baudrate on the PC will be changed to the same baudrate and a new “brt” command is sent to the device to check whether the device is still responding.

Remember that this will not change the setup of the serial port tool. If the new baudrate should be used when the current script is loaded again, the baudrate also needs to be changed in the workbench.