Free memory space available for user data in SPI Flash

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
rajucoolsuraj
Offline
Last seen:5 months 2 weeks ago
Joined:2018-12-12 16:09
Free memory space available for user data in SPI Flash

Hello Dialog,

May I know the usable range of addresses in SPI Flash once its programmed to hold firmware.

Settings -

I am using BLE pillar example - sleepmode.

On awake from Sleep mode, I write to the Flash @ address - 0x24000

I will want to store at least 80 KB of data in SPI Flash.

Thanks

Raju

Device:
rajucoolsuraj
Offline
Last seen:5 months 2 weeks ago
Joined:2018-12-12 16:09
Hello Dialog,

Hello Dialog,

I request for a speedier response as it would help me progress the last stage of development.

Thanks

PM_Dialog
Offline
Last seen:1 day 16 hours ago
Staff
Joined:2018-02-08 11:03
Hi rajucoolsuraj,

Hi rajucoolsuraj,

This depends on the size of your firmware! I would suggest you to burn the SPI flash with your firmware, and then read it from the flash programmer of SmartSnippets toolbox. With this way you can easily find in which addresses the firmware is stored. The empty addresses will have the value 0xFF.

Thanks, PM_DIalog

rajucoolsuraj
Offline
Last seen:5 months 2 weeks ago
Joined:2018-12-12 16:09
Thanks Dialog,

Thanks Dialog,

I will verify the usage based on the above recommended method.

1. I would like to know whether the flash is used for any other bluetooth specific purpose ?

2. Does the same method apply for dual image system for having SUOTA enabled firmware and flash configuration based on SUOTA scheme 1 (only Flash)?

Thanks

PM_Dialog
Offline
Last seen:1 day 16 hours ago
Staff
Joined:2018-02-08 11:03
Hi rajucoolsuraj,

Hi rajucoolsuraj,

No, we don’t use the SPI flash for any other specific purpose. If you would like to have SUTA functionality, I would strongly recommend you to have a look at theTutorial 6: SUOTA example for DA14585/6tutorial. After burning the SPI Flash, again you can read it in order to check in which address the firmware is stored.

Thanks, PM_Dialog