Increase code size region to 1 MB from default 512KB

⚠️
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.
7 posts / 0 new
Last post
Subramanyan
Offline
Last seen:6 days 18 hours ago
加入:2020-07-15 12:43
Increase code size region to 1 MB from default 512KB

Hi,

In our Dialog based hardware, I am trying to increase the FLASH_REGION_SIZE to 1 MB from the default 512KB as per the following link.

http://lpccs-docs.dialog-semiconductor.com/tutorial_da1469x_supporting_fw_images_bigger_than_512kb/Implementation.html

I am using SmartSnippets Toolbox version 5.0.14.3080.

In the SmartSnippets Toolbox, after I enter 0x5 (for 1MB code size) in CACHE_FLAG_REG, I don't see the screen with the title "Overwrite read-only words" which shows the address, where I can select Burn. I have attached the screen I am expecting but not seeing.

What do I need to do to get to this screen? Could this be the issue why the Burn is not happening.

Since I did not get this screen, I selected Burn on the next screen which is the OTP Header screen. But when I flash firmware greater than 512 KB, the board does not come up.I think the 0x5 setting in CACHE_FLAG_REG has not taken effect.

Could you please help. This is a little urgent.

Thanks and Regards,

Subramanyan

Device:
PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

Could you please read the OTP Configuration Script? Can you see the CACHE_FLAG_REG entry at the bottom of the CS? Please share a screenshot.

Thanks, PM_Dialog

Subramanyan
Offline
Last seen:6 days 18 hours ago
加入:2020-07-15 12:43
Hi PM_Dialog,

Hi PM_Dialog,

I have attached the OTP Config Script. Prior to this, I selected Add and set a value of 0x5 for the CACHE_FLASH_REG. I dont see this added to this.

Please let me know how I should fix this.

Thanks and Regards,

Subramanyan

Attachment:
Subramanyan
Offline
Last seen:6 days 18 hours ago
加入:2020-07-15 12:43
Hi PM_Dialog,

Hi PM_Dialog,

Any solution for this. Do I need to uninstall and install SmartSnippets Toolbox and SmartSnippets Studio? Would that resolve the issue.

Thanks and Regards,

Subramanyan

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

你能请给一试的吗SmartSnippets Toolbox V5.0.12 for Windows OS?

Thanks, PM_Dialog

Subramanyan
Offline
Last seen:6 days 18 hours ago
加入:2020-07-15 12:43
This version of Toolbox

This version of Toolbox worked.

Thanks,

Subramanyan

PM_Dialog
Offline
Last seen:2 days 22 hours ago
工作人员
加入:2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

The cli_programmer from SST v5.0.14 can be also used.

You can write in the OTP using:

> ./cli_programmer /dev/cu.usbserial-21200 write_otp 0x34A 2 0x50000050 0x000018F4 cli_programmer 1.26 Copyright (c) 2015-2019 Dialog Semiconductor Configuration from cli_programmer.ini file loaded. Using serial port /dev/cu.usbserial-21200 at baud rate 230400. done.

Thanks, PM_Dialog