EDT PDV SDK Documentation 6.2.0
Firmware Update Functions

Functions

int edt_get_timecode_version (EdtDev edt_p)
 Get the msp430 IRIG-B firmware version. More...
 
int edt_spi_invoke_flash_loader (EdtDev edt_p)
 Puts the EDT SPI msp430 into flash-loader mode. More...
 

Detailed Description

Firmware Update Functions

Function Documentation

◆ edt_get_timecode_version()

int edt_get_timecode_version ( EdtDev  edt_p)

Get the msp430 IRIG-B firmware version.

Parameters
edt_pThe EDT open device handle.
Returns
An integer containing the firmware version number

Obtain the version of the IRIG-B firmware running on the msp430.

See the included example program timing_test.c.

◆ edt_spi_invoke_flash_loader()

int edt_spi_invoke_flash_loader ( EdtDev  edt_p)

Puts the EDT SPI msp430 into flash-loader mode.

Parameters
edt_pThe EDT open device handle.
Returns
Zero on success, -1 on fault.

Puts the EDT SPI msp430 into flash-loader mode, which accepts commands via ascii string to erase and reprogram the msp430 flash memory. Culminates in rebooting the msp430.

See the included utility program msp430_load.c.