Hello everyone,
up to now i used the ATTiny85 with the AVRootLoader for my small projects.
Now I test the ATTiny1614 on a breadboard and do my first tests with the optiboot_x as bootloader.
I'm working with Atmeld Studio 7 and I want to adapt the optiboot_x for my needs, my first tests are already successful.
The bootend fuse is set to 8 (x 256 Byte) so I still have space for adjustments.
Now I try to call the bootloader from my application, which unfortunately does not work.
In the Project Properties of my application the Linker / Memory Settings / FLASH segmaent is set to .text=0x0400
In the application i defined:
typedef void (*call_optiboot_t)(void);
const call_optiboot_t call_optiboot = (call_optiboot_t)(0x0000);
and want to call optiboot_x after som LED flashes
....
call_optiboot();
....
Disassembly
call_optiboot();
00000471 LDI R30,0x00 Load immediate
00000472 LDI R31,0x00 Load immediate
00000473 ICALL Indirect call to (Z)
But the bootlaoder isn't called, my Application stil runs and flashes the LED. Any idea what i'm doing wrong?
Best regards
Juergen