2007-11-27 12:54 AM
2007-08-08 03:00 AM
Hello
I need to store data in the internal flash of the str710 and with the debugger it's working but without it is not working, why? Is the debugger forcing other bit of the flash configuration for it to work? here is the code : u32 data[5]; FLASH_WritePrConfig(FLASH_B1F0,DISABLE); FLASH_SectorErase(FLASH_B1F0); for(i=0;i FLASH_WordWrite(0x000C0000+i*4,data[i]); Thanks2007-08-09 10:17 PM
when I'm launching the software with the debugger I can write to the flash data.
when I'm launching the software without the debugger it is not working. How I know : we have a soft test in which we can ask to read the flash data and we see it on the screen by a serial link And in anycase when I'm launching the software without the debugger and I'm writing in the data flash the software is out after Now I put all the flash function in ram with the __attribute__ because I read that for the first write you need to do it from RAM. (I check the map file, this functions are in the ram section); now : when I'm launching the software with the debugger it is working. when I'm launching the software without the debugger it is not working but the software is NOT out after:WHY?2007-08-10 12:47 AM
Thanks for the reply
It is working well now, I can write in the flash data. But I still have a problem : This part of software (the FLASH function) is in ram (for being possible to write in flash data) and when I switch OFF the system and switch ON, this code in ram is lost(normal because it is not in flash). How can I put this part of software in ram but to keep store during switching OFF2007-08-10 01:24 AM
Hi all,
Could you please precise the tool you're using, i mean the toolchaine.8-) Regrads, MBS2007-08-10 01:53 AM
gcc V 3.3.2
as 2.14 ld 2.14 sous RIDE2007-11-27 12:54 AM
Hello ,everyone.
I am a novice in flash use. I plan to use a 2M flash to store my data , then FPGA read the data written in the flash. The problem is what tools and software i need to use? How about using jtag to download the data sheet.How could I write the data into the flash? Can someone help me? Thanks very much.