DM&P Update Utility for DSock

2002/04/03

What's Update Utility

Update utility is a Windows program to upload files by FTP protocol. Use DSock to develop your application and support FTP service. You can use this utility to auto-upload files to update your firmware. Our auto-update program for WebCamera and RSIP use Update utility to do firmware updating. If you use DSock to build your application with FTP service, package your new firmware with Update utility will be very useful for programmer to update firmware of his products.

For example, user can download RSIP auto-update form our web site to update firmware. RSIP uses a 512KB flash disk contains BIOS, X-DOS and RSIP main program like Mity-Mite Module.

UPDATE.DAT

When Update utility is started, it will read UPDATE.DAT to upload files specified. The commands are:

Command Description
title It must be the first line. The title will be displayed on Update window title.
; Remark, this line will be displayed on message box.
cd Change directory.
md Make directory.
rd Remove directory.
put Upload a file.
del Delete a file.

See the example UPDATE.DAT:


title MyApp Version 1.23
;MyApp Auto-Update Program Version 1.23.
;This program will upload new firmware to your device.
cd kernel
put myapp.exe
cd ..
cd home
del user.tmp
put user.dat

First of all, user should have a account of your device to upload file. For this UPDATE.DAT, you need those files in the same directory: update.exe, update.dat, kernel.exe and user.dat. It's the screen when update.exe is ran:

Distribution

When you test your new firmware okay and package them with Update utility, the easiest way is compressing those files into one ZIP file. Put ZIP file on your web site for user to download or mail it to user. Or, you can use auto-decompress program to make a auto-decompress file to automatically update firmware. We recommend you to use "WinZip Self-Extractor" to make a auto-decompress file and run update.exe when finish decompressing.

WinZip Self-Extractor web page: http://www.winzip.com/winzipse.htm

Technical Support

If you have any problem, feel free to mail to soc@dmp.com.tw please.


DMP Electronics Inc. All rights reserved. Email us: info@dmp.com.tw