LPC5536 OTP-eFuse API (definition of type efuse_driver_t is missing)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC5536 OTP-eFuse API (definition of type efuse_driver_t is missing)

1,750 次查看
WilhelmT
Contributor I

Hello,

I want to program and read the e-Fuse block of the LPC5536. For this I want to use the OTP-eFuse API. I found an example in the documentation for this.

#define ROM_API_TREE ((*uint32_t)0x1302fc00)
#define OTP_API_TREE (efuse_driver_t *)ROM_API_TREE[12]

But I am missing the definition of the data type "efuse_driver_t".


typedef struct
{
     ???
}efuse_driver_t;

Can someone tell me how or where this data type is defined?

Thanks in advance.

标签 (1)
0 项奖励
回复
4 回复数

1,310 次查看
martingcavallo
Contributor III

Hey! Hello everyone!

I'm struggling with the same issue. I need to modify the OTP-eFUSE LC_STATE value to enable read code protection, but I don't find the definition.

 

Can you provide further information on this? I was willing to open also a new private ticket in the project we have been opening some tickets in the last year, but my team and I are getting credential errors when attempting to open the web site.

would you mind to share your insights by here?

Thanks in advance!

BR,

Martin

0 项奖励
回复

1,663 次查看
jag_2
Contributor I

Hi, I have exactly the same question.  is it possible to have the definition of the efuse_driver_t ?
thanks for your time.

Have a nice day. and thank for your time

0 项奖励
回复

1,660 次查看
jag_2
Contributor I

typedef struct
{
uint32_t version; // should be 0x45010000 from the doc that mean v1.0
status_t (*init)(void);
status_t (*deinit)(void);
status_t (*p_efuse_read)(uint32_t addr, uint32_t *data);
status_t (*p_efuse_program)(uint32_t addr, uint32_t data);
} efuse_driver_t;

0 项奖励
回复

1,731 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

 

I saw your same case in private ticket , and I have reply you with that case.

 

BR

Alice

0 项奖励
回复