Property | Type | Description | |
---|---|---|---|
MySP | |||
cmdParams | |||
cmdString | String | ||
workerThread | Thread | ||
workerThreadSucceeded | System.Boolean |
Method | Description | |
---|---|---|
ParseCmdLine ( String args ) : |
Parse the command line into the appropriate internal command structure
|
|
WorkerThreadStart ( ) : void |
The main fucntion of the thread where all the cool stuff happens to interface with the DVEVM
|
|
bin2srec ( Stream inputStream, |
Function to convert the input filestream into an byte array in S-record format, so that it can be downloaded to the EVM board.
|
|
isFileSrec ( |
Check to see if filestream is an S-record by reading the first character of each line and seeing if it is 'S'
|
|
readSrec ( |
Get the byte array if the file is already an S-record
|
Method | Description | |
---|---|---|
DispHelp ( ) : void |
Help Display Function
|
|
GetEmbeddedUBLStream ( ) : Stream |
Read the appropriate embedded UBL data (NAND or NOR) that will be transmitted to the DM644x.
|
|
GetFileData ( String filename, |
Function to find, read, and convert to S-record (if needed) a data file
|
|
Main ( String args ) : |
Main entry point of application
|
|
TransmitAPP ( ) : void |
Function to transmit the application code via the UBL, which is now running on the DM644x. This code is specific to the TI supplied UBL. If the the TI supplied UBL is modified or a different boot loader is used, this code will need to be modified.
|
|
TransmitCMDSuccessful ( ) : System.Boolean |
Function to transmit the CMD and command over the UART (following BOOTPSP)
|
|
TransmitErase ( ) : void |
Send command and wait for erase response. (NOR and NAND global erase)
|
|
TransmitFLASHUBLandAPP ( ) : void |
Function to transmit the second UBL if it is needed
|
|
TransmitUARTUBL ( ) : void |
Function to Transmit the UBL via the DM644x ROM Serial boot
|
|
waitForSequence ( String str, String altStr, |
Wait for null-terminated sequences from supplied serial port
|
|
waitForSequence ( String str, String altStr, |
Waitforsequence with option for verbosity
|
public static ParseCmdLine ( String args ) : |
||
args | String | The array of strings passed to the command line. |
return |
public static bin2srec ( Stream inputStream, |
||
inputStream | Stream | |
startAddr | The starting address of the RAM location where the binary data /// encapsulated by the S-record will be stored. | |
return | Byte[] |
public static isFileSrec ( |
||
inputFileStream | The input filestream that encapsulates the /// input application file. | |
return | System.Boolean |
public static readSrec ( |
||
inputFileStream | The input filestream that encapsulates the /// input application file. | |
return | Byte[] |
public static SerialPort,System.IO.Ports MySP | ||
return |
public static ProgramCmdParams,DVFlasher cmdParams | ||
return |