From: Olli on
Hi

This will be storing your bitstream combined with the bootloader only,
the main program will be stored in the linear flash.




Yes, I saw that on friday too. So I have to download the bitstream with the bootloader in linear flash too.Is that right? In Impact I have only access to the lin. flash over a cpld. When I choose the cpld in Impact to write at, will the *.bit file be stored in the lin. flash?

Thanks for helping me cu Olli
From: Mateen on
Hi,

The information might not be useful but this may give you clue whats going wrong...!!

I experienced a problem with Flash Programmer present under Xilinx EDK. When I tried to program SREC through it, the Flash Programmer programs the FLASH on ML403 with SREC, but without parsing..!!!. If I compare the HEX view of my SREC file and the Flash Memory, they are same (something starting like S31.) This is wrong..!! The flash programmer should parse the SREC file and program the instructions into the FLASH memory.

The workaround is that you should create a BINARY image of your ELF and program it into FLASH using EDK Flash Programmer. You may need to explore GCC options if the sections of your ELF are scattered.

In order to boot your software from FLASH, you need to modify your bootloader application, to make jump from BRAM to FLASH memory.

- Mateen
From: MM on

"Mateen" <mateen.hasan(a)yahoo.com> wrote in message
news:ee9d396.6(a)webx.sUN8CHnE...
> I experienced a problem with Flash Programmer present under Xilinx EDK.
When I tried to program SREC through it, the Flash Programmer programs the
FLASH on ML403 with SREC, but without parsing..!!!. If I compare the HEX
view of my SREC file and the Flash Memory, they are same (something starting
like S31...) This is wrong..!!

It's not wrong, it's simply inefficient in terms of using FLASH space. The
Xilinx bootloader reads S-records from FLASH and puts the code into SDRAM.

/Mikhail


From: MM on
"Olli" <Emperor_(a)gmx.de> wrote in message news:ee9d396.5(a)webx.sUN8CHnE...
>
> So I have to download the bitstream with the bootloader in linear
> flash too.Is that right?

No, you have to put it into the Platform Flash. If you put it into the
linear flash the FPGA won't be able to read it on power-up by itself meaning
that an external microcontroller of some sort would be required. I am not
sure if this option has been designed in the ML403's CPLD. Check the
documentation, it might be possible.

> In Impact I have only access to the lin. flash over a cpld. When I choose
the
> cpld in Impact to write at, will the *.bit file be stored in the lin.
flash?

No. In Impact you have direct access to Platform Flash. Forget about the
CPLD for now. The Platform Flash can be programmed from XPS with Device
Configuration/Download Bitstream as well, but for better understanding of
what you are doing I would recommend using Impact.

To program the Linear Flash you have to go to Device Configuration/Program
Flash Memory in XPS.

/Mikhail