2016-06-27 03:33 PM
I am fairly new to Keil and HAL libraries. First I use Cube to generate a project for the CAN project. I notice that I cannot set a breakpoint on any function that is not explicitly called in main.C. Well there are a lot of interrupt functions that are called indirectly so how can I set a breakpoint to an interrupt function.
Specifically, I am trying to set a breakpoint for function HAL_CAN_RxCpltCallback(), but Keil won't let me do that. Is it a Keil issue or Cube? By the way, I am using a non-commercial version of Keil so I don't know if that is the case. EDIT: Well I thought I tried to use a UART example for the Nucleo board because the interrupt structure is similar. For this project, I was able to set a break point for HAL_UART_RxCpltCallback() which is similar to the CAN example. So I am not sure why on certain project, a breakpoint is possible. Is it a Cube issue? Nevermind ... I found out what the problem might be.2016-06-28 02:46 AM
Hi,
I don't think that this issue is related to Keil or Cube ! It can be problem in option setting?Regards