- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi guys,
I have a 2C8 board with a EPCS4 flash for FPGA configuration and software. Now I trying to get both in the flash: SOF conversion: sof2flash --epcs -input=nem2.sof --output=nem2.flash elf conversion: elf2flash --epcs --after=nem2.flash --boot=boot_loader_epcs.srec --input=program.elf The result are two srec file. How can combine both that the nios2-programmer can write it to the epcs controller? kind regards regardsLink copiado
6 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
There is no need to combine them; you can call the flash programmer twice, once with each srec, and it will do the right thing. This is what the Nios II IDE flash programmer GUI does for you.
However, if you really want one file you can concatenate the two of them together and then call the flash programmer once.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
> How can combine both that the nios2-programmer can write it to the epcs controller?
$ nios2-flash-programmer --epcs --sof=<PGM> --input=program.flash $ nios2-flash-programmer --epcs --sof=<PGM> --input=nem2.flash --relocate <PGM> is your flash programming design.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
...and if what I need is a POF file for programming the EPCS during production using the Quartus programmer or a custom programming tool?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Jesse & smcnutt,
thanks for your answers. I did it like the way u showed. But it seems that the software doesn't start. The reset-address in the SOPC builder is set to the "EPCS Controller". Any idea about that? thanks in advance revolt @smcnutt: The commands u used are not supported with the 5.1 flash-programmer.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
> @smcnutt: The commands u used are not supported with the 5.1 flash-programmer.
Really? The "Nios II Flash Programmer User Guide" (October 2005 -- which includes updates for Nios II Version 5.1) has the command listed in Section 3, "Using the Flash Programmer in Command-Line Mode". The syntax has changed a bit ... but hopefully that won't slow you down too much ;-) --Scott- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
<div class='quotetop'>QUOTE </div>
--- Quote Start --- The syntax has changed a bit ... but hopefully that won't slow you down too much ;-)[/b] --- Quote End --- Not really http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif I have another question. Is it possible to put the programcode at a definded address at the epcs device? I mean using a command like --address=0x40000 instead of --after=xyz.flash for the elf2flash tool. kind regards
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora