2. Executable code is stored in the EPCS. This is according to your second attempt: --- Quote Start --- I changed the reset vector to EPCS controller, it still doesn't work --- Quote End --- In this case the epcs_flash_controller is nesessary in your system. The reset vector must point to the epcs_flash_controller, which contains the bootcopier code. The exeption vector must point to On-Chip RAM because your .text segment is still located there. After power is up, NiosII start the execution of the bootcopier code from epcs_flash_controller internal ROM. This bootcopier gets application executible code from EPCS and stores it into On-Chip RAM. After bootcopier has finished its work the control passes to the application executible code in the On-Chip RAM. |
1.5.5. Nios II Processor Application Copied from EPCS Flash to RAM Using Boot Copier The EPCS address space is not mapped into the Altera Avalon EPCS Flash Controller’s Avalon MM slave interface. Instead, read or write accesses are done through CSRs. Upon system reset, the EPCS device needs to be initialized before usage. For these reasons, the EPCS controller-based boot copier is required for initializing the EPCS device and copying the Nios II application to RAM for execution. The EPCS controller instantiates a block of boot ROM internally at its base address (offset 0x0, just before EPCS controller’s CSRs) for storing the boot copier. Nios II reset vector offset must set to EPCS controller base address, such that upon system reset the boot copier is executed first to initialize the EPCS controller and device. |
[링크 : https://manuals.plus/ko/Intel/1-5-1-nios-ii-booting-general-flow-manual#axzz7xFS1je7Y]
Nios® II 플래시 프로그래머를 사용할 때 --csr 옵션은 무엇입니까? 설명 직렬 플래시 컨트롤러 II IP와 함께 Nios II 플래시 프로그래머(현재 "quartus_pgm --nios2")를 디자인에 사용할 때 명령 문자열에 새로운 옵션 "--csr"를 지정해야 합니다. 해결 방법 --csr 옵션은 직렬 플래시 컨트롤러 II IP 코어의 "avl_csr" 인터페이스 주소로 지정되어야 합니다. 예를 들어 플랫폼 디자이너 시스템에서 "avl_csr" 인터페이스의 주소 범위가 0x1000_0000 0x1000_003F 경우 "--csr=0x10000000"을 사용하십시오. 이 기능은 Nios II 플래시 프로그래머 사용자 가이드의 향후 버전에서 완전히 문서화될 것으로 예상됩니다. |
[링크 : https://www.intel.co.kr/content/www/kr/ko/support/programmable/articles/000086366.html]
'embeded > FPGA - ALTERA' 카테고리의 다른 글
altera uart ip (0) | 2023.05.14 |
---|---|
altera - partial reconfigure (0) | 2023.04.24 |
Nios V (0) | 2021.11.01 |
IOFS - Intel Open FPGA Stack (0) | 2021.07.06 |
oneAPI Quartus pro 필요? (0) | 2021.04.06 |