support

Forum Replies Created

Viewing 15 posts - 6,766 through 6,780 (of 7,813 total)
  • Author
    Posts
  • in reply to: Debugging ESP8266 #6966
    support
    Keymaster

    Hi,

    Does the correct firmware start now if you manually restart the board? I.e. does the program happen during debugging only or does the programming fail?

    in reply to: Stuck on Loading LinuxKernelDebugHelper Module #6963
    support
    Keymaster

    Hi,

    Normally, tracepoint_probe_register() should be defined in source/kernel/tracepoint.c. Is your kernel patched to exclude it? Does it show in /proc/kallsyms?

    support
    Keymaster

    Hi,

    This looks like a VisualGDB bug. Switching between the IntelliSense engines resets everything, so if the IntelliSense got stuck in some strange state, this would certainly reset it. However, we would need to know more in order to pinpoint it.

    Can you give an example of what happens when a class stops being recognized? Ctrl-Space lists other classes, but not this class? It stops reacting to changes? IntelliSense stops working completely? Are there any messages in the Clang IntelliSense diagnostics console?

    in reply to: MSVStudio #define passed to C/C++ per configuration #6961
    support
    Keymaster

    You can add something like “MYVAR=1” to the ndk-build command-line arguments and then check it from your Android.mak:

    ifeq($(MYVAR),1)
    LOCAL_CFLAGS += -DTEST
    endif

    Let us know if you need more details.

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

    Hi,

    Currently this is a bit not straight-forward with Segger. Please edit the %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.segger-dmsp\edp.xml file by removing the “load” command from GDBStartupCommands. We will add a configurable option to disable it in one of the next releases of the debugger package.

    in reply to: Application won't execute on RPi #6959
    support
    Keymaster

    Hi,

    Does it happen when you hit Ctrl-F5, or when you launch it manually on Raspberry Pi via SSH? Do you have any special environment/command-line arguments set? Does the deployment directory path contain any special characters?

    in reply to: ESP8266 Tutorials #6958
    support
    Keymaster

    Hi,

    This can be just some random ESP8266 glitch. Normally unplugging everything and replugging it back solves the problem.

    in reply to: ".s" startup files for STM32 projects #6957
    support
    Keymaster

    Your understanding of the startup sequence is correct. You can actually explore it visually it using Code Map if you are using the Clang IntelliSense:

    First, the Reset_Handler from startup.c gets invoked. Startup.c files is actually generated from the .s files and should be 100% compatible with them (i.e. use same vector names). We use the .c files instead of the original .s ones to support advanced features like DEBUG_DEFAULT_INTERRUPT_HANDLERS and also to make things more uniform across different architectures.

    The startup.c code does indeed copy the data section and erase the bss section. Then it calls device-specific initialization from the system_xxx.c file that is copied to your project folder and can be modified separately from other projects. If you just want to change HSI_VALUE/HSE_VALUE, you can edit the stm32fxxx_hal_conf.h for HAL projects or define HSE_VALUE via Preprocessor Macros in VisualGDB Project Properties for StdPeriph projects. For more complex changes, you would need to edit the system file. We would normally recommend switching to the STM32 HAL and then using the STM32CubeMX generator to generate the startup code automatically. If this is not an option, please replace your system file with a file from STM32 StdPeriph examples that matches your board configuration the best.

     

    in reply to: Import .so #6956
    support
    Keymaster

    Hi,

    Looks like the absolute Windows-style path got hardcoded into your application. Please try specifying the library name/directory separately in your linker arguments, i.e.:

    -LC:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\Iddk2000_3.3.0_ERelease_C++_Raspbian\sdk -lEIddk2000
    in reply to: Debugging ESP8266 #6955
    support
    Keymaster

    Which board are you using? What happens if you then unplug the board and plug it back? Does the new program start normally, the old program start normally, or does nothing happen at all?

    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.

Viewing 15 posts - 6,766 through 6,780 (of 7,813 total)