Reading PUF registers with blhost utility

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

Reading PUF registers with blhost utility

1,246 次查看
langhel
Contributor I

Hi!

I'm using LPC55S69-EVK board with version 1B of the chip.

I'm trying to read Activation Code after PUF enroll with blhost.exe utility by reading CODEOUT register ( address 0x4003 B048).

But I'm not able to read registers from PUF Controller :

Bellow is message at reading PUF CTRL Register (0x4003b000)

blhost.exe -p COM8,115200 -- read-memory 0x4003b000 4
Ping responded in 1 attempt(s)
Inject command 'read-memory'
Successful response to command 'read-memory'
Data phase aborted by sender
Response status = 10200 (0x27d8) kStatusMemoryRangeInvalid
Response word 1 = 0 (0x0)
Read 0 of 4 bytes.

Here the same MemoryRangeInvalid message for CODEOUTPUT Register (0x4003b048)

blhost.exe -p COM8,115200 -- read-memory 0x4003b48 4
Ping responded in 1 attempt(s)
Inject command 'read-memory'
Successful response to command 'read-memory'
Data phase aborted by sender
Response status = 10200 (0x27d8) kStatusMemoryRangeInvalid
Response word 1 = 0 (0x0)
Read 0 of 4 bytes.

Does anyone has any ideea what is wrong with the address ? Maybe PUF is mapped on different addresses ? 

Thank you!

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

1,140 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Lucian Anghel,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Does anyone have any idea what is wrong with the address?
-- I replicated the phenomenon and in further, it would encounter the same error when reading other peripheral registers, such as ADC register.

pastedImage_1.png
I think it is caused by that the peripheral module hasn't been enabled yet. So I'd like to suggest you to use the J-link tool to read these peripheral registers.

pastedImage_2.png

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

1,140 次查看
langhel
Contributor I

Hi Jeremy!

Thanks for the information.

Unfortunately I don't have access to a J-Link debugger.

From what I understand is not possible to read AC generated during Enroll via blhost utility but only to store it in Key Code Storage area in PFR.

So The only way to extract AC is to do enrollment from code executed from Flash or RAM so that i could read CODEOUT register? Is that correct ?

I didn't find anything clear about that in User Manual or 

Thank you!

0 项奖励
回复

1,140 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Lucian Anghel,

Thanks for your reply.
To provide the fastest possible support, I'd highly recommend you to refer to the application note: LPC55Sxx usage of the PUF and Hash Crypt to AES coding.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复