Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Justin,
> Use the new CFI code in the latest u-boot code__http://www.psyent.com/download > But the flash utilities have some problem,when using the command "saveevn" ... > And the device type in UP3 is TC58FVB106AFT-70. > Hope someone have a good way to fix it. The generic u-boot CFI code uses the toggle-bit rather than DQ7 polling ... so this causes problems on the avalon bus -- see: http://forum.niosforum.com/forum/index.php?act=st&f=2&t=2302 (http://forum.niosforum.com/forum/index.php?act=st&f=2&t=2302) I'm working on a patch that uses DQ7 polling ... I'll make a post when this is updated. In the mean time, you _should_ still be able to erase and program the flash using the u-boot command line using the protect, erase and cp commands. The saveenv fails because it attempts to write before the erase algorithm completes (the device is still busy). Regards, --Scott