How to use iceprog to flash cu v2

im stuck on flashing the cu v2

when i got my board the preloaded test pattern for the leds worked

it allways says “init..
cdone: high
reset..
cdone: low
flash ID: 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26
0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x4
2 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0x
BF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0
x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26
0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42 0xBF 0x26 0x42
file size: 135100
erase 64kB sector at 0x000000..
erase 64kB sector at 0x010000..
erase 64kB sector at 0x020000..
programming..
done.
reading..
Found difference between flash and file!
ABORT.

this happens with the -s (slow right option) too

i noticed that while the flashing is ongoing the led next to the usb port is red but goes back to normal after the flashing’s done and goes back to the preloaded test pattern for the leds

im using the oss-cad-suite form yosys

can someone please help me?

ive found Cu V2 and iceprog - #7 by gc74 that that has a openFPGALoader command that worked

i can use this if iceprog is borken but if anyone knows how to fix iceprog i wolud greatly appreciate it thanks.