Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by camelot@Mar 24 2005, 01:31 PM hi!
i've made a board with cpld and flash as in cyclone development kit, but different is
cpld epm3128a only. i ran it on quartus 4.0 (sp1) and nios 1.0 (sp1) and
it is configuring and working ok. i try to configure it in new version of quartus 4.2 with sp1 single
and nios 2 1.1, but when i was programming it by flash programmer appear errors.
i've changed a jtag_uart in custom board design and added a reset_delay block but
error is the same.
maybe someone had this problem before?
thanks.
error:
# ! /bin/sh# # this file was automatically generated by the nios ii ide flash programmer.# # it will be overwritten when the flash programmer options change.#
cd c:/altera/qdesigns42/camelotproject1/software/camelotproject1/debug
# creating .flash file for the fpga configuration
$sopc_kit_nios2/bin/sof2flash --flash=u5 --offset=0x00700000 --input=c:/altera/q
designs42/camelotproject1/camelotproject1.sof --output=camelotproject1.flash
info: *******************************************************************
info: running quartus ii convert_programming_file
info: command: quartus_cpf --no_banner --convert c:/altera/qdesigns42/camelotpro
ject1/camelotproject1.sof camelotproject1.rbf
info: quartus ii convert_programming_file was successful. 0 errors, 0 warnings
info: processing ended: thu mar 24 13:18:37 2005
info: elapsed time: 00:00:00
# programming flash with the fpga configuration
$sopc_kit_nios2/bin/nios2-flash-programmer --input=camelotproject1.flash --sof=$
sopc_kit_nios2/components/camelot_custom_board/system/camelot_custom_board.sof -
-cable='usb-blaster [usb-0]' --base=0x00800000
24.03.2005 13:18:39 - (info) nios2-flash-programmer: launching quartus programme
r to download:
c:/altera/kits/nios2/components/camelot_custom_board/system/camelot_custom_
board.sof
send (64) failed.
unable to synchronize with target.
24.03.2005 13:19:19 - (severe) nios2-flash-programmer: error opening target hard
ware
24.03.2005 13:19:19 - (severe) nios2-flash-programmer:
in order to program flash, you must first create a purpose-built
flash-programming design (i.e. fpga configuration) and associate it with
your particular board. the nios development kit is delivered with purpose-bui
lt
flash-programming designs pre-built for several development boards. if you wi
sh
to program flash on your own board, you must first create a flash-programming
design.
the process of creating a flash-programming design for your board is mostly
automated. from a bash-shell, execute this script:
mk_target_board --help
the help-message includes references to other documentation on programming
flash and targeting nios systems to custom board designs.
- exiting.
# creating .flash file for the project
$sopc_kit_nios2/bin/elf2flash --flash=u5 --base=0x00000000 --end=0x800000 --rese
t=0x0 --input=camelotproject1.elf --output=cfi_flash_0.flash --boot=$sopc_kit_ni
os2/components/altera_nios2/boot_loader_cfi.srec
# programming flash with the project
$sopc_kit_nios2/bin/nios2-flash-programmer --input=cfi_flash_0.flash --sof=__no_
sof_please__ --cable='usb-blaster [usb-0]' --base=0x00800000
24.03.2005 13:19:20 - (info) nios2-flash-programmer: sof-download skipped.
send (8) failed.
unable to synchronize with target.
24.03.2005 13:19:51 - (severe) nios2-flash-programmer: error opening target hard
ware
24.03.2005 13:19:51 - (severe) nios2-flash-programmer:
in order to program flash, you must first create a purpose-built
flash-programming design (i.e. fpga configuration) and associate it with
your particular board. the nios development kit is delivered with purpose-bui
lt
flash-programming designs pre-built for several development boards. if you wi
sh
to program flash on your own board, you must first create a flash-programming
design.
the process of creating a flash-programming design for your board is mostly
automated. from a bash-shell, execute this script:
mk_target_board --help
the help-message includes references to other documentation on programming
flash and targeting nios systems to custom board designs.
- exiting. --- Quote End --- NIOS 1.1 bug?