Цитата(Stewart Little @ Sep 4 2014, 23:09)

jic нужно делать не из sof'a и hex'a, а из двух hex'ов (первый hex надо сделать из sof'а а второй - из elf'а).
Это значит, что что-то не правильно.
Куда указывает вектор сброса?
Что в настройках bsp?
Пробовал делать по разному.
1. из sof'a и hex'a
2. из двух hex'ов - тпа так:
Цитата
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
sof2flash --input=<hwimage>.sof --output=hwimage.flash --epcs --verbose
elf2flash --input=<elf file>.elf --output=swimage.flash --epcs --after=hwimage.flash --verbose
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
nios2-elf-objcopy -I srec -O ihex swimage.flash swimage.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.
Причем второй способ проходит только в Quartus 11.0, в Quartus90 в преобразователе деактивируется кнопка добавления .hex после того как добавлен один .hex (второй .hex добавить невозможно)
1. По первому способу работает только ПЛИС (.sof) программа Nios не запускается.
2. По второму способу вообще ничего не работает.
Вектор сброса в процессоре поставлен на epcs_flash_controller_0
Установки библиотеки на картинке
Сообщение отредактировал Acvarif - Sep 5 2014, 09:26