dave93cab

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: ESP32 toolchain test failed #27876

    dave93cab
    Participant

    Did you install libusb driver for your debugger

    in reply to: ESP32 w JTAG (tumpa) #25101

    dave93cab
    Participant

    FYI updated to 20190603 ESP32 debug package and it doesn’t work.

     

    Thanks

    in reply to: ESP32 w JTAG (tumpa) #25035

    dave93cab
    Participant

    Here is output from openocd as provided by espressif:

    And here is same command executed is visualgdb folder:

     

    replacing bin and share in visualgdb folder seems to have worked. Any issues running this way?

     

    Thanks

    • This reply was modified 1 year, 1 month ago by  dave93cab.
    in reply to: ESP32 w JTAG (tumpa) #25028

    dave93cab
    Participant

    I also get this when I try to use the regular embedded project wizard:

    I can’t help but think my install is borked or something..

     

    VisualGDB version: 5.4.105.3154
    ------------------ hb+q ------------------
    hb+q: Failed to start process (C:\SysGCC\esp32\opt\xtensa-esp32-elf\bin\make.exe -v): The system cannot find the file specified ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at hb.n()
    --- End of inner exception stack trace ---
    at hb.n()
    at pm1.l1(gf1 e, String c, String b, String a, ExpandedEnvironment d, CommandFlags f)
    at he.v1(String c, String b, String a, ModifiedEnvirionment e, lq1 d, Int32 f, CommandFlags g)
    at er1.b(he g, String c, ModifiedEnvirionment h, Regex i, Regex e, Int32 d, lq1 a, Boolean f, String b)
    at er1.e(he c, String a, ModifiedEnvirionment e, lq1 b, Boolean d)
    at ji1.n(bd1 a, Dictionary2 b)
    at xm1.g(bd1 a)
    at VisualGDB.Common_GUI.WPF.ItemizedProgressWindow.<>c__DisplayClass2_2
    1.<RunAction>b__0()
    ------------------ Inner exception ------------------
    ------------------ System.ComponentModel.Win32Exception ------------------
    System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at hb.n()

    Attachments:
    You must be logged in to view attached files.
    in reply to: Use stm32CubeMX and c++ #7468

    dave93cab
    Participant

    Sorry for being spammy, I can’t seem to edit my posts. I updated the makefile manually like so:

    $(BINARYDIR)/main.o : Src/main.c $(all_make_files) |$(BINARYDIR)
    $(CC) $(CFLAGS) -x c++ -c $< -o $@ -MD -MF $(@:.o=.dep)

    If someone has a better solution let me know. I know I should be declaring my classes outside of main.c, am a bit of a noob just messing around. Cheers

    in reply to: Use stm32CubeMX and c++ #7467

    dave93cab
    Participant

    Disabled resharper and that solved the uint32_t issue.

    Renaming main.c to main.cpp solved the adding a class issue. Regenerating with stm32cubeMX creates a brand new main.c file though instead of merging with the existing one..

Viewing 6 posts - 1 through 6 (of 6 total)