Hi Petter,
I wrote a program to convert an Srec file to a binary file and then
downloaded this over a PCI/Avalon bridge.
I have found my problem, which was that I assumed the Srec file was
always writing a contiguous memory region, when in fact sometimes
addresses are skipped, presumably for alignment optimization.
> [email protected] (cruzin) writes:
>
> > I can download a program to memory using "nios-run my_prog.srec" and
> > it works fine.
> >
> > However, when I write the program into the same memory manually (ie.
> > memory fill command), nios will not wrong the program properly.
>
> Maybe a stupid question: How do you run your manually entered program?
> Are you using the go (G) command in germs? Can you use go to *re-run*
> the downloaded srec file?
>
> Petter