Hi all I have to add an In-Application Programming feature to my program. I'm using 89c51rc2 with no external memory and keil. I've read several threads about IAP but not found exactly the thing itself. At the moment, I - I have a 'boot' program, which looks if there is a new program on the high part of the flash (previously written there by the application or normal program), by means of an absolute addressable variable. If there is a new program, boot copies the program at the low part of the flash. - After that, it is supposed that boot must jump to the application program. But I guess I'm getting in trouble with interrupt vectors or some other conflict. I'd appreciate an example or a link. Thanks in advance
no access but the serial interface. Reread your post, NoTouch does just that Erik
First, thanks for your interest Erik. Well I think what I'm doing is not exactly notouch, since the micro that must be reprogrammed must be reprogrammed by another micro, not from a PC.
Well I think what I'm doing is not exactly notouch, since the micro that must be reprogrammed must be reprogrammed by another micro, not from a PC. evidently you did not read NoTouch at http://www.esacademy.com it is VERY CLEAR from the document that it will work beautifully when "the micro that must be reprogrammed must be reprogrammed by another micro, not from a PC" Ok, if you have trouble finding it, here it is: http://www.8052.com/users/erikm/notouch.doc Of course, you will need to emulate FlashMagic in your micro that is to program the micro, but that is still less work and you gain that the micro you program is "pure" Erik
quoting the NoTouch document: This method may, of course, be used even if the program is not updated through a PC running a program such as FlashMagic, the data stream may be issued by any means as long as it conforms to the record format specifications in the data sheet.
I'll take a deeper look at it. Thanks a lot.