Bios

所属分类:嵌入式/单片机/硬件编程
开发工具:Others
文件大小:612KB
下载次数:31
上传日期:2004-10-09 09:39:09
上 传 者fujei
说明:  S3C44BOX的BIOS。可使用的命令:help --- show help ? --- = help date --- show or set current date time --- show or set current time setweek --- set weekday clock --- show system running clock setmclk --- set system running clock setbaud ------ set baud rate ipcfg ------ show or set IP address load ------ load file to ram comload ------ load file from serial port run ------ run from sdram prog ------ program flash copy ------ copy flash from src to dst address boot ------ boot from flash backup ------ move bios to the top of flash md ------ show memory data move ------ move program from flash to sdram
(S3C44BOX BIOS. Use the command : help show help------------------ = help show date set current date or time or set------ show current time setweek------ set weekday show------ clock system running clock setmclk------ set system running clock setbaud set baud rate------------ ipcfg show or set IP address load------ load file to ram comload------ load file from serial port run------ run from SDRAM prog------------ program flash copy copy from flash src dst address boot to boot from flash------------ backup bios move to the top of flash memory md show------------ move data move from program to flash SDRAM)

文件列表:
Bios (0, 2004-03-03)
Bios\Debug (0, 2004-03-03)
Bios\Debug\44BINIT.O (4956, 2004-04-10)
Bios\Debug\44BLIB.O (29040, 2004-04-10)
Bios\Debug\ALLOWIO.EXE (38037, 2004-03-26)
Bios\Debug\Arp.o (17128, 2004-04-10)
Bios\Debug\BOOT.BIN (32208, 2004-03-26)
Bios\Debug\BSDL1.TMP (26051, 2004-03-26)
Bios\Debug\BSDL2.TMP (15123, 2004-03-26)
Bios\Debug\DEFAULT.FCD (666, 2004-03-26)
Bios\Debug\F.BAT (43, 2004-03-26)
Bios\Debug\Flash.o (7876, 2004-04-10)
Bios\Debug\FLUTED.EXE (114688, 2004-03-26)
Bios\Debug\Icmp.o (14656, 2004-04-10)
Bios\Debug\Iic.o (17100, 2004-04-10)
Bios\Debug\Ip.o (15728, 2004-04-10)
Bios\Debug\Main.o (33588, 2004-04-10)
Bios\Debug\MODEL.AXF (149408, 2004-04-10)
Bios\Debug\MODEL.BIN (50656, 2004-04-10)
Bios\Debug\Model.o (38596, 2004-03-26)
Bios\Debug\NE2000.O (27972, 2004-04-10)
Bios\Debug\Netutil.o (8468, 2004-03-26)
Bios\Debug\Rtc.o (16004, 2004-04-10)
Bios\Debug\S3C44B0X.BSD (22738, 2004-03-26)
Bios\Debug\Shell.o (52924, 2004-04-10)
Bios\Debug\Tftp.o (16848, 2004-04-10)
Bios\Debug\Udp.o (16468, 2004-04-10)
Bios\Debug\Util.o (3524, 2004-04-10)
Bios\Inc (0, 2004-03-03)
Bios\Inc\44B.H (15464, 2004-03-26)
Bios\Inc\44BLIB.H (1720, 2004-03-26)
Bios\Inc\Def.h (431, 2004-03-26)
Bios\Inc\Flash.h (689, 2004-03-26)
Bios\Inc\iic.h (179, 2004-03-26)
Bios\Inc\Memcfg.s (2569, 2004-03-26)
Bios\Inc\Option.h (1815, 2004-03-26)
Bios\Inc\OPTION.S (610, 2004-03-26)
Bios\Inc\Rtc.h (497, 2004-03-26)
Bios\Inc\shell.h (1294, 2004-03-26)
Bios\Mybios.apj (10126, 2004-04-09)
... ...

************************************************* BIOS程序说明 By hugang, hgx2000@mail.china.com 本程序改编自antiscle公布的代码,在此首先 对antiscle表示感谢,我替换的原代码的网络 部分,对shell和flash也进行了一定的修改, 使其可以在51eda的开发板上可以正常运行。 ************************************************* 1.文件说明 Net : Rtl8019驱动代码 Src : 主程序代码 Inc : 主程序的头文件 Debug : SDT目标代码 Myusb.apj : SDT2.51工程文件 Myusb.PR : SourceInsight3.5工程文件 2.烧写步骤 1> 开发板上电 2> 执行Debug目录下的F.bat文件将bios程序烧写到flash中 3> 将PC配置为192.168.111网段 4> 用交叉网线连接开发板和PC 5> 运行串口监视软件,波特率115200 6> 开发板复位 7> 可以看到如下提示信息 Bios for S3C44B0x Flash ID is : 278200bf IP address : 192.168.111.8 Build date:Dec 15 2003-21:21:31 8> 敲入help,回车看到可执行的命令的列表 help ------ show help ? ------ = help date ------ show or set current date time ------ show or set current time setweek ------ set weekday clock ------ show system running clock setmclk ------ set system running clock setbaud ------ set baud rate ipcfg ------ show or set IP address load ------ load file to ram comload ------ load file from serial port run ------ run from sdram prog ------ program flash copy ------ copy flash from src to dst address boot ------ boot from flash backup ------ move bios to the top of flash md ------ show memory data move ------ move program from flash to sdram 9> 若是第一次运行bios,敲入backup,将bios备份到flash高端 即:1f0000处 3.几个重要命令 1> load 格式:load RAM地址 用途:通过网络将主机上的文件加载到开发板的RAM中的指定地址处 若缺省地址,则地址取默认值0c008000。 2> run 格式:run RAM地址 用途:从开发板的RAM总的指定地址运行程序,若地址缺省,则取默 值0c008000。 3> prog 格式:prog Flash地址 RAM地址 代码长度 选项(-no0) 用途:将指定RAM地址开始处的指定长度代码烧写到指定的Flash地址 中。当指定的Flash地址为0时,若再指定选项-no0,则不会修改0地 址处的代码,直接烧入。否则先修改后在烧入。修改后的代码为指向 flash高端处备份的bios的一个跳转。具体原来参考shell.c中的原码。 4> move 格式:move Flash地址 RAM地址 代码长度 用途:将指定Flash地址处开始的指定长度代码复制到指定的RAM地址 中。 5> boot 格式:boot 用途:运行Flash中的代码,不是bios。 6> md 格式:md 地址 用途:显示指定地址开始处的22*4*4字节的内容,缺省地址为0。 4.主要事项 1> Src目录中的44binit.s文件于原开发板所带的其它原码中的44binit.s 文件不同,不可被替换。 2> 工程中指定的ro-base为0x0c7c000,不要改为0,具体原来参考44binit.s 中的注释。 3> 执行load命令后网络才会工作,平时是ping不通的。 4> 编译环境选择SDT2.51

近期下载者

相关文件


收藏者