From: Erik M. <J.A...@it...> - 2002-04-18 22:37:22
|
On Wed, Apr 17, 2002 at 12:39:53PM -0700, Stefan Eletzhofer wrote: > Update of /cvsroot/blob/blob/src/commands > In directory usw-pr-cvs1:/tmp/cvs-serv6904 > > Modified Files: > Makefile.am md5chk.c > Added Files: > dlfile.c ferase.c fwrite.c > Log Message: > - commands for: > * flashing arbitary flash regions > * erasing arbitary flash regions > * downloading files to arbitary memory Erasing arbitrary flash regions is dangerous. I think you'd rather want to erase a flash partition instead of a region. Flash commands belong in src/blob, not in src/commands. Diag can't write to flash anyway, so there is no point in sharing the commands. > /********************************************************************* > * dlfile > * > * AUTOR: Stefan Eletzhofer > * REVISED: > * > * download a file to a memory location. Does also print a md5 > * checksum of the downloaded data. Don't do wild MD5 checks, only do it if the user explicitly asked for MD5 support with --enable-md5. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A...@it... WWW: http://www-ict.its.tudelft.nl/~erik/ |