Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYahoo!!! I eventually solved the problem!
My tc memory had only access to the Nios tc instruction port. I had to redefine it as dual port ram and connect the secondary port to Nios data master in order to allow code loading. I resume for anyone interested: - tightly coupled code memory MUST have both a access connection to Nios TC instr. port and a connection to Nios data master, with same addresses - tightly coupled code memory need only the connection to Nios TC data port. - ALT_LOAD_SECTION_BY_NAME() *MUST* be called for all section not explicitly mentioned in system library properties (namely if you map something into them with the attribute directive); infact loader (jtag too) places these objects at paddr addresses, while the application must take care to copy it to correct vaddr Thank you Jens and Dsl for your support and suggestions Cris