Incorrect partition table is selected

⚠️
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.
6 posts / 0 new
Last post
ainwood87
Offline
Last seen:2 years 7 months ago
加入:2017-08-21 21:10
Incorrect partition table is selected

Hi Dialog,

I'm having difficulty with the partition table. The default partition table should be 1MB non-SUOTA, but when I use SmartSnippets Toolbox and read the partition table, it looks like a SUOTA partition table. In particular, ad_nvms_open(NVMS_BIN_PART) fails because the NVMS_BIN_PART partition is not present.

Device:
PM_Dialog
Offline
Last seen:3 days 2 hours ago
工作人员
加入:2018-02-08 11:03
Hi ainwood87,

Hi ainwood87,

I'm sorry, it was my mistake. I will delete the wrong post and I will respond to your post as soon as possible.

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:3 days 2 hours ago
工作人员
加入:2018-02-08 11:03
Hi ainwood87,

Hi ainwood87,

Could you please explain a bit more your question? In which project are you working on and which steps are you following in order to build your project? The SUOTA partition table will not be created, if the SUOTA isn’t explicitly defined. Could you please clarify if you used a SUOTA project building your project? It is strongly recommended to erase the SPI flash before you build a new project. Please check the”图。3 Partition Layouts for a non-SUOTA (left) and SUOTA (right) Enabled Application using the 1 MByte Flash Model”of theAdapters Concept - Flash adaptertraining. In non-SUOTA, the BIN partition is not existed.

https://support.dialog-semiconductor.com/resource/adapters-concept-flash-adapter-html

Thanks, PM_Dialog

ainwood87
Offline
Last seen:2 years 7 months ago
加入:2017-08-21 21:10
Hi Dialog,

Hi Dialog,

I have configured my own build using CMake and the GNU toolchain. I think the main project I was using as a reference was ble_central.

ainwood87
Offline
Last seen:2 years 7 months ago
加入:2017-08-21 21:10
Hi Dialog,

Hi Dialog,

Could you also explain what is the correct way to erase the spi flash? I am using the SmartSnippets toolbox to erase the flash, but if I do this and then read the qspi partition table, I find that erasing the flash does not erase the partition table. Is that expected?

PM_Dialog
Offline
Last seen:3 days 2 hours ago
工作人员
加入:2018-02-08 11:03
Hi ainwood87,

Hi ainwood87,

It is strongly recommended to execute the "erase_qspi_jtag_win" before programming the chip, especially when creating new partition table. Could you please execute the "erase_qspi_jtag_win" from SmartSnippet Studio IDE first? Are you able to erase the partition table after that? Also, you are able to execute the “erase_qspi_serial_win” if you prefer to use UART instead of JTAG interface. Be aware that the JTAG interface is faster than UART. Please check the attached file.

Thanks, PM_Dialog

附件: