programming flash memeory

Hi all,

Who has ever used the tool of EDK 7.1 "tools->programme flash memory" to fulfill the aim: put my file into the flash and then when the power of the fpga board is on, the file on the flash begin to run.

Who has some documents expecially some examples, please help me!

Thank you very much. Lina

Reply to
Lina
Loading thread data ...

"Lina" schrieb im Newsbeitrag news: snipped-for-privacy@webx.sUNCHnE...

Hi Lina,

first of all Flash has no legs and can not run. The Flash is a non volatile memory that has normally no files on it. It is possible to use Flash as file-system, in that case some areas of the flash may be considered as 'files', in most cased Flash is used simpley as nonvolatile memory (no files, just some binary contents).

the EDK ->program flash memory function can copy some prepared image (with any contents) to the flash memory - that is only possible if your hardware is built in proper recognized way.

after you program the flash with EDK your SoC system can access the flash as some area in the memory map.

if you have properly modified the linker scripts and made your software application capable to start from flash then your program would then start from the flash memory.

so download the GNU linker manual and start reading :(

Antti PS first time I had to get microblaze to boot from flash it took me 2 weeks. this included custom flash programmer software and time to fix the bug in the EMC IP core that preveneted CFI commands to be executed on byte wide flash memories.

Reply to
Antti Lukats

Hi Antti,

thank you for you answer.

Since you have successfully fulfilled the function and have the experience to do the experiment, you surely know the detail about how to programme flash memory. Would you please kindly provide me some materials and explain it in detail to me. Would you please give me some general example projects to me?

I met some problems when using tools->program flash memory. My flash are two chips of "AT49BV162A" which are controlled by emc and there are two sram(each of them is 512K bytes) together with them. During my experiment there is always an infromation

"DeviceIoControl LPT_WRITE_CMD_BUFFER Failed", then the project is always running without stop.

I also want you to explain to me the different meanings of "flash memory properties" and Scratch Pad Memory Properties". what are they two repectively used for?

Thank you very much.

Best regards.

Lina

Reply to
Lina

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.