Post Go back to editing

Can I Flash Data On Program Flash IC?

Category: Software
Product Number: Blackfin 609
Software Version: CCES 2.11
  1. Hi 

This is Raju I'm trying to Work With Flash In BlackFin 609   My Application was I have To Maintain Some Data in Flash for Future purpose that value may Change in future,I'll use it Later May be May not Be but I have to Flash and Maintain.

I have Only One Flash IC i.e N25q  present I'm using This For Program Flash  My LDR file is 238Kb only [N25q is 4MB]

Can i use Remaining Space for Data Flash? Can I Write Data In to Flash Through Application Code.

Can Anyone help me With This.

Best Regards,

Raju

Parents
  • Hi Raju,

    Can i use Remaining Space for Data Flash?
    >> Yes, you can use the remaining space for DATA. By default, Boot process starts from the 0x00000000 address of the memory device and it occupies the space required for application. So to avoid overwrite between LDR application and DATA stored, Its a good practice to store DATA in the Last sectors of the memory device.
    Also, Please note that while booting dont use -cmd erase , it will erase all sectors in device memory. Instead use -cmd eraseaffected which erases the specific sector in device memory.

    Can I Write Data In to Flash Through Application Code.
    >> Use the attached Flash write code to write the data in a particular sector.
    Please note that you have to change the configuration as per your Flash part.BF60x_Flash_Test_Core0 .C.zip

    Regards,
    Divya.P

Reply
  • Hi Raju,

    Can i use Remaining Space for Data Flash?
    >> Yes, you can use the remaining space for DATA. By default, Boot process starts from the 0x00000000 address of the memory device and it occupies the space required for application. So to avoid overwrite between LDR application and DATA stored, Its a good practice to store DATA in the Last sectors of the memory device.
    Also, Please note that while booting dont use -cmd erase , it will erase all sectors in device memory. Instead use -cmd eraseaffected which erases the specific sector in device memory.

    Can I Write Data In to Flash Through Application Code.
    >> Use the attached Flash write code to write the data in a particular sector.
    Please note that you have to change the configuration as per your Flash part.BF60x_Flash_Test_Core0 .C.zip

    Regards,
    Divya.P

Children
No Data