Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After the following functions have been used to configure each FPA correctly for its target device, use Data Buffer Functions to determine what code should be written during programming. Finally, Encapsulated Functions can perform the process of programming, writing, erasing, verifying, etc., according to the aforementioned settings.

...

Example

Insert excerpt
FPGPM:Get MCU InfoFPGPM:
Get MCU Info

7. F_Set_MCU_Name

...

Code Block
languagecpp
 NULL all enabled lists on this adapter
 "Active-Semi"SPI Serial "Analog DevicesFlash"
 "Cypress"
 "Microchip/Atmel"
 "Marvell Tech."
 "Maxim Integrated"
 "Nordic Semiconductor"
 "NXP/Freescale"
 "Renesas"
 "Silergy"
 "Silicon Labs"
 "ST Microelectronics"
 "Texas Instruments-ARM"
 "Texas Instruments-Chipcon"

int mode : search mode

  • 0, returns the first match to MCU_name_regex, a type (char *). Library will alloc and free this memory by itself, do not modify contents

  • 1, returns the pointer to a list of matches to MCU_name_regex, a type (char **). Library will alloc and free this memory by itself, do not modify contents

...

Example

Insert excerpt
FPGPM:Extract MCU Part Number DirectoryFPGPM:
Extract MCU Part Number Directory

...

18. F_Get_Targets_Vcc

General Description

Get Vccin millivolts as read from target device.

...

  • FALSE (0) : failed - USB-FPA 6.1 adapter detected

  • TRUE (1) : succeeded - XStream-Iso, and XStreamPro-Iso adapter detected

  • FPA_INVALID_NO (-2 or 0xFFFFFFFE) : FPA not opened with Multi API-DLL Functions | F_OpenInstancesAndFPAs or index out of range

Example

Insert excerpt
FPGPM:Power Monitor - Reading Voltage and Current SamplesFPGPM:
Power Monitor - Reading Voltage and Current Samples

...

Refer to https://elprotronic.atlassian.net/wiki/spaces/FPGPARMFPGPM/pages/5777035896734779/Generic+Functions#F_Get_Power_Results

...

Refer to https://elprotronic.atlassian.net/wiki/spaces/FPGPARMFPGPM/pages/5777035896734779/Generic+Functions#F_Get_Power_Results

...

Refer to https://elprotronic.atlassian.net/wiki/spaces/FPGPARMFPGPM/pages/5777035896734779/Generic+Functions#F_Get_Power_Results

...

  • FALSE (0) : failed - USB-FPA 6.1 adapter detected

  • TRUE (1) : succeeded - XStream-Iso, and XStreamPro-Iso adapter detected

  • FPA_INVALID_NO (-2 or 0xFFFFFFFE) : FPA not opened with Multi API-DLL Functions | F_OpenInstancesAndFPAs or index out of range

Example

Insert excerpt
FPGPM:Power Monitor - CalibrationFPGPM:
Power Monitor - Calibration

...

General Description

Set state of the Reset, Vccand JTAG lines after programming is finished.

...

  • DEFAULT_JTAG_3ST (0) : JTAG lines set to tri-state

  • DEFAULT_JTAG_HI (1) : JTAG lines set to Vcc

  • DEFAULT_JTAG_LO (2) : JTAG lines set to GND

...

  • DEFAULT_RESET_LO (0) : reset line set to GND

  • DEFAULT_RESET_HI (1) : reset line set to Vcc

  • DEFAULT_RESET_3ST (2) : reset line to tri-state

BYTE VccOn : set Vccline from adapter

  • 0 : set to tri-state

  • 1 : set to configured Vcc(configuration parameter VccFromFPAin mV)

...