I am having some issue writing to flash memory on Arduino Uno.
I burned the optiboot bootloader that ships with the IDE 1.8.3 to the chip, then uploaded the test_dospm sketch to write content to flash memory but appears to reset the device instead.
Any idea why this might be happening?