CSEC GenerateMACAddrMode address range

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

CSEC GenerateMACAddrMode address range

Jump to solution
1,406 Views
SaLan
Contributor II

Merry Christmas

Hi 

When I was using the GenerateMACAddrMode function of CSEC.When the address value exceeds 0x7DFFF, an error will occur. Is this normal?

0 Kudos
Reply
1 Solution
1,244 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @SaLan 

It's a limitation of the CMD_GENERATE_MAC command in Addr mode (also called pointer method):

lukaszadrapa_0-1767118666499.png

The partition (i.e. block size) can be 128KB, 256KB or 512KB depending on derivative:

lukaszadrapa_1-1767118711782.png

Regards,

Lukas

 

View solution in original post

0 Kudos
Reply
2 Replies
1,382 Views
SaLan
Contributor II

My fault

I means can't out of 512kb
CSEC_DRV_GenerateMACAddrMode(CSEC_RAM_KEY, (uint8_t *)0x0007FFFC, 0x00000080, (uint8_t *)cmacout);

but i use addr = 0x0007FFFC, len = 0x00000080

also no error,but out of range

Tags (1)
0 Kudos
Reply
1,245 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @SaLan 

It's a limitation of the CMD_GENERATE_MAC command in Addr mode (also called pointer method):

lukaszadrapa_0-1767118666499.png

The partition (i.e. block size) can be 128KB, 256KB or 512KB depending on derivative:

lukaszadrapa_1-1767118711782.png

Regards,

Lukas

 

0 Kudos
Reply