Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: markus_13 on September 12, 2006, 03:30:01 AM

Title: again iap trouble
Post by: markus_13 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
Title: Re: again iap trouble
Post by: erikm 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

Title: Re: again iap trouble
Post by: Andy Ayre 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.

Title: Re: again iap trouble
Post by: markus_13 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