While trying to debug the nano library and verify what is happening (I have an error) I enabled debug printouts
in file https://github.com/NXPPlugNTrust/nano-package/blob/075f8cc9a27a5e5eb6a04f3d86c1a421836777e8/lib/t1oi...
There is a line - T_SMLOG_MAU8_D("RAW Rx<", nxpese_ctxt->p_read_buff, ret);
I get a hardfault on my microcontroller, since "nxpese_ctxt->p_read_buff" is null and the debugger is setup to break on accesses to address 0. I suspect that the intention is to print "pp_data" contents instead?
There seems to be no way to report issues in Gitlab, so I simply try here... I'm rather new to this so I might be mistaken or have misconfiguration something, but it seems a bit strange...
Solved! Go to Solution.
Hi, I use Cmake with the gnu-arm toolchain. (with an STM32 controller)
Btw I managed to find the real error I was looking for when trying to turn on this debug print.
(It was using the wrong keys for SCP03. The debug message is a bit misleading as it simply mentions something like "Comparsion of datagram does not match". I found another message on this site that got me on the right track that mentioned that this was caused by the wrong keys.)
Hi @andershedbeg ,
Did you define this macro to 1?
Have a great day,
Kan
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Hi @andershedbeg ,
What is the platform you use with the nano package? I guess there might be some porting issue here.
Have a great day,
Kan
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Hi, I use Cmake with the gnu-arm toolchain. (with an STM32 controller)
Btw I managed to find the real error I was looking for when trying to turn on this debug print.
(It was using the wrong keys for SCP03. The debug message is a bit misleading as it simply mentions something like "Comparsion of datagram does not match". I found another message on this site that got me on the right track that mentioned that this was caused by the wrong keys.)
Hi, yes, like this: