elf로 뱉어 내는거 같은데
일단.. Add Hex 하면서 Relative로 0x00 이 기본인거 같긴한데
map 파일에서 Page_0의 시작 주소를 확인하라고 되어있네
The method used to create a .jic file with a Nios® II hardware and software image is as follows. 1. Create a flash file from a .sof file: sof2flash --input=<hwimage>.sof --output=hwimage.flash --epcs --verbose 2. Create a flash file from a ,elf file: elf2flash --input=<elf file>.elf --output=swimage.flash --epcs --after=hwimage.flash --verbose 3. Convert the .flash image into a.hex file: nios2-elf-objcopy --input-target srec --output-target ihex mysw.flash mysw.hex 4. In the Quartus® II software, open File > Convert Programming Files > Set the programming file as JTAG Indirect Configuration File (.jic).
13. Now in the Quartus II Programmer, select Add File and select your .jic file. Check the Program box next to the .jic file, and push Start |
[링크 : https://www.altera.com/support/support-resources/knowledge-base/solutions/rd10132010_126.html]
The method used to create a .jic file with a Nios® II hardware and software image is as follows. 1. Create a flash file for the hardware and software image Note: When creating the software flash image, there is no need to add a boot srec (this is located in the EPCS Controller), the --after option ensures the software image starts immediately after the hardware image. 2. Convert the flash images into Hex files nios2-elf-objcopy -I srec -O ihex hwimage.flash hwimage.hex 3. When creating your jic file using Quartus® II Convert Programming File tool, add the Flash Loader and both hex files with absolute addressing option selected. Note: You do not need to add the .sof file to the jic image. This is because you created a hardware hex image. Using the hardware hex image ensures the software hex image is at the proper offset in the EPCS. |
[링크 : https://www.altera.com/support/support-resources/knowledge-base/solutions/rd12092009_471.html]
+
[링크 : https://www.altera.com/en_US/pdfs/literature/ug/ug_nios2_flash_programmer.pdf]
'embeded > FPGA - ALTERA' 카테고리의 다른 글
Nios II / Nios II Classic 차이점 (0) | 2018.01.29 |
---|---|
elf2flash와 nios2-elf-objcopy 사용하기 (0) | 2018.01.29 |
Nios II 프로그램 빌드.. (0) | 2018.01.27 |
Nios II 명령어 관련 조사 (0) | 2018.01.26 |
nios2 /e /f 별 설정 (0) | 2018.01.25 |