HSE Exception Returns

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

HSE Exception Returns

595 Views
fanlight
Contributor I

I have a very strange phenomenon when implementing HSE related functions. The breakpoint must hit before executing the function, and single-step debugging works fine every step of the way.
After the breakpoint reaches the function, the hash and RNG will lose the first four data, and the key export will report the parameter is not normal

fanlight_0-1743835793952.pngfanlight_1-1743835803767.png

 

fanlight_2-1743835814356.png

 

0 Kudos
Reply
1 Reply

564 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @fanlight 

Similar issues are usually caused by data cache. Are you sure that all data objects used for communication with HSE are forced to non-cacheable memory? You can try to disable the data cache completely to see if it makes a difference.

Regards,

Lukas

0 Kudos
Reply