Error for local variable

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

Error for local variable

133 Views
vikmonti7804
Contributor III

Hi,

   I am using the RTD generated code from the config tool, and at some point i am facing a issue.

where one local variable is assigned value from the global array of structure from the Crypto_cfg.c in Crypto_Hse.c shown in figure below.

the local variable is not getting the value and it is always 0 even if the global variable has value of 0x11.

 

uint8 u8KeyType = Crypto_aKeyElementList[u32CryptoKeyElementIdx].u8HseKeyType;

u8KeyType is not changing the value.

kindly help

vikmonti7804_0-1712913707706.png

vikmonti7804_1-1712913760203.png

vikmonti7804_2-1712913799220.png

 

 

0 Kudos
1 Reply

72 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @vikmonti7804 

sorry for delayed response. Is this still an issue? If so, could you send me disassembled code? And could you send me screenshot from debugger when program counter points to asm store instruction in this command? I would like to see general purpose core registers at this very moment too.

Regards,

Lukas

 

0 Kudos