Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
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?
support
KeymasterHi,
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?
September 22, 2015 at 23:34 in reply to: Have to switch between VS Intellisense and Clang I/S Constantly for it to work #6962support
KeymasterHi,
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?
support
KeymasterYou 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.
September 22, 2015 at 23:28 in reply to: How to attach a running device(stm32) using segger Jlink? #6960support
KeymasterHi,
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.
support
KeymasterHi,
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?
support
KeymasterHi,
This can be just some random ESP8266 glitch. Normally unplugging everything and replugging it back solves the problem.
support
KeymasterYour 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.
support
KeymasterHi,
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
support
KeymasterWhich 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?
support
KeymasterHi,
No problem. Please contact our sales to get a trial extension voucher.
support
KeymasterHi,
Sorry for the late reply. We have published a detailed tutorial on importing CooCox projects into Visual Studio: http://visualgdb.com/tutorials/arm/coocox/
September 18, 2015 at 07:06 in reply to: How to attach a running device(stm32) using segger Jlink? #6939support
KeymasterThe 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.
September 18, 2015 at 07:04 in reply to: VisualGDB 5 (r5): Embedded BSPs with mixed C/C++ code broken #6938support
KeymasterHi,
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>
support
KeymasterNo problem. If you encounter further problems, feel free to post them on the forum.
-
AuthorPosts