![]() ![]() Now as i mentioned the switch used to work, I have NEVER edited file main.h. ![]() As i mentioned i have moved from PIC to this IDE only week or so ago and still finding my way about so trying things, proving them and moving on. #STM CUBE CODE#STM32 IDE has a slow response, the messages appear in pairs, although the STM32 sends it correctly every 500mS.ĭavid, Mmmmm most interest re the switch, the switch used to work as you can see I have few bits of code that have been #ifdef'ed out. Now resume the cpu, and you should see the print messages. Sadly, everytime you start a debug session, you need to pause, enable the SWO (The red button) and resume. Close and click on the red circle button. Go to the ITM Data console, open settings and enable ITM stimulus port 0. Start the debug session, but set a breakpoint at the main. ![]() Open Window / Show view / SWV / SWV ITM Data console. Are you sure the stlink v3 is genuine? I quickly made a SWO test project for the 411 board. Also: Remember to set the correct CPU frequency in the Debugger SWV settings, otherwise it won't work. They're very powerful for their price, compared to a PIC24, dspic33 or even a PIC32. Did the same last year, I always worked with PIC, but I felt I was missing the STM32 thing. Yep I also have that board, it's very nice. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |