Can you browse to the folder where CubeProg is bundled inside CubeIDE plugin folder structure? Can you launch it from command-line?.Read the log-file, does CubeProg fail to spawn for any specific reason?.file_utils_spawn(): Spawning "C:\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.cubeprogrammer.win32_1.01291314\tools\bin\STM32_Programmer_CLI.exe -connect port=SWD mode=UR reset=hwRst -erase all -log C:\Users\norlandm\AppData\Local\Temp\STM32CubeProgrammer_a22632.log" spawnCubeProgrammer(): - Switching to STM32CubeProgrammer. It will get you some extra log level info. Try enabling the log-file in the debug configuration. This is the full output from the implicit CubeProg invocation. Time elapsed during download operation: 00:00:01.178Īll the output in bold is missing in your log-output. Opening and parsing file: ST-LINK_GDB_server_a11132.srecĮrasing memory corresponding to segment 0: Here is where things seem to fail.ĭevice name : STM32F405xx/F407xx/F415xx/F417xx With ST-LINK GDB-server the flash related operations are carried out by invoking STM32CubeProgrammer_CLI. Looking at the log output the launch configuration (used to launch debugger or only to flash, which is your use case) is setup relying on the default ST-LINK GDB-server. So, you are trying to flash the application to the target without debugging? Hi "But when I hit Run main I get (onboard LD1 blinking red and green):" 1,28 GB less free space on my HDD! And I cant find from where this space was taken as neither the repository, neither the workspace_1.6.1 folder, neither the app increased in size.Īnny suggestions on how to get it unstucked? Would be much appreciated. Also what is really strange, every time I try to Run or Debug, I have aprox. I tried adding "monitor flash mass_erase" to the initialization commands, but it didnt help. Starting server with the following options: Version 5.8.0Ĭopyright (c) 2020, STMicroelectronics. (took 221ms)īut when I hit Run main I get (onboard LD1 blinking red and green): To the while (1) loop (user code begin 3) in the main and set LD2 pin as output in the pinout view.ġ2:11:40 **** Incremental Build of configuration Debug for project first_blinking_LED ****Īrm-none-eabi-size first_blinking_LED.elfġ2:11:41 Build Finished. I also updated the firmware on the ST-link to the newest one when prompted.įor the very first program I just wanted to make it blink to see if it works, so I created a project according to the tutorials, added: Im just starting with the nucleo board STM32L476RG using mac (10.13.6) and cube IDE 1.6.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |