System Workbench with STM32CubeMX troubles
Hey,
I’m new to this kind of programming and I’m having a lot of trouble even setting up the environment to program my discovery board (STM32F411E-DISCO with STMF411VE microcontroller).
I’m using Ubuntu 18.04 LTS and I’ve installed Cube and the workbench, and the libusb, the stlink drivers.
So I choose the discovery board in STM32CubeMX and I let it set everything to default and generate the code for SW4STM32.But when I try running said code (as Ac6 c/c++ ... something) I get the following output.
Info : Target voltage: 2.907282
Info : Stlink adapter speed set to 1800 kHz
Info : STM32F411VETx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800456c msp: 0x20020000
configuring PLL
Info : Stlink adapter speed set to 4000 kHz
adapter speed: 4000 kHz
- Programming Started **
auto erase enabled
Info : device id = 0x10006431
Info : flash size = 512kbytes
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000046 msp: 0x20020000
wrote 32768 bytes from file Debug/v3.elf in 0.983839s (32.526 KiB/s)
- Programming Finished **
- Verify Started **
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20020000
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20020000
verified 18492 bytes in 0.185701s (97.246 KiB/s)
- Verified OK **
- Resetting Target **
Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
shutdown command invoked
As I said my experience with electronics is very limited, help would be much appreciated.