Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Frustration abounds..

2007-07-19 by David VanHorn

Problem found..

The page erase MUST come before the write to the SPM buffer.

Interestingly, the approach I was using, would seem to at worst, give
me half a page of data written, but in fact it gives all FFs.

Get a packet
Write half a buffer
Get another packet
Erase Page
Write half a buffer
Write page


I changed the sequence to:

Get a packet
Erase Page
Write half a buffer
Get another packet
Write half a buffer
Write page

This works.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.