I want to know how to manually OTA.
I did the following steps:
1. Write flash pxp_reporter.bin to 0x2000 and write new_pxp_reporter.bin to 0x2002000 by cli_programmer.
2. modify CACHE_FLASH_REG to 0x16102006(origin is 0x16009006) by Jlink("w4" command to modify it), and restart.
但它不工作。The value of CACHE_FLASH_REG reset to 0x16009006.
How to do can change the remapp adress to 0x2002000? My goal is to switch images(active and upgrade image) in flash by modifying variables. How to do?
Thanks.
Device:
Hi mpw7788,
In Section 5.2. Software Upgrade Over The Air (SUOTA) of theUM-B-092: DA1469x Software Platform Reference Manualyou will find all the information for the SUOTA. Not sure if I understood correctly what you are trying to do, but in the same document in Section 5.2.4. there are detailed steps for adding SUOTA feature. Please read the aforementioned document and let me know if you have any follow up questions.
Thanks, PM_Dialog
Hi,
I've seen the document document in Section 5.2.4, but it didn't solved my problem. I want to implement the OTA feature myself on my APP instead of using the SUOTA APP. So I want to know how to it? And how to rollback to old version?
Thanks.
Hi,
Dodument say,
"The
CACHE_FLASH_REG
is configured to the proper value during booter execution, depending on the product and application FW headers."Does it mean can remapped to the upgrade address by modify the value of CACHE_FLASH_REG, But I don't know how to modify it.
Before upgrade: 0x2000 -> 0x16004400
After upgrade: 0x2000 -> 0x16202400
Hi mpw7788,
Why do you need to modify the CACHE_FLASH_REG? By default, both the SDK and chip configurations support running application images of up to 512 kB in size. The DA1469x Bluetooth SoC is capable of executing code from any address in FLASH. Please readDA1469x Supporting Images Bigger than 512kBdocument for more information.
Thanks, PM_Dialog