Fullscreen
Loading...
 

System Workbench for STM32 - Debugging Help

Questions about debugging with System Workbench for STM32

Questions

Answers

Question: Why are peripheral registers values not displayed ?
Answer 

Peripherals registers cannot be displayed permanently because it would generate too much traffic on the debug link. Also, reading certain registers may have side effects (for UART reception registers for instance, the value may be lost after a read).
To see the values of a peripheral register, the register group it belongs to must be opened and the register must be selected by clicking on it.

Question: Why are "No source file named ..." warnings displayed the debug console ?
Answer 

The undue warning message is refering to sources from another project, it won't affect the debugging process. The IDE indexer is checking all the open projects and some functions name might be the same between project.

If you want the message not to be displayed, close the unrelated projects.

Question: Why debug does not launch when my device is connected to USB 3.0 port ?
Answer 

Some USB 3.0 Controllers (such as NEC/Renesas) has bug that prevents access to USB devices. Make sure to upgrade to the latest version of the controller driver to fix this issue.

For further information, please visit : https://github.com/libusb/libusb/wiki/Windows#usb-30-support

Question: Why can't I connect to the board, with error "Error in final launch sequence / Failed to execute MI command: / -target-select remote localhost:3333"
Answer 

If you get this error, first check your USB cable; some cables, like those delivered with some USB chargers, will only transfer power, but not data.
Open the Windows device manager; if your cable is correct you shoud see your board appear as a STLink dongle (under Universal Serial Bus devices).
Depending on the board (Nucleo boards as well as recent disco or eval boards) you will also see a Mbed Microcontroller device appear under Disk Drives
If you don't see any of these, try another cable, as this may be the problem.

Newest Forum Posts

  1. Error in final launch sequence by judoka_acl, 12:18
  2. STM32469I mipi read funtion by jimmylee0407, 11:38
  3. multiple definition of g_pfnVectors by mike796, 2017-07-20 15:27
  4. PROGMEM equivalent by bugmenot, 2017-07-20 11:31
  5. multiple definition of g_pfnVectors by judoka_acl, 2017-07-19 10:20
  6. PROGMEM equivalent by straubm, 2017-07-18 18:55
  7. Breakpoint at the wrong line by Andrei from The Great White North, 2017-07-18 18:01
  8. Breakpoint at the wrong line by judoka_acl, 2017-07-18 09:14
  9. Breakpoint at the wrong line by judoka_acl, 2017-07-18 09:01
  10. Breakpoint at the wrong line by tang, 2017-07-17 17:22

Last-Modified Blogs