This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

turning off debug statements for SPIM

I've got a bit of an issue with turning off specific debug statements.  If I try and adjust the log level, I get a run time failure.  If I try and comment out the specific debug statement (in the SPIM routine) I get that same run time failure.  If I single step - the code works well past the first run time failure location.

Seems like some type of timing issue - but not sure what is happening or why I cannot turn off the specific SPIM debug stmts.

I can post code if necessary - but it's pretty generic from the examples.

Parents Reply
  • What is the error code, line number, and file that leads to the assertion (app_error_fault_handler) ? If you get into this situation, you can add the preprocessor define "DEBUG" to your project in order to enable blocking assertions, and then you can read out data in the m_error_handler (when you get into the function app_error_save_and_stop() )

    You could also look at your call stack when debugging to see where the firmware came from.

     

    Best regards,

    Håkon

Children
No Data
Related