Accessing OTP via debugger

Hello,

I need to access OTP memory on SC587 and SC572 processors via debugger. We are using ICE-1000 debugger. I am familiar with cldp utility (I am using it for reading/programming flash memory), but I can not find any OTP driver for processors I mentioned. Is there any ".dxe" driver ready for programming OTP?

Thanks,

Jan

  • 0
    •  Analog Employees 
    on Dec 13, 2019 5:14 AM over 1 year ago

    Hi Jan,

    Please refer the below link of EE-366 and associated zip file:
    This EE-note provides details and example code associated with secure booting. Using this guide, one can successfully understand the different aspects of secure booting and learn how to set up the processor and application for secure boot.
    www.analog.com/.../EE366v02.pdf

    EE366v02.zip
    Regards,
    Anand Selvaraj.

  • Hi Anand,

    in PDF you mentioned in Programming Keys into OTP Memory chapter is following:
    Programming the OTP memory in general can be accomplished in one of two ways:
    1.Use the same CLDP used for programming flash memory(see the Loader and Utilities Manual).
    2.Run an application on the processor that calls the OTP read/write API functions stored in the ROM.

    My question was about the first way (I already know how to use ROM API). I want to use OTP for general purpose (Hardware unique key, General purpose 1 fields etc), not for secure boot. As far as I know, the cldp requires .dxe driver to be loaded into CPU for accessing OTP via debugger. Is such a driver available for download (like there are dxe drivers for flash in ADSP-SC5XX Board Support Package)?

    Thanks,
    Jan

  • 0
    •  Analog Employees 
    on Dec 27, 2019 12:23 PM over 1 year ago in reply to havran

    Hi Jan,

    Please refer the below path in CCES and refer the readme file in core0 project folder or in core1 project folder.
    C:\Analog Devices\CrossCore Embedded Studio 2.x.x\SHARC\Examples\Device_Programmer\ADSP-SC58x

    Regards,
    Anand Selvaraj.