Forum Replies Created
I thought I’d try again to see if there was someone interested in a consulting job to help get us started with a VisualGDB project running on a standard STM Nucleo H7A3ZI-Q board. I’ve made some progress talking to various peripherals starting with the STM examples on this and other Nucleo boards. However, I could definitely use some help getting a basic VisualGDB project working on this Nucleo board that talks to a UART using DMA and also implements a FatFS on a SD card with timers that run at the correct rate. If I got that going, it would be a huge help but there’s plenty of work after that if you’re still interested.
Thanks – Gene Massion
- This reply was modified 3 days, 23 hours ago by GeneM.
You are correct, I created the project in a way that put the source code somewhere different than I expected. Thanks for pointing out my dumb mistake.
June 26, 2021 at 16:52 in reply to: I'm not seeing printf(…) in interrupt callback with fast semihosting #30785
- This reply was modified 3 weeks, 5 days ago by GeneM.
Actually something a little weird happened. I thought the C Library type and Implementations for _sbrk(), etc. were set as I described above. But they seem to have been reset under the hood to Newlib-nano and Minimal (no semihosting). Same issue though, printf works in main but not in the interrupt callback.
Exactly right. Thanks for the clarification.
June 5, 2021 at 10:42 in reply to: VGDB can't find com.st.stm32cube.ide.mcu.gnu.managedbu … #30633
- This reply was modified 1 month, 2 weeks ago by GeneM.
That worked perfectly. Thanks.May 30, 2021 at 12:45 in reply to: VGDB can't find com.st.stm32cube.ide.mcu.gnu.managedbu … #30606
Thanks for the quick response. I’m using STM32CubeIDE version 1.6.1 which is think the newest or pretty close to it. My previous attempts to import a CubeIDE project into VGDB were pretty straight forward but definitely with previous versions of both IDEs. I can see several lines in the current .cproject file with the suspect option in them but I can’t tell what might be wrong so I attached a .zip.
- This reply was modified 1 month, 4 weeks ago by GeneM.
Attachments:You must be logged in to view attached files.November 5, 2020 at 20:44 in reply to: How do I add a directory to the places VisualGDB looks for .h file? #29452
And I should have mentioned, I did try adding all the required header files one at a time and eventually go to memoryfwd.h which starts like this
#define _MEMORYFWD_H 1
#pragma GCC system_header
namespace std _GLIBCXX_VISIBILITY(default)
And I get this error: “unknown type ‘namespace”. I can make a copy of memoryfwd.h and rename it memoryfwd.hpp but I need to change whatever files are including memoryfwd.h to include memoryfwd.hpp. But I can’t find any files in my solution that have the term “memoryfwd.h”.
There really has to be something fundamental I don’t understand. I have several C/C++ books that I actually refer to, I’ve done a bunch of the VisualGDB tutorials and I spend a lot of time Googling for answers before I post a question. If someone can point me at some tutorial that would help, that would be great.
Thanks again.September 11, 2020 at 12:24 in reply to: Will VisualGDB connect to Atmel SAM-BA bootloader? #29022
This project has come up and again and I’d like to ask the question a different way. It looks like I can access the JTAG pins on the SAM9X35 part and the Segger J-Link EDU module does support this device. But I haven’t found a SAM9X35 or ARM926EJ-S in the list of MPUs in the VisualGDB New Embedded Project -> Device Selection table. There are some part numbers that come close but nothing exact. Does VisualGDB support this device?
That looks like it fixed the issue. And it compiles and downloads. Next step, making it do something useful. Thanks for the quick and effective support on a Saturday.April 1, 2020 at 21:59 in reply to: Will VisualGDB connect to Atmel SAM-BA bootloader? #27811
Thanks for the quick response. Is the issue that the G400S is a niche or that Atmel’s SAM-BA is a niche or the combination of the two?
- This reply was modified 1 year, 3 months ago by GeneM.
As happens so often, I figured out the solution 30 seconds after posting this question. The sample file used main.c and I needed to rename is main.cpp. Sorry for the distraction.
That fixed it, thanks.December 24, 2019 at 05:51 in reply to: Is there a way to see a char on one line in live variables #26938
I understand about what you can and can’t do on this forum, no worries. Once I get a little farther along, I’ll definitely be looking for a consultant to move us up the learn curve effectively. Do you have something that describes your consulting services and expertise?December 23, 2019 at 21:33 in reply to: Is there a way to see a char on one line in live variables #26936
I think I found the magic Google search secret. If I preface my search with GCC, I can find stuff that actually works in VisualGDB. I found string.h and that seems to have most of the functionality I’m looking for. Thanks again.December 23, 2019 at 21:03 in reply to: Is there a way to see a char on one line in live variables #26935
Live mode in the memory window worked really well and I’m assuming with much less overhead than adding printf statements. One more newbie question if you don’t mind. Are there any low overhead functions to do things like strchr, strncmp, strtok, etc?