Forum Discussion
Altera_Forum
Honored Contributor
10 years agoReading EPCS
Hello, I am trying to read data in EPCS by the following: == char buf[65535]; alt_flash_fd* epcs = alt_flash_open_dev(EPCS_FLASH_NAME); alt_epcs_flash_read(epcs, offset, buf, length); == ...
Altera_Forum
Honored Contributor
10 years agoDid you check whether alt_flash_open_dev() returns a valid handle and if alt_epcs_flash_get_info() returns no error?
Your posted code misses these points