Hello,
Is it possible to write some custom data into the external flash memory (e.g. some configuration) ? without breaking the application boot up.
Or is it needed to use another device like EEPROM ?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Is it possible to write some custom data into the external flash memory (e.g. some configuration) ? without breaking the application boot up.
Or is it needed to use another device like EEPROM ?
Thanks
Some configuration specific to the project requirements (but not related to the radar configuration). Could also be a hardware number for example.
According to what I know, the external flash content is loaded into the AWR RAM at the system start-up ?
Thank you
Please refer to the Image_Creator_User_Guide PDF file found in the mmWave SDK for more information about creating the application binary files that are loaded from external flash.
This can be found in this file location: C:\ti\mmwave_sdk_03_05_00_04\packages\scripts\ImageCreator
The external flash contents are loaded into RAM using QSPI when the device boots up and follows the bootloader flow.
Regards,
Kyle
Thank you Kyle for this answer.
Currently, what I want to do is to store some configuration into non-volatile memory during runtime (using a FlashWrite() function) and read out this configuration at the next boot.
Do you think it is possible without "corrupting" the appliction boot ?
Or maybe there is another way to do for storing variables into flash during runtime ? It is not a periodic storage, probably just 1 time during the system life.
Could you please tell me if what I would like to do is possible ? (write small amount of data/configuration into a specific sector of external flash during runtime).
Thanks
Please refer to the QSPI driver that is included in the mmWave SDK. This driver can be found at this file location in the latest SDK:
C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\qspiflash
Specifically, you can look at the unit test to see how an example write occurs between the AWR1443 and the external flash:
C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\qspiflash\test\xwr14xx
C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\qspiflash\test\common
The "test_common.c" file will be the most relevant found in the "common" folder above.
Regards,
Kyle