Forum Replies Created
-
AuthorPosts
-
jeremyvncParticipant
Where should I email the project to?
jeremyvncParticipantThanks, I found the issue. I created a new project and used the DebugConfig section from it in the previous projects vgdb settings file. That fixed the problem.
jeremyvncParticipantOkay, I got the main issue solved. I needed to connect the reset line to NRST instead of the jtag JTNRST line. Now it works in both STLink and visual studio without error. Odd too because on the F4’s, I use the jtag reset line and it works everytime.
So, as for the other issues I mentioned. They still exist. There is no “connect under reset” checkbox or setting and when I change the reset behavior “Before” or “After” programming then hit accept, the changes always revert back to only “Before” checked. Not a big deal but thought you should know of the bug.
Thanks,
JeremyjeremyvncParticipantI have upgraded to the latest VisualGDB 5.3R3 and the latest OpenOCD. I still cannot get it to connect to my F7 board under debug. I also do not see an option to connect under reset under Debug Settings.
I have attached screenshots.
Attachments:
You must be logged in to view attached files.jeremyvncParticipantThank you for your response. There is no hardware connected to the JTAG/SWD pins except the programming connector and I’m just trying to load the LEDBlink example so no software conflicts.
I tried looking for the “connect under reset” under debug properties and I don’t see it. I am using 5.3 Preview 7 (build 1744). Also, I do want to note that the checkboxes under reset device “before” and “after” do not save when you hit apply. “Before” is always set and I cannot set “After” they revert after you click apply from whatever setting you point them to.
Update: Just updated to the latest build (1864) and the same issues as above.
jeremyvncParticipantI would definitely be up to trying out the new “peek” mode in Clang especially if it operates faster than before with variable completion.
jeremyvncParticipantThanks for this. I did some additional digging and F1 also has the same issue with intellisense. I went ahead and removed both lines and all works now.
Thanks again!
JeremyjeremyvncParticipantTry this: In STMCubeMX, go to Project Settings -> Code Generator tab. Check the “Generate peripheral initialization as a pair of ‘.c/.h’ files per IP and check “Keep User Code when re-generating” This “should” prevent cubeMX from generating anything important in main.c, then you can just delete main.c when you re-generate your project in CubeMX or have main.c just an empty file so CubeMX will see it and skip over generating it.
Hope this helps.
jeremyvncParticipantThanks for the response, Bazis. I tried several things to move one of our projects over and gave up after several days. What you posted makes since and I’d like to try it out but my trial period lapsed 2 weeks ago.
-
AuthorPosts