Author Topic: 89C51RC2H checksum error  (Read 2779 times)

Chris Jordan

  • Guest
89C51RC2H checksum error
« on: February 25, 2004, 01:38:05 pm »
I'm having a bear of a time programming 89C51RC2H.  Think I've figured out most of my mistakes but now everything seems good except I get an error:

"Error programming checksum adjuster byte. Block 1 (address: 0x2000)"

The data at 0x2000 matches that of my hex file.

Can anyone shed some light on this for me?

Regards,

Chris


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: 89C51RC2H checksum error
« Reply #1 on: February 25, 2004, 01:41:29 pm »
If you have checked the option "Generate Checksums" then Flash Magic will program a single byte checksum into the last location in each Flash Block. Therefore those locations must not be used by your Hex file, otherwise you will get programming errors like this one.

Embedded Systems Academy, Inc.
support at esacademy dot com

Chris Jordan

  • Guest
Re: 89C51RC2H checksum error
« Reply #2 on: February 26, 2004, 08:01:46 am »
Andy,

Thanks for the quick, informative response.  After I got your response last night I read the manual and saw the error in my ways.

You get the 'save'.

Thanks,

Chris