looks like problem solved, bootloader is stettng valuses in some registers, if i set them back to 0 erasing works fine, those registers are:
*(unsigned int*)0xC3F91684 = 0x0;
*(unsigned int*)0xFFF48008 = 0x0;
*(unsigned int*)0xFFF4816D = 0;
*(unsigned int*)0xC3FF0000 = 0;
*(unsigned int*)0xC3FF0100 = 0;
*(unsigned int*)0xC3FF0108 = 0;
*(unsigned int*)0xC3FF010C = 0;
looks like problem solved, bootloader is stettng valuses in some registers, if i set them back to 0 erasing works fine, those registers are:
*(unsigned int*)0xC3F91684 = 0x0;
*(unsigned int*)0xFFF48008 = 0x0;
*(unsigned int*)0xFFF4816D = 0;
*(unsigned int*)0xC3FF0000 = 0;
*(unsigned int*)0xC3FF0100 = 0;
*(unsigned int*)0xC3FF0108 = 0;
*(unsigned int*)0xC3FF010C = 0;