Flash Magic Forum

In-System Programming Support => General => Topic started by: FMUser on July 09, 2010, 06:22:29 AM

Title: ISP Protocol Expected Operation During Data Frame Transfers
Post by: FMUser on July 09, 2010, 06:22:29 AM
Andy,

For ISP operation during a data frame send/echo sequence, if a valid data frame is sent from FM to the device and the device does NOT return the proper data frame back in its echo, what is the expected outcome?

I am seeing a bad data frame returned from the device, but the transfer operation continues until the checksum sequence fails. Is there any way to generate the failure on a bad data frame and have FM retry at that point. If you are transferring a large data frame its takes awhile until it fails.

I guess I dont understand the purpose of the data frame echo from the device to FM if it is not even checked for the expected number of bytes. What is the point of the device returning the echoed data then?

This application is custom and uses the FM .dll.

Thanks.
Title: Re: ISP Protocol Expected Operation During Data Frame Transfers
Post by: Andy Ayre on July 09, 2010, 08:46:23 AM
Flash Magic should retry another five times then give up. These retries can take a bit of time to complete. Please send us a debug file.

  http://www.flashmagictool.com/debugfile.html

Andy
Title: Re: ISP Protocol Expected Operation During Data Frame Transfers
Post by: FMUser on July 12, 2010, 05:35:56 AM
Andy,

Unfortunately, this is a custom app. Additionally, this problem takes alot of time to reproduce as failures of the download are intermittant.

I can tell you that the .dll being used is V 2.16.1837

I can provide a sniffer snapshot of the failure....
Title: Re: ISP Protocol Expected Operation During Data Frame Transfers
Post by: Andy Ayre on July 12, 2010, 08:44:44 AM
There is an API function that enables generation of debug files.

Andy