-
Notifications
You must be signed in to change notification settings - Fork 320
Description
Thanks for this great FPGA flasher. Could you add official support for a MAX10 (10M25S)?
I added
{0x031840dd, {"altera", "MAX 10", "10M25S", 10}}
to the part.hpp
and
{0x031840dd, { // 10M25SA
.check_addr0 = 0x80009, // check_addr0
.dsm_addr = 0x0000, .dsm_len = 1024, // DSM
.ufm_addr = 0x0400, .ufm_len = {4096, 4096}, // UFM
.cfm_addr = 0x2400, .cfm_len = {94208, 40960, 53248}, // CFM
.sectors_erase_addr = {0x17ffff, 0x27ffff, 0x37ffff, 0x47ffff, 0x57ffff}, // sectors erase address
.done_bit_addr = 0x0011, // done bit
.pgm_success_addr = 0x0015} // program success addr
},
to the memory:map in altera.cpp.
With that change I could successfully flash a svf and a pof to a 10M25SAE144. For the altera.cpp change I copied the 10M16 entry and changed the CFM_len entries. I'm not sure about the other entries.