naftpapp
所属分类:处理器开发
开发工具:C/C++
文件大小:1185KB
下载次数:3
上传日期:2009-04-28 16:30:04
上 传 者:
ilove135798
说明: 本程序是基于NETOS操作系统的,嵌入式ARM7,完成ftp 上载和下载
(ftp download and upload)
文件列表:
naftpapp\32b\depend.mk (1355, 2008-06-21)
naftpapp\32b\g.ini (1538, 2002-11-06)
naftpapp\32b\image.bin (312397, 2008-06-21)
naftpapp\32b\image.elf (16497790, 2008-06-21)
naftpapp\32b\image.map (462028, 2008-06-21)
naftpapp\32b\image.sym (95118, 2008-06-21)
naftpapp\32b\image.uncompressed (630628, 2008-06-21)
naftpapp\32b\makefile (3046, 2004-04-23)
naftpapp\32b\objs\appconf_api.o (39196, 2008-06-21)
naftpapp\32b\objs\naftpapp.o (30240, 2008-06-21)
naftpapp\32b\objs\reset.o (1368, 2008-06-21)
naftpapp\32b\objs\root.o (15064, 2008-06-21)
naftpapp\32b\objs (0, 2009-03-31)
naftpapp\32b (0, 2009-03-31)
naftpapp\appconf.h (9928, 2008-04-03)
naftpapp\naftpapp.c (12030, 2003-08-04)
naftpapp\root.c (2610, 2001-10-18)
naftpapp (0, 2009-03-31)
Flash ROM Write Application
This application is used to write to Flash ROM on
the NET+Works development board. This version is designed to
be used from within the debugger, or loaded to RAM and executed
by the bootloader. It cannot execute from flash ROM.
This example should work on all development boards.
To update the contents of Flash ROM, do the following:
1. Build this application (naftpapp).
2. Power up the development board and the ICE.
3. Start the debugger and download the application to the
board.
4. Run the application.
5. Use the Windows FTP client to transfer the new image to
flash. When asked for a username and password, use 'root'
for the username, and then specify the root password (the
default is 'Netsilicon'). Use the bin command to set
binary mode. Use the put command the transfer the new
image. Then end the session with the quit command.
This application uses the new Flash API from NET+OS 5 and requires
certain buffer sizes for optimal flash writing performance. The
BUFFERSIZE constant should be a multiple of the largest flash sector
size to to avoid erasing a sector more than once.
For example, the standard NET+50 development board uses AM29LV800BB
Flash chips, where the largest flash sector size is ***K and the size
of the smaller sectors add up to ***K.
If the NET+50 board is configured in 16 bit mode, the recommended
values for BUFFERSIZE are ***K, 128K and so on. If the NET+50 board
is configured in 32 bit mode, the flash sector sizes are doubled and
the recommended values for BUFFERSIZE are 128K, 256K and so on.
The value of BUFFERSIZE is set to 128K to provide optimal flash
writing performance in both 16 and 32 bit modes.
The following files are provided with this application:
appconf.h sets application configuration settings
.\32b\image.bld used to build the big endian Green Hills version of the
application. The build script creates a version that
can be debugged with Multi, and the file image.bin
which can be written into a ROM that uses the bootloader.
makefile Make file for the GNU toolset.
project.bld
readme this file
root.c contains the applicationStart() function, that
creates an application thread
naftpapp.c contains the RAM based FTP application code
naftpapp_connect.c contains the DigiConnect version of the RAM based FTP
application code
project.bld contains the generic project build script
In addition, the following files in the BSP directory are built
as part of this application:
reset.s contains the reset code
appconf_api.c contains run time access to the application configuration
近期下载者:
相关文件:
收藏者: