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

...

  • 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

...