I erased the flash but i cant write the new image to flash

Hello and welcome to our little Community!

When using Balena, please make sure you’re using a known good version,
read more here: balenaEtcher: known good versions - FAQ - BeagleBoard

Oh, and try to enclose log output like that in tripple backticks;
makes it a lot more readable.

Does it not?