Forum Discussion
Altera_Forum
Honored Contributor
15 years agoalt_read_flash()
Hello, What is the meaning of 5000 in alt_read_flash(fd, 0, dest, 5000)? I cannot understand the arguments inside alt_read_flash. I read a few articles and notes but still cannot get its meanin...
Altera_Forum
Honored Contributor
15 years agohi... thanks for the reply. i am quite confused with "length". what does it mean by "amount of data read" which is "length"? is it in bytes or the number of data to be read? example, i am writing 1Mb of data to flash and want to read it out. so what should be the length for alt_write_flash and alt_read_flash?
thanks!