Gordon01

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28921
    Gordon01
    Participant

    This build works!

    Sorry for the late answer.

     

    in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28866
    Gordon01
    Participant

    I’m getting this error after clicking “OK” in the “Edit Path Mapping” dialog.

    But I have .quickdbg file under %LOCALAPPDATA%\VisualGDB\QuickDebugPresets

    VisualGDB version: 5.5.7.3666
    —————— System.ArgumentException ——————
    System.ArgumentException: Settings file path not specified
    в VisualGDB.VisualGDBProjectSettings2.SaveAsOrThrow(String settingsFilePath, Boolean updateCurrentFileName)
    в VisualGDB.Add_In.Tool_Windows.WPF.GDBSessionToolControl.editMappings_Click(Object sender, RoutedEventArgs e)
    trace=[VisualGDB.VisualGDBProjectSettings2.SaveAsOrThrow:21, VisualGDB.Add_In.Tool_Windows.WPF.GDBSessionToolControl.editMappings_Click:503]

    in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28863
    Gordon01
    Participant

    I’ve attached a log file.

     

    I wonder, could it be because “Quick debug” dialog doesn’t respect the project’s path mapping?

    Attachments:
    You must be logged in to view attached files.
    in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28746
    Gordon01
    Participant

    Thank you.

    However, I’m still getting “Frame not in module”

    Path in the ELF file looks strange:

    — \mnt\c\Projects\pwr_meter\apps\pwrmeter\main.c —————————–

     

    Attachments:
    You must be logged in to view attached files.
    in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28742
    Gordon01
    Participant

    I’m getting ‘Frame not in module”

    I think this is probably due to different path in the ELF file because it was compiled under WSL.

     

    Attachments:
    You must be logged in to view attached files.
    in reply to: VisualGDB for Cypress PSOC #28688
    Gordon01
    Participant

    Cool!

    Sadly, I only have PSoC 5LP around.

    in reply to: VisualGDB for Cypress PSOC #28626
    Gordon01
    Participant

    I use them too, I think, the main complication is the GUI for UDB itself and other miscellaneous things like clocks and GPIO matrix

    in reply to: VisualGDB for Cypress PSOC #28618
    Gordon01
    Participant

    +1 for PSoC.

    Keil is too old-school after Visual Studio, VisualGDB and ReSharper.

    in reply to: Porting RIOT OS GNU MAKE project to VisualGDB #28617
    Gordon01
    Participant

    If you do not want to spend time learning the autotools/Make internals, or porting the project from WSL to Windows-based build tools, please try importing the project as a Linux-based project built with external tools under WSL and make sure the manual build command line matches one that is already working. As long as both VisualGDB and the manual build are using WSL, they should produce identical results.

    Thank you, this works easily.

    But how do I debug and flash it?

    in reply to: Failed to compile TinyEmbeddedTest.cpp #27177
    Gordon01
    Participant

    stm32.props contains a line with:

    TINY_EMBEDDED_TEST_HOOK_STDIO=$$com.sysprogs.testsettings.redirect_stdio$$

     

    Changing setting “Redirect printf() to Test Output” changed the previous line to TINY_EMBEDDED_TEST_HOOK_STDIO=0 so it works normal now

    in reply to: Creating ESP32 MSBuild project failed #26000
    Gordon01
    Participant

    Thank you. Maybe then ESP32 option should be deleted from regular Embedded Project Wizard?

    Gordon01
    Participant

    Thank you, guys, you’re the best!

    in reply to: Delayed Resets #25813
    Gordon01
    Participant

    That’s a nice addition, it should be ON by default)

    Gordon01
    Participant

    Oh, It’s not so clear from the first try.

    Cortex-M0+ doesn’t allow to read core debug registers from software at all! https://community.st.com/s/question/0D50X00009XkbSDSAZ/detect-debugger-connected-to-stm32l0-

    in reply to: Debug in STOP mode, how it should work? #25773
    Gordon01
    Participant

    OK, I’ve googled more thoroughly and discovered that I missed enabling DBGMCU interface with

    __HAL_RCC_DBGMCU_CLK_ENABLE();

    Looks like it’s now working as intended (except for increased power consumption).

    But “Live Variables” still not work properly: it shows 0 most of the time and the real value for just a fraction of second.

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