我设计的板使用SST的39VF6401 4M*16bit
(1)地址按Nios A1--Flash A0时............程序在sram和sdram中都跑不起来.......(sopc里面CFI addr 22 data 16)...IDE里: Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Pausing target processor: not responding. Resetting and trying again: FAILED Leaving target processor paused
(2)地址按Nios A0--Flash A0时............程序在sram和sdram中都跑起来了..........(sopc里面CFI addr 21 data 16)...此时FLASH只有4MB了...................现在的问题是程序在FLASH中跑不起来,IDE里: Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x00500858: verified
Downloading 00000000 ( 0%) Downloaded 53KB in 1.6s (33.1KB/s)
Verifying 00000000 ( 0%) Verify failed between address 0x0 and 0xD193 Leaving target processor paused
此时,用flash programmer,,,,问题如下注意此时IED检测到FLASH的大小) # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x1fffff --reset=0x0 --inp ut=hello_world_0.elf --output=cfi_flash_0.flash --boot=$SOPC_KIT_NIOS2/component s/altera_nios2/boot_loader_cfi.srec
# Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x00500858 --id=1639331538 --t imestamp=1154790334 --base=0x00000000 cfi_flash_0.flash Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x00500858: No CFI table found at address 0x0000000 0 verified Leaving target processor paused
问题总结:从理论上讲我认为第一种配置应该是正确的....但是程序完全跑不起来(sram,sdram,flash中都一样),,,,,,,,,,,接照第二种配置,程序只是在flash中跑不起来,,,,,,,,但是出现的问题我完全解释不了..........
上述问题是反复实验了N遍总结出来的..........大家都帮忙分析哈... |