Desription:
Postbuild tools are executed after compilation to set the BIST CRC in PrgArea, update API and App version in configuration area.
Options:
-fprg and -fcfg option is required
-fmap Specifies PrgFile.m51 map file.
Remarks:
Scripting commands:
setbist Calculate and set PrgSize in CfgArea and BIST CRC in PrgArea
setversion Get version info from PrgArea.hex and update CfgArea
writecfg Write data to CfgArea
fillcfg Fill CfgArea with specified value
hextotxt Convert HEX program file to TXT
Remarks:
Command options:
setbist [first_data_obj] if [first_data_obj] is specified, then -fmap must be set.
fillcfg addr count value
writecfg addr value [,value]
Sample postbuild.txt:
#This is sample postbuilt.txt
setBist
setVersion
fillCfg 0x70, 3, 0xFF
writeCfg 0x80,'A','B',0x12,12