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:
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
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”Fig. 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
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.
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?
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