JN516x - OTP read API and how to block JTAG

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JN516x - OTP read API and how to block JTAG

741件の閲覧回数
26803385
Contributor I

Dear all:

Now I am using JN5161 to develop a Green power switch(using MicroMAC Stack). and I have some questions about JN516x:

1. By default, every JN516x have a 64bit pre-programmed MAC address, but i can't find the right API to read the OTP information.

2. How to lock the debug port and block the dumpflash  and dumpeeprom function in bootload? So that we can avoid the hacker to read out the bin file. 

Thanks very much. And hopes you everythings goes well..

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

691件の閲覧回数
26803385
Contributor I

I found the right answer from ZLG FAE.. Thanks..

1. using deviceconfig=  in the CLI tools

2. I rewrite the struct from zigbee stack. 

//define the MAC address

/* Customer MAC address at page 5, word 7 (16-byte words, 16 words/page) */
#define MAC_ADDR1_BASE 0x01001570
/* Default MAC address at page 5, word 8 (16-byte words, 16 words/page) */
#define MAC_ADDR0_BASE 0x01001580

//typedef the struct 

typedef struct{
uint32 u32L;
uint32 u32H;
}MAC_ExtAddr_s;

//read the MAC address 

sMacFrame.u32L = *(uint32 *)(MAC_ADDR0_BASE + 4);
sMacFrame.u32H = *(uint32 *)(MAC_ADDR0_BASE);

0 件の賞賛
返信

691件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Zero,

Please look at the files attached. The document could help you with the OTP Register for the JN516X

Regards,

Mario

0 件の賞賛
返信