Da14680 suota vs cache mode

4 posts / 0 new
Last post
Jun-ichi Tobe
Offline
Last seen:6 months 1 week ago
加入:2016-04-01 10:39
Da14680 suota vs cache mode

Hello support,

When operating in cache mode and using the SUOTA,
is it possible to rewrite the firmware to the built-in flash memory?
Or does applicaton program need to stop the cache mode?

Best regards,

Jun-ichi

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi Jun-ichi,

Hi Jun-ichi,

The SUOTA application writes the newly downloaded program to the QSPI flash and the current program continues to runs on the 68x in cached mode (the fw is builded to run in cached mode so you cannot switch between the memory modes).

Thanks MT_dialog

Jun-ichi Tobe
Offline
Last seen:6 months 1 week ago
加入:2016-04-01 10:39
嗨,支持,

嗨,支持,

Thank you for your support.
I'm sorry that my question wasn't clear.

Program will be loaded from the DA14680 built-in flash memory.
Operation mode is cache mode.

Question:
Is it possible to write the new program from SUOTA ?
Is it need to stop the cache mode, stop the program or prohibit SUOTA?

我认为当DA14680操作ing in cache mode, I'm concerned that the QSPI is busy.

Could you please tell me the recommended procedure ?

Best regards,

Jun-ichi

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi Jun-ichi,

Hi Jun-ichi,

Yes its is possible to write a new program from SUOTA, the whole procedure is described in the UM-B-056 Software Developer's Guide.pdf (paragraph 8 page 37). The SUOTA application will place the new image in the fw update partition. As i ve mentioned in my previous post you can't just stop the cached mode operation since the code is builded with this configuration, also you dont need to in order to operate SUOTA. Please have a look at the proximity reporter in order to check how SUOTA is implemented on that example. Most of the examples are operating in cache mode since we dont fully support the mirrored mode (copy the entire image on the sysram).

Thanks MT_dialog