I was wrong!
I'm trying to get SLEEP working on Atmega328-28 MCU (Arduino UNO) using the sleep_28.ld example from here:
https://github.com/LDmicro/LDmicro/wiki/SLEEP-example.
When I open the sleep_28.ld example and compile in 5.4.1.1 to .HEX then uploaded to Arduino (using xLoader) the ladder sort of works. I'm able to wake up MCU from sleep using INT0 and 1 but after a few seconds the onboard LED turns on static (pin 19 for LED) and freezes the Arduino.
But! That doesn’t happen with the provided sleep_28.hex from the SLEEP exampke ZIP-file.
So is there any changes that is causing this issue when I now compile the sleep_28.ld in v5.4.1.1?
Should I change something now to work with the latest build?