Skip to end of banner
Go to start of banner

Generic DLL CLI: Getting Started

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Problem

After installing the Generic DLL package from the website Downloads tab, how do I run my first adapter using the CLI?

Solution

  1. Go to Generic-FPA-DLLs\bin\Win32, and open FPAs-setup.ini, you will see contents similar to this listing an adapter to be specified on index 1:
    FPA-1 20204012 TYPE-ARM

  2. Change the serial number to specify your adapter. Specify the type to TYPE-ARM or TYPE-ARM-GP, etc. From Generic-FPA-TS.h found in Generic-FPA-DLLs\include the types are:
    "C2000" - FlashPro-2000
    "CC" - FlashPro-CC programming 8051
    "CC-GP" - GangPro-CC programming 8051
    "ARM" - FlashPro-ARM, FlashPro-MSP programming MSP432
    "ARM-GP" - GangPro-ARM, GangPro-CC programming CM3
    "MSP" - FlashPro-430, FlashPro-MSP programming MSP430
    "MSP-GP" - GangPro-430
    "M" - FlashPro-M
    "M-GP" - GangPro-M
    When using FlashPro-X or GangPro-X adapter, select from above list based on target MCU.

  3. If you have a newer installation of ARM/MSP430 etc. than is present in the Generic bin directory, copy the appropriate DLLs there; i.e. for ARM: FlashProARM-FPA1.dll and GangProARM-FPA1.dll, from the ARM install directory to Generic-FPA-DLLs\bin\Win32. The Generic DLL uses 32-bit DLLs (x86 installations).

  4. Open two cmd.exe consoles, go to Generic-FPA-DLLs\bin\Win32, and check your adapter connectivity using the following command:

  5. In the same console used for the DISCOVER command start the server with the FPAs-setup.ini file and -b option (blocking calls).  This starts the server process that keeps track of up to 64 adapters. This process is persistent and should be kept running until everything is finished.

  6. The server process can be started with the following options:

  • No labels