Forum Discussion
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- my reset vector and exception vector were set on CFI,offset is 0x0 and 0x20. In system library properties,i set .text and .rodata in CFI and .rwdata,heap memory and stack memory in sdram. --- Quote End --- The other suggestions are all valid. Not being able to read a CFI table is a non-starter. You won't make any progress until this issue is solved. Didn't your board come with a functional example design containing a CFI flash?? If so, why aren't you starting with that design and building? Additionally, it's not common (and extremely slow) to place the Exception Address and all code sections in flash. What I've done, most of the time, is point the Reset Address to non-volatile memory (i.e.: CFI Flash) and the Exception Address and all code sections to volatile memory (i.e.: SDRAM, onchip memory, etc.). It's the bootloader's job to copy the code sections, where they reside as payload in CFI flash, to a volatile memory location. Cheers, - Ura