I am using frdmk64f_agm04_sensorfusion_freertos_agm04 SDK, and I want to read via UART I can't read from UART.
I got an error after flashing the SW whenever I call GETCHAR or SCANF.
and debugging session close automatically
This is the error I get:
15: Target error from Set break/watch
Unable to set an execution break - no resource available.
Debugging context: frdmk64f_agm04_sensorfusion_freertos_agm04 LinkServer Debug
Could you support in this
Hi Michael, I hope you're doing well!
The debug console implemented for SDK examples in the MCUXpresso IDE can be changed in the following ways:
When importing an SDK example, select the Debug Console as UART instead of Semihost:
On an already created or imported project, you can change the project's quick settings to set the debug console to UART:
Please let me know if you need any more information.
Take care, best regards,
Sebastian
Hi Sebastian,
I changed the Debug console to UART console, and I am still getting the same error when I use SCANF.
Thanks,
Micheal
Hi Michael,
Could you please take a look at this page of the MCUXpresso SDK API Reference Manual and confirm that the debug console is being initialized and enabled successfully?
MCUXpresso SDK API Reference Manual: Debug Console
It also has some typical uses cases and examples for the GETCHAR and SCANF functions, could you please take a look at them?
Please let me know if you continue to have issues with this.
Take care, best regards,
Sebastian