Forum Discussion
Altera_Forum
Honored Contributor
10 years agoLast time I looked at the HAL code for bit-banging epcq it always does an erase before a write.
So your writes have to cover a full flash sector. That HAL code is a typical Altera example of making something that should be a few 100 instructions into kilobytes of code that doesn't let you do anything other than the precise action that some class/tutorial reqired.