support

Forum Replies Created

Viewing 15 posts - 6,691 through 6,705 (of 7,728 total)
  • Author
    Posts
  • in reply to: Importing CooCox IDE project into VisualGDB #6951
    support
    Keymaster

    Hi,

    No problem. Please contact our sales to get a trial extension voucher.

    in reply to: Importing CooCox IDE project into VisualGDB #6945
    support
    Keymaster

    Hi,

    Sorry for the late reply. We have published a detailed tutorial on importing CooCox projects into Visual Studio: http://visualgdb.com/tutorials/arm/coocox/

    in reply to: How to attach a running device(stm32) using segger Jlink? #6939
    support
    Keymaster

    The exact answer depends on the debug method you are using. Generally each method provides a setting that allows selecting whether you want to program the firmware or assume it’s already programmed.

    If you are not sure, let us know which debug method you are using so that we could help you locate the settings.

    in reply to: VisualGDB 5 (r5): Embedded BSPs with mixed C/C++ code broken #6938
    support
    Keymaster

    Hi,

    Normally the extra initialization code should be placed into a separate Embedded Framework, not into the sample.

    If you absolutely need to make it a part of the sample, you can add the following element to the EmbeddedProjectSample element in the sample.xml file:

    <DoNotUpgradeCToCpp>true</DoNotUpgradeCToCpp>
    in reply to: ESP8266 Tutorials #6937
    support
    Keymaster

    No problem. If you encounter further problems, feel free to post them on the forum.

    support
    Keymaster

    Hi,

    The BSP cannot override those settings, however the BSP can define embedded frameworks that can be referenced by the project and the frameworks may in turn define extra files and flags.

    In fact, our BSP-related code is open-source, so you may find some useful examples here: https://github.com/sysprogs/BSPTools/

    in reply to: USBDM #6935
    support
    Keymaster

    Hi,

    The dongle does not seem to be very popular, so we won’t be adding a special plugin for it in the near future. However if there is a gdb server that supports it, you can configure VisualGDB to use it by selecting the “Custom GDB Stub” in the debug method selector. If that does not work, feel free to post the problem description here and we will try to help you get it to work.

    in reply to: ESP8266 Tutorials #6923
    support
    Keymaster

    Hi,

    This looks like a connection problem. Please double-check that all the JTAG connections (TDI, TDO, TMS, TCK) match the layout used with the EVB board. Also try resetting the board manually, but ensure that the reset is disconnected from the JTAG reset (xt-ocd has a bug with the reset on FT2232-based programmers). Finally try lowering the JTAG rate to 1 MHz or even lower.

    support
    Keymaster

    Hi,

    The easiest way to do both would be to remove all files from solution explorer and re-import them via right-click->Add->Import Folder Recursively. There you can also enable an option to bypass the Source Files/Header Files folders.

    in reply to: __libc_init_array problems #6918
    support
    Keymaster

    Hi,

    We have just rechecked the latest toolchain with another Cortex M3 MCU (STM32F100VB) and could not reproduce the problem, so the fault is not caused by ARM vs Thumb problem.

    In order to pinpoint the problem, please use the call stack window together with the disassembly view to find a specific instruction that causes the fault. If this is not helpful, open the Disassembly view before stepping into __libc_init_array() and then step into it, doing one instruction at a time until the fault occurs. If the fault happens on a memory accessing instruction, please check the address used in that instruction. If it is outside the FLASH/RAM ranges, something got wrong with the memory map (e.g. a bug in the linker script or a wrong address somewhere).

    in reply to: Compiling disabled #6917
    support
    Keymaster

    Hi,

    Unfortunately, compiling individual files is not yet supported. VisualGDB uses GNU Make as the build system and in this mode Visual Studio can only pass “build project”, “rebuild project” and “clean project” commands, but not individual file commands.

    in reply to: VisualGDB doesn't link libraries #6912
    support
    Keymaster

    Hi,

    Please try locating the file that defines the UtilInit() function. If it is a C file, ensure that the declaration in the .h file (or the #include<> directive including the .h file) is wrapped with extern “C” {}.

    in reply to: Problems with STM32CubeMX and VisualGDB #6911
    support
    Keymaster

    Hi,

    VisualGDB 4.3 does not support the latest STM32 BSP that is required to use STM32CubeMX.

    After you upgraded to 5.0 please upgrade your STM32 BSP via Tools->Embedded Tools Manager and then try following the tutorial from the beginning. This should get all paths to work.

    in reply to: STM32L151 Problem #6910
    support
    Keymaster

    Hi,

    Texane ST-Link is separate from OpenOCD, however it’s also buggier. You can try using it, however you may need to unplug and replug your ST-Link if it starts behaving strangely.

    Can you verify the lost variables problem with the following program?

    int g_Global = 123;
    int main()
    {
        if (g_Global != 123)
            asm("bkpt 255"); 
    }

    Does it trigger the breakpoint? What is the address of g_Global?

    in reply to: Problems with STM32CubeMX and VisualGDB #6906
    support
    Keymaster

    Hi,

    Are you using the latest VisualGDB 5.0 and the latest STM32 BSP? Does the normal LEDBlink (HAL) project build correctly?

Viewing 15 posts - 6,691 through 6,705 (of 7,728 total)