Now it seems to kind of work. The routine starts (first printf for erasing sector 16 get's printed) but after that nothing happens. It goes into the wdt. But after that it can't boot anymore. So it seems to cleared some parts of sector 16. Any ideas why it can't complete the erase of sector 16? (Programm like on screenshot above). Don't know how the ld linker thing exactly works. I attached mine of NONOS 2.
Now it seems to kind of work. The routine starts (first printf for erasing sector 16 get's printed) but after that nothing happens. It goes into the wdt. But after that it can't boot anymore. So it seems to cleared some parts of sector 16. Any ideas why it can't complete the erase of sector 16? (Programm like on screenshot above). Don't know how the ld linker thing exactly works. I attached mine of NONOS 2.