This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Being professional at debugging

Hi,
I have a lots of problems to find out my mistakes during debugging.And Hardfault errors annoy me a lot when I use cmsis library. I have read different online sources that the best way is to check .map files.

Could you introduce me some good references to be professional at debugging and cover all kinds of errors(basic to professional)?(video pdf )

Thanks

Parents
  • Understand what you are doing, and have good problem solving skills.

    Not sure videos are going to get that done.

    Read the documentation for the chips and languages you are using and make less mistakes expressing your ideas/algorithms.

    Hard Faults should be easy enough to debug, the processor points you at the exact piece of code, and the registers, that cause the fault. A while(1) loop in the Handler is probably your first mistake.

Reply
  • Understand what you are doing, and have good problem solving skills.

    Not sure videos are going to get that done.

    Read the documentation for the chips and languages you are using and make less mistakes expressing your ideas/algorithms.

    Hard Faults should be easy enough to debug, the processor points you at the exact piece of code, and the registers, that cause the fault. A while(1) loop in the Handler is probably your first mistake.

Children
No data