Author Topic: Blank Check P89C664  (Read 4368 times)

KS Tan

  • Guest
Blank Check P89C664
« on: August 15, 2005, 06:32:08 pm »
Hi,
I am trying to do a balnk check first before I program P89C664, anyone know what is the return variable from FM command to indicate whether the device is blank or not?

rdgs,

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Blank Check P89C664
« Reply #1 on: August 16, 2005, 08:41:43 am »
In Windows the blank blocks are indicated by being highlighted or not. On the command line it will say "Memory Blank" after execution.

Embedded Systems Academy, Inc.
support at esacademy dot com

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: Blank Check P89C664
« Reply #2 on: August 16, 2005, 10:02:43 am »
I think the OP wanted to get a DOS ERRORLEVEL value, which he could check in a bat file.

Jan Waclawek

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2176
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Blank Check P89C664
« Reply #3 on: August 16, 2005, 10:07:12 am »
FM.exe should return 1 for error and 0 for success, which I believe is used to set ERRORLEVEL.

Embedded Systems Academy, Inc.
support at esacademy dot com