Results 7 comments of lujji

Hi Georg, glad you found it useful. Usually, when executing from RAM the biggest problem with function calls is _relative_ addressing. For example: you have functions f_ram() and f_flash(), where...

What makes you think the output binary is invalid? As far as I can tell encryption and key are the same and decrypted f3_x binaries look ok in disassembly. Anyway,...

Yeah, you're right, I looked at f2_3 instead of f3_2 :) Perhaps they're doing decryption on the MCU side (like they should have in the first place). edit: it does...

@martonmiklos stlinkupgrade.core.c.class: search for the decryption key - you can see that it's used only when some parameter is less than 3, otherwise the array is used as is.

Yes, but you need to flash bootloader with an st-link first

The interrupts are not working in bootloader because the interrupt table points to application IVT (see [init.s](https://github.com/lujji/stm8-bootloader/blob/master/init.s)). You could implement the ISR you're interested in and check if bootloader is...

@gullradriel the solution would be to poll for transfer complete signal from DMA peripheral before disabling transmitter. Unfortunately, I didn't have enough time to get familiar with the LPC part...