Altera_Forum
Honored Contributor
15 years agoalt_write_flash ERROR CODES
Trying to use alt_flash_open_dev() and alt_write_flash() and alt_read_flash().
alt_flash_open_dev() is successful but alt_write_flash returns an ERROR CODE = ffffff8c. Anyone knows what this refers to? Is there a list of error codes for these functions - I don't see in any documentation. Or alternatively, what could be going wrong. alt_read_flash() returns without error - have not analyzed the data thoroughly but looks like some CFI table data like the NIOS programmer spat out. I have used the NIOS flash programmer and it successfully programs and checks an arbitrary binary file I have - no warnings or errors in the console(all looks good). Call looks like this... alt_write_flash(fd_ptr, 0, ptr_to_src_data, 4); Vista, Quartus 9.1, Arria II GX. Thoughts? Thanks, Cos