How to do can change the remapp adress to 0x2002000?

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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
mpw7788
Offline
Last seen:1 year 1 month ago
加入:2020-01-17 13:42
How to do can change the remapp adress to 0x2002000?

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:
PM_Dialog
Offline
Last seen:12 hours 21 min ago
Staff
加入:2018-02-08 11:03
Hi mpw7788,

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

mpw7788
Offline
Last seen:1 year 1 month ago
加入:2020-01-17 13:42
Hi,

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.

mpw7788
Offline
Last seen:1 year 1 month ago
加入:2020-01-17 13:42
Hi,

Hi,

Dodument say,

"TheCACHE_FLASH_REGis 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

PM_Dialog
Offline
Last seen:12 hours 21 min ago
Staff
加入:2018-02-08 11:03
Hi mpw7788,

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