

VisualGDB will automatically index your sources (and the STM32 package sources) and will let you navigate through them using CodeJumps.VisualGDB will automatically update your makefile and synchronize IntelliSense settings: you can reference various frameworks included in the STM32 package via the Embedded Frameworks page. You can customize various project settings by right-clicking on the project node in Solution Explorer and selecting “VisualGDB Project Properties”.Press F10 to step over the line that turns on the LED.You can debug your firmware just like an ordinary Windows program: Set a breakpoint inside the loop and press F5 to start debugging. Ensure that Windows recognizes the device and loads the appropriate drivers. To start debugging it simply power on your board and connect the JTAG debugger to it.VisualGDB will generate a Visual Studio project for your STM32 device. Use the “Test” button to automatically test the connection to the device:.Once installed, specify its location in the “Segger J-Link directory” field: If you have not installed the Segger software package yet, follow the link in VisualGDB wizard to install it.VisualGDB will let you automatically download the debug method package if it is missing: If you want to use ST-Link or another JTAG/SWD debugger, simply select it from the list instead. In this tutorial we will show how to use VisualGDB with Segger J-Link using the Segger Software package.Simply plug it into the USB port and select it in the list: VisualGDB will automatically detect and configure most of the JTAG/SWD adapters. On the last wizard page you can select a debug method.You can select the port number and the blinking delay on the next page: VisualGDB will generate the default ‘Blinking LED’ sample project.

