How to burn the final image into the OTP Memory?

13 posts / 0 new
Last post
liyang
Offline
Last seen:5 months 4 weeks ago
Expert
加入:2014-09-24 11:51
How to burn the final image into the OTP Memory?

hi,Dialog:
Now , I want to burn the fianl image into the OTP Memory, but I can't find a datasheet to refer to . I had open the smart snippets and find the "OTP header","OTP NVDS"and "OTP image" ,what can I do for this?

Thanks

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

What exactly you would like to do ? if you want to burn the image to your device you will have to burn it to the OTP image via the Smart Snippets tool and also burn the application flags (both of them) in the OTP Header, again from the Smart Snippets tool. By doing this you will be able to boot from the OTP. The OTP NVDS is a special place in the OTP where you can add some additional information (the info that you can place there is identical to the tags that are placed in the fw in the nvds.c file in the nvds_data_storage struct).

Thanks MT_dialog

liyang
Offline
Last seen:5 months 4 weeks ago
Expert
加入:2014-09-24 11:51
hi,Dialog:

hi,Dialog:

Thanks for your help!

Thanks

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

If you find the answer helpfull please mark it as accepted.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
加入:2017-01-02 11:08
Hi,

Hi,

On OTP image , two option is available like CONNECT & BURN which one i have to choose.

1.请给我的手册号码will guide me to go further
2. manual is available for smart snippets?
3. if i flash the firmware on OTP memory , it will get locked or can i flash program in OTP multiple time ?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

Hit the connect button in order for the fw that enables you to interact with the OTP to be downloaded into the 580 and then when you choose your fw, hit the burn button (be aware that in order to burn the OTP you will need VPP voltage applied). You can have a look at the Smart Snippets manual (open tha Smart Snippets hit the help button and choose the User guide). Also you can have a look at the AN-B-020 End product testing and programming guidelines.pdf for more info regarding the Programming of the OTP area.

If you burn your fw to your OTP you are going to be able to access the OTP since you have the JTAG enable flag in the OTP header as Enable, but if you burn the OTP you wont be able to reprogram it since OTP stands for One Time Programmable, you are going to be able to turn the remaining 0's to 1's.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
加入:2017-01-02 11:08
Hi ,

Hi ,
Thanks for your reply
Please suggest me an option to flash program multiple time without any restriction. Which is the best option?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

I am not sure i get the question, i suppose that you would like to test your fw before burning it to the OTP, you can download directly your fw to the sysram via keil or via Smart Snippets without any need of touching the OTP. Keil is optimal since you will have the ability to step through you code.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
加入:2017-01-02 11:08
Hi,

Hi,

Yes , i am able to download my fw to RAM area only by keil and able to see the output.
But if i switched off my device, fw is get erased because it is using RAM.

Is there any ways to avoid this issue without disturbing OTP?
i.e. is there any re-programmable flash memory available or not?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

There is no memory in the 580 that will retain the data while the device is powered off except from the OTP, a solution to that would be an external SPI flash device, the dev kits have an SPI on board that you can burn and erase your fw multiple times, also some of the supported SPI flash and I2C eeproms can be found in the document AN-B-023:Interfacing DA14580 with external memory.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
加入:2017-01-02 11:08
Hi , Thankyou

Hi ,

Thankyou

RatheeshT
Offline
Last seen:1 year 11 months ago
加入:2017-01-02 11:08
Hi,

Hi,
For external SPI flash, i have one doubt in connection.
In manual UM-B-034, they mentioned SPI_SUP (BAT_SEL) at header J5.

What is the use of this?
Can i go without using that also?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

It the power supply of the SPI, no you cannot operate without it.

Thanks MT_dialog