Forum Discussion
Altera_Forum
Honored Contributor
16 years agoYou won't be able to program flash if there are any other cycles during the programming sequence.
So you must use cache bypass instructions. Also you must stop any data in the cache being written back - eg by being displaced to make way for more data. So you'll need to (at least partially) flush the data cache. Also I believe you'll always see two cycles on a 16bit peripheral since the nios always does 32 bit cycles. I don't think the bus bridges supress the cycles which have no active byte enables.