GeneM

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • in reply to: Looking for some consulting help #30991

    GeneM
    Participant

    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.
    in reply to: Imported STM32CubeIDE project missing some things #30843

    GeneM
    Participant

    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.

    • This reply was modified 3 weeks, 5 days ago by  GeneM.

    GeneM
    Participant

    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.

    in reply to: Looking for some consulting help #30682

    GeneM
    Participant

    Exactly right. Thanks for the clarification.

    • This reply was modified 1 month, 2 weeks ago by  GeneM.

    GeneM
    Participant

    That worked perfectly.  Thanks.


    GeneM
    Participant

    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.

    Thanks again

    • This reply was modified 1 month, 4 weeks ago by  GeneM.
    Attachments:
    You must be logged in to view attached files.

    GeneM
    Participant

    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

    #ifndef _MEMORYFWD_H
    #define _MEMORYFWD_H 1

    #pragma GCC system_header

    //#include <bits/c++config.h>
    #include <c++config.h>

    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.

     

     

    in reply to: Will VisualGDB connect to Atmel SAM-BA bootloader? #29022

    GeneM
    Participant

    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?

    in reply to: Converting a STM32CubeIDE project #28466

    GeneM
    Participant

    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.

    in reply to: Will VisualGDB connect to Atmel SAM-BA bootloader? #27811

    GeneM
    Participant

    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.
    in reply to: Error with "using namespace …" #27783

    GeneM
    Participant

    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.

    in reply to: "Cannot load debug method description" error #27692

    GeneM
    Participant

    That fixed it, thanks.


    GeneM
    Participant

    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?


    GeneM
    Participant

    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.


    GeneM
    Participant

    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?

Viewing 15 posts - 1 through 15 (of 24 total)