Author Topic: again iap trouble  (Read 5039 times)

markus_13

  • Guest
again iap trouble
« on: September 12, 2006, 03:30:01 am »
Hello,

sorry, if this is not the right place to ask,
but i read a thread about boot vector corruption because of an Flashmagic <3.03 bug.

I use a 89C51RD2 and was happy to get iap functionality working some month ago. Lately i get trouble with corrupted boot vectors, it looks like.

My question is: does the bug fixed in flashmagic after version 3.03 require to change my iap routines, based of rx2iaplib.a51 esp. the block erase command?

Regards Markus

erikm

  • Full Member
  • ***
  • Posts: 113
    • View Profile
Re: again iap trouble
« Reply #1 on: September 12, 2006, 05:19:17 am »
vector corruption is not FM but the UTTERLY STUPID read of the datasheet showing a RC reset.  a RC reset with a frash based chip WILL fail.

Erik

erik

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2178
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: again iap trouble
« Reply #2 on: September 12, 2006, 07:56:30 am »
FM has no effect on IAP, only ISP, and any changes are to make FM work better with what the device provides via ISP.

Embedded Systems Academy, Inc.
support at esacademy dot com

markus_13

  • Guest
Re: again iap trouble
« Reply #3 on: September 12, 2006, 07:58:40 am »

thanks for your answer erik,
while interpreting your answer, i found a note in the datasheet that it is necessary to reprogram the boot vector after programming the status byte...
If i dont comeback to this topic it was the solution.

by the way hardware activation of the boot loader through a pld, which has been tested on another board, looks like a very stable solution.

markus