From: Matthias T. <mt...@we...> - 2006-12-22 09:04:35
|
Frank, > In review, I think the flash (bootloader region) is not getting updated > and the link back to the forth words and dp are not being satisfied. And the HERE and DP variable were changed... I should add some code to verify the i! operation succeeded (maybe throw an error code?). > Are there fuses that need to be set to create the bootloader area so > that the spm instruction can work? I remember having such kind of trouble too. But I did not investigated it since it "somehow" went away while playing with the fuses. The only fuses I have set are the JTAGEN, SPIEN, BOOTSZ0 and BOOTSZ1 fuses. All others are cleared. You may check the lock fuses too, since they can stop spm and lpm from working (mine are all cleared == 1) Matthias |