#avr Logs

Mar 17 2021

#avr Calendar

05:26 AM Miyu is now known as hackkitten
11:30 AM exp: Hopefully I can chat this time. I'm trying to flash an AT90USB646 using the LUFA project's BootloaderCDC example and I am having issues in that after 32k bytes, writes silently fail and when read back, output only 0xff
11:30 AM exp: bootsz both 0, lock bits set via .lock section and manually to 0xff
11:31 AM exp: usb dump shows no abnormalities, addresses passed as expected
11:31 AM exp: nothing I can find in the processor's manual about this, NRWW section should just be the last 8k I think, but still
11:31 AM exp: anyone with more experience than I have an obvious thing I should be doing?
11:33 AM exp: oh I should add this works fine with a usbasp, it's only the embedded bootloader RWW / SPM that's failing
11:45 AM LeoNerd: Is there a FLASHMAP register that needs changing to access the upper bank?
11:46 AM exp: LeoNerd: I don't believe so, there's no mention of one in the datasheet I can find and it shows the flash as one contiguous segment