MicroNet Technology SP5001/S Manual De Usuario

Descargar
Página de 86
 
 
 
 
  84 
19.7.18  [rom] 
ROM file information and firmware upgrade function. 
usr/config$ rom 
 
ROM files updating commands 
Usage: 
rom [-print] [-app] [-boot] [-dsptest] [-dspcore] [-dspapp] 
    -s TFTP/FTP server ip -f filename 
rom -print 
    -print     show versions of rom files. (optional) 
    -app       update main application code(optional) 
    -boot      update main boot code(optional) 
    -boot2m    update 2M code(optional) 
    -dsptest   update DSP testing code(optional) 
    -dspcore   update DSP kernel code(optional) 
    -dspapp    update DSP application code(optional) 
    -s         IP address of TFTP/FTP server (mandatory) 
    -f         file name(mandatory) 
    -method    download via TFTP/FTP (TFTP: mode=0, FTP: mode=1) 
    -ftp       specify username and password for FTP 
Note: 
    This command can run select one option in 'app', 'boot', 
     'dsptest', 'dspcore', and 'dspapp'. 
Example: 
    rom -method 1 
    rom -ftp vwusr vwusr 
    rom -app -s 192.168.4.101 -f app.bin 
 
usr/config$ 
Figure 66. rom command list 
 
Parameter Usages: 
-print 
show versions of all rom files 
-app, boot, boot2m, dsptest, dspcore, dspapp  
to update main Application 
program code, Boot code, DSP testing code, DSP kernel code, or DSP 
application code. 
Most of all, the Rom file needed to get upgrade is App or Boot2m. Please 
check the exactly Rom file before doing download procedure. 
-s 
to specify TFTP server’s IP address when upgrading ROM files. 
-f 
to specify the target file name, which will replace the old one. 
-method  to decide using TFTP or FTP as file transfer server. “0” stands for 
TFTP, while “1” stands for FTP. 
-ftp  if users choose FTP in above item, it is necessary to specify pre-defined 
username and password when upgrading files.