Error for local variable

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

Error for local variable

397件の閲覧回数
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 件の賞賛
返信
1 返信

336件の閲覧回数
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 件の賞賛
返信