Hello,
I don't see why burst programming cannot be used for each S19 record (up to 16 or 32 bytes) since a RAM buffer would be used to hold the data. Also I cannot see why it would be desireable to always burst program 64 bytes. I would expect that the overall timing differences will be quite minimal for differing record sizes.
Presumably the boot loader will have primary control of the reset vector, and at least the SCI receive vector. I would presume that any user code would need to at least take into direct account the method that the boot loader uses to redirect control to user program entry and user ISRs. I can't see how this would be affected "raw output files" (S19) being downloaded. Obviously, the user code will be specifically designed for resident boot loader compatibility.
For boot loader operation, I would imagine that two buffers would be necessary. The first would be a circular buffer or a line buffer for SCI receive operation, of sufficient size for an unprocessed, maximum length S19 record. The second buffer would contain the processed record, ready for the burst flash programming operation.
But perhaps I am being too simplistic!
Regards,
Mac
Message Edited by bigmac on
2009-02-12 05:08 PM