X hits on this document

95 views

0 shares

0 downloads

0 comments

16 / 29

GANG430.DLL

  • Possible to send raw commands out the PC serial port: described in Gang Programmer User’s Guide

  • Using the TI-provided GANG430.DLL is easier and more reliable than a custom solution

  • Example programs provided: C, C++, LabView, VB

    • <Install Dir>\GANG\DLL_usage_examples\

  • Custom uses:

    • Target serialization

    • Random number seeding

    • Temporary test program loading

31

GANG430.DLL Usage Flow Example

InitCom() (Open Communication Port)

InitCom() (Open Communication Port)

GangEraseImage() (Erase Image Flash Memory)

GangSelectBaudrate() (Opt.: Change comm. speed)

GangLoadImage() (Write target code into image Flash)

GangMainProcess() (Execute programming process)

GangLoadParameters() (Determine process flow)

GangGetResult() (Receive result for diagnostic)

ReleaseCom() (Close communication port)

GangAccessTargetSFR() (Opt.: Access device peripherals)

GangProgramTarget() (Opt.: Program serial numbers etc.)

ReleaseCom() (Close communication port)

32

16

Document info
Document views95
Page views96
Page last viewedSat Dec 10 23:17:14 UTC 2016
Pages29
Paragraphs1110
Words4309

Comments