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 https://www.dialog-semiconductor.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: 2 years 8 months ago
Joined: 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.

But it didn't work. 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: 6 months 3 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi mpw7788,

Hi mpw7788,

In Section 5.2. Software Upgrade Over The Air (SUOTA) of the UM-B-092: DA1469x Software Platform Reference Manual you 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: 2 years 8 months ago
Joined: 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: 2 years 8 months ago
Joined: 2020-01-17 13:42
Hi,

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

 

PM_Dialog
Offline
Last seen: 6 months 3 weeks ago
Staff
Joined: 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 read DA1469x Supporting Images Bigger than 512kB document for more information.

Thanks, PM_Dialog