Burning custom data to OTP or FLASH during production

⚠️
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.
8 posts / 0 new
Last post
posciamelo
Offline
Last seen: 1 year 2 weeks ago
Joined: 2020-06-08 07:18
Burning custom data to OTP or FLASH during production

Dear Dialog team,

I would like to be able to burn some custom data (such as serial number or some settings for the BLE module) to the OTP or the flash during production without using the Production Line Tool but rather with a simple JTAG connection to the DA14531.

How can this be achieved?

Thanks

PM_Dialog
Offline
Last seen: 1 month 5 days ago
Staff
Joined: 2018-02-08 11:03
Hi posciamelo,

Hi posciamelo,

Let me ask you something : do you have you own production setup?

Let’s take the OTP as an example : if you open the SS Toolbox and read the OTP, you will see that you can save it and export it to a file. So, you could modify it (probably with python script) and import it again.

Thanks, PM_Dialog

posciamelo
Offline
Last seen: 1 year 2 weeks ago
Joined: 2020-06-08 07:18
Yes I thought of that as a

Yes I thought of that as a solution, but I was wondering if there is any way to selectively write on a certain address without the need to download-->modify-->rewrite the whole file.

Thanks

PM_Dialog
Offline
Last seen: 1 month 5 days ago
Staff
Joined: 2018-02-08 11:03
Hi posciamelo,

Hi posciamelo,

Unfortunately no. This is possible with the PLT ( which is not an option for you ).

if you are interest in mass programming, there is now a jig available for DA14531 module.  Please check this out:

http://www.praxisrf.com/~shop/main.html

Thanks, PM_Dialog

posciamelo
Offline
Last seen: 1 year 2 weeks ago
Joined: 2020-06-08 07:18
Many thanks for your answer.

Many thanks for your answer. The Jig looks really interesting but I would have some further questions I'd like to discuss in a PM. Could you please contact me?

Thanks

 

RvA
Offline
Last seen: 1 month 3 weeks ago
Staff
Joined: 2014-02-07 14:10
Hi posciamelo,

Hi posciamelo,

Sorry for the delay. I will send you an email so we can discuss over email/phone.

Best regards, Robert

 

paolog
Offline
Last seen: 9 months 1 week ago
Joined: 2020-11-06 09:30
Hi posciamelo.

Hi posciamelo.

The solution I found for our project is to use the CLI commands of  SmartSnippetsToolbox, like this:

SmartSnippetsToolbox.exe -type xxx -chip xxx -jtag xxx -cmd write_field -offset xxx -data xxx

We have our board attached using JTAG, but CLI can be configured in different ways. With this command we can save serial number and pre-configuration information. Other commands allow to save data in EEPROM or OTP as well.

Best regards,

Paolo

PS_Dialog-Semi
Offline
Last seen: 9 hours 6 min ago
Staff
Joined: 2020-12-17 10:32
The documentaion of the CLI

The documentaion of the CLI commands can be found here:

http://lpccs-docs.dialog-semiconductor.com/UM-B-083/cli/command_line_if....

Alternatively, you need to download the programming fw via UART/SPI at boot.

Here are the spec to interface the internal bootloader:
http://lpccs-docs.dialog-semiconductor.com/UM-B-119_DA14585-DA14531_SW_P...

The firmware to be downloaded into the DA14531 module is Jtag_programmer.bin (for JTAG) and flash_programmer_531.bin (for UART)
The source code of the flash_programmer project can be found on our SDK in the folder: ...<SDK_prj>\utilities\flash_programmer
You need to compile them with Keil for your desired configuration.
If you have installed SmartSnippets Toolbox or Studio than you will find a compiled version in the folder:
C:\Program Files (x86)\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.12\common_resources\SupportPackages\DA1453x\toolbox_resources\common\
or
C:\DiaSemi\SmartSnippetsStudio2.0.12\Toolbox\common_resources\SupportPackages\DA1453x\toolbox_resources\common\

Then Flash/OTP programming spec you can find here:
http://lpccs-docs.dialog-semiconductor.com/UM-B-119_DA14585-DA14531_SW_P...

Thx, Paolo