Locate constant at specific flash address.

⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Vadym
Offline
Last seen:1 year 2 months ago
Joined:2015-08-13 08:28
Locate constant at specific flash address.

Hi.

I use external SPI Flash. The primary boot loader copyes the code from FLASH to the device.

我怎样才能找到在specif版本号不变吗ic FLASH address?

Thanks.

Device:
PM_Dialog
Offline
Last seen:19 hours 7 min ago
Staff
Joined:2018-02-08 11:03
Hi Vadym,

Hi Vadym,

Can you please clarify your question? As far as I can understand, your firmware is in the external SPI Flash, the device boots from there and you would like to store data in the flash. Is that correct? As a first step, I would suggest you to use the flash programmer of the SmartSnippets toolbox in order to check in which address the firmware is located. After that, you could use the spi_flash_write_data() API in order to write data to flash across page boundaries and at any starting address.

Thanks, PM_Dialog