mclProgram
| UINT mclProgram(); |
Parameters
None
Return Value
A call to mclProgram will return ERR_OK if the loader write buffer is not empty. If the write buffer is empty, the function returns ERR_NO_HEXFILE.
Remarks
A call to mclProgram will upload the contents of the loader write buffer to the target MCU. The write buffer is initialised with a call to either mclLoadHexFile or mclRead. The write buffer may also be initialised with a call to mclAddHexLine and cleared with a call to mclClear. A call to mclVerify can be used to verify the contents of the write buffer against the contents of the target MCU.
See Also
mclLoadHexFile
mclRead
mclVerify
mclErase
mclRun
mclGetProgramLine
mclGetProgramLineCount
mclGetDataLine
mclGetDataLineCount
mclGetConfigLine
mclGetConfigLineCount
mclAddHexLine
mclClear