Author Topic: ISP Protocol Expected Operation During Data Frame Transfers  (Read 5586 times)

FMUser

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2167
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP Protocol Expected Operation During Data Frame Transfers
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

FMUser

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: ISP Protocol Expected Operation During Data Frame Transfers
« Reply #2 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....

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2167
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ISP Protocol Expected Operation During Data Frame Transfers
« Reply #3 on: July 12, 2010, 08:44:44 am »
There is an API function that enables generation of debug files.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com