From: Stephan Baerwolf Date: Fri, 31 Aug 2012 05:56:48 +0000 (+0200) Subject: smpinterface fix: missing rampZ-write for atmega1284p X-Git-Tag: v0.5~4 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/1b7dc6a065378c465ec8ddec57938a25e62b4d35?hp=1b7dc6a065378c465ec8ddec57938a25e62b4d35 smpinterface fix: missing rampZ-write for atmega1284p Since atmega1284p has 128kiB of flash and because SPM addresses bytes, the usual 16bit addresses are not sufficient enough. Althought "bootloader__do_spm" already supports 3byte adresses (r11-r13), the write of r11 into rampZ was missing in the device-depended maschine codepart. This patch exchanges the already designed placeholder "NOP" with an out-opcode writing r11 into rampZ. Signed-off-by: Stephan Baerwolf ---