
Flash Loader Quick Reference                              1996.12.02
----------------------------
                            
The following is a reference of the Flash Loader commands, options,
and debug commands.  It is taken from:

          *****  CQi Flash Loader - V2.5c, 06 OCT 96  *****
             Copyright (c) 1994,95,96 Cyber Quest, Inc.


                             Flash Loader Commands
                             ---------------------

Command     Abbrev/Options                 Description
__________  _____________________________  ___________________________________
abort       a                              Abort program (tables not updated!)
boot        b   [name]                     Boot program (now!)
checkhex    chk <file> [format=x] [addr=x] Display hex file addresses
debug       -                              Enable debug commands
delete      del <name>                     Delete program
dir         d                              Display flash directory
dos         [cmd]                          Execute DOS command or shell
echo        [text]                         Echo text
eraseall    -                              Erase all flash blocks (except boot)
exit        e,x,quit,q                     Update tables & exit program
help        h,?                            Display commmand/option help
init        i   <port> [baud=x]            Init link to target & read tables
ica         <cmd>                          Execute ICA command
map         m                              Display flash device map
noboot      nb                             Set no boot program
options     opt                            Display current options
program     pr  <file> [format=x] [addr=x] Program flash memory
                [name=x] [gr=x] [ver=x]    
reinittbls  rt  <board> [system=x]         Re-initialize flash tables
reset       -                              Reset target
setboot     sb  <name> [bootflag=x]        Set boot program
shutdown    sh                             Update tables & shutdown link
term        vt  <vtport> [vtbaud=x]        Emulate terminal (VT)
update      up                             Update tables
upload      ul <addr> <size> <file>        Upload flash and store in file
wait        w [secs]                       Delay for x seconds
<file>      -                              Execute commands in <file>.FLC
//          -                              Comment (rest of line ignored)
xxx!                                       Ignore confirmations and errors
                                              for command xxx
;                                          Command separator on single line
flashopt                                   Environment set for options
                                              (use '+' for '=')
flashini                                   Environment set for ini path



                             Flash Loader Options
                             --------------------

Options   Possible Values  Default        Description
________  _______________  ___________    _________________________________
addr=     <hex>            0              Set binary file addr
baud=     <number>         9600           Set target comms baud rate
board=    {type board=?}   NS486SXF-A200- Set target system board
                           EVAL
bootflag= jumper | checkcd JUMPER         Set boot flag
          checkri | dialout               
          answer                          
cmdpath=  <dir>[,<dir>,..] -              Set command file search path
file=     <path>           -              Set program file
format=   hex|bin|abs      hex            Set file format
group=    <str>            -              Set group name
log=      terse|normal|    NORMAL         Set logging level
          verbose                         
memory=   none  | ram      flash          Set valid memory types
          flash | boot                    
          default                         
name=     <str>            <file>         Set program name
port=     com1|2|3|4       -              Set target comms port
progpath= <dir>[,<dir>,..] -              Set program file search path
prompt=   <str>            FLASH CMD:     Set prompt
system=   <str>            TARGET         Set target system name
vector=   <b:o>|<phys>     -              Set real-mode start vector
          <hex>p           -              Set protected-mode start vector
version=  <str>            -              Set program version
vtbaud=   <number>         9600           Set terminal emulator baud rate
vtport=   com1|2|3|4       -              Set terminal emulator comms port
                             

                             
                             Debug Commands
                             --------------
                        
                        (Enable by typing "debug")

Command/Opt Abbrev/Options                 Description
__________  _____________________________  ___________________________________
??          -                              Display debug commmand/option help
chgbaud     cb     <baud>                  Change baud
clrstatus   cs                             Clear comms status
compram     cmpram <dest> <src>  <size>    Compare RAM
copyram     cpram  <dest> <src>  <size>    Copy RAM
createbuff  crb    <addr> <size> <fill>    Create buffer
debug       -                              Enable debug commmands
echomsg     -      [count] [size]          Echo msg data
echomode=   msg|write|readwrite|check      Set echo mode
eflash      efl    <type> <base> <blk>     Erase flash block
                   <size>                  
getid       gid    <base>                  Get flash id
loadbuff    ldb <file> [format=x] [addr=x] Load buffer from file
log=        arg|ohrec|ohseg|ohsort|        Set debug logging level
            download|frames                
readio      rio    <port> <size>           Read I/O
readram     rram   <addr> [size]           Read RAM
savebuff    svb <file> [format=x]          Save buffer to file
setram      sram   <addr> <size> <value>   Set RAM
status      s                              Display comms status
systbl      st                             Display system tables
wflash      wfl    <type> <base> <blk>     Program flash block
                   <dest> <src>  <size>    
writeio     wio    <port> <size> <value>   Write I/O
writeram    wram   <addr> <size> <value>   Write RAM
xlatebuff   xlb <from> <to> <size>         Translate file addresses

