Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Andrew,
> it looks like the flash device driver is disabled if it collides with the program. This makes sense ... If you do something as simple as (trying) to read the manufacturer and device IDs, you won't be fetching instructions any longer -- you'll be trying to execute the IDs ;-) > My program determines its own end so I think I can protect myself from > overwriting the program code. Fair enough ... but that's not the problem. If you're executing code that's being fetched from the device that you're programming, a (typical) device will not be driving array data onto the data bus. It will insted be driving the write status (e.g. toggle bits, etc.). So you won't be fetching valid instructions. Regards, --Scott