BEE example problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BEE example problem

741 Views
e_v_spronsen
Contributor III

Hi,

I want to configure a region in flash for BEE AES decryption with a software key.

To get started I installed the bee SDK example and changed the memory region:

#define FLEXSPI_START_ADDR 0x70080000.

The example works without any problem. Only When I try to read any memory value in the range configured of bee decryption. I got the following error message:

15: Target error from Read Memory
15: Target error from Read Memory
Debug port inaccessible after access at location 0x70080000
Debug port inaccessible after access at location 0x700800EC
Debugging context: evkmimxrt1064_bee LinkServer Debug

Everything is halted.

So why can't I read any data from this flash range?

 

Labels (1)
0 Kudos
2 Replies

724 Views
e_v_spronsen
Contributor III

The problem is the example doesn't work. It generate a hardfault when you try to debug it.

You have to modify the example to get it to work by adding/enabling:

status = BEE_SetRegionKey(BEE, kBEE_Region0, aesKey, AES_KEY_LEN);

 The application note and the example doesn't tell you how to use it .

 

Some heroes don't wear cap:

https://community.nxp.com/t5/i-MX-RT/How-can-I-create-encrypted-data-for-i-MX-RT-1050-s-BEE/m-p/8795...

Maybe NXP should take notes and include this knowledge in the example.

 

 

 

730 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can describe the steps of testing since it can help me to figure the problem out.
In further, I'd like to suggest you refer to the application note, it may provide some insights.

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 Kudos