4 posts / 0 new
Last post
mjara
Offline
Last seen:4年1月前
加入:2016-08-17 20:20
OTP programming

Hello, I have some questions about the OTP programming.

1.- Can I reprogram the OTP or is only used for a final production?
2.- Programmaing the OTP with SmartSnippets needs to reset the board. If I have the reset pin connected to ground on a custom board, then I cannot use this tool?
3.- In the AN-20 document. Programming the OTP with the SmartSnippets CLI, needs that a "programmer_E5S.in" file must be downloaded in the SysRAM first. Is this is mandatory for programming the OTP?. Also why a "-gpio P1_2" is in the command line for UART downloading?

I really appreciatte your help,

Matías

Device:
MT_dialog
Offline
Last seen:3 months 2 days ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

1) OTP stands for One Time Programmable, so no, you wont be able to program it multiple times, the only thing that you can do is to turn the zero bits of the memory into one's, but not the opposite.

2) It depends on the interface that you would like to use UART or JTAG, Smart Snippets downloads a special fw in order to burn the OTP, so when you burn the OTP via UART you will have to issue a reset in order for the bootloader to get executed and this special fw to be downloaded. In the JTAG case you dont have to issue a reset, but if for example your device is inaccesible for any reason (for example the device runs a fw and the debugging module is disabled) you will need the reset button in order to restore the default state of your device.

3) Yes, as mentioned above is mandatory, different fw should be downloaded when you use the UART or the JTAG (programmer_ES5 or jtag_programmer) as far as the additional pin it was required in order to control the vpp via that pin through a transistor.

Thanks MT_dialog

mjara
Offline
Last seen:4年1月前
加入:2016-08-17 20:20
Thank you for your response.

Thank you for your response.

Just another questions about 3). This pin should be connected to the DK board or is internally connected in the DA14580?

Bestm

Matías

MT_dialog
Offline
Last seen:3 months 2 days ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

That pin was used in order to control the amount of time that VPP voltage is applied to the chip during programming, its not mandatory. In the dev kit you can just apply the vpp in order to burn the OTP and remove it when you are done burning the chip. On the dev kit you just apply a jumper on the J3 header when its time to burn the OTP.

Thanks MT_dialog