cancel
Showing results for 
Search instead for 
Did you mean: 

breakpoints have no effect - systemworkbench (eclipse)

IYetk
Associate III

I am trying to debug my M4 program on systemworkbench (eclipse) for the board stm32mp157c-dk2 and the host computer is ubuntu. I have set breakpoints in normal flow and also in exceptional flows in the program. Program works very well in debug and I can see the outputs via my qt program on linux side on mini display. But the flow never stops by breakpoints. The breakpoints have no effect. I am doing the following steps correctly. Please tell me what is missing or what I am doing false...

  1. build the project in eclipse
  2. select production mode in debug configuration because the program is based on the example "OpenAMP_TTY_echo"
  3. give the ip address in debug configuration
  4. right click on project and select Debug As --> ST's STM32 MPU C/C++ Application

And this is the log on console when the debug starts

Open On-Chip Debugger 0.10.0+dev-01124-gbfb41e6 (2018-11-16-15:00)
Licensed under GNU GPL v2
For bug reports, read
	        http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
cortex_a interrupt mask on
cortex_a interrupt mask on
cortex_a domain access control fixup on
cortex_a domain access control fixup on
3333
none separate
adapter speed: 5000 kHz
adapter_nsrst_assert_width: 200
adapter_nsrst_delay: 200
none srst_pulls_trst
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
ap 0 selected, csw 0x10006000

And the pop up which is coming and that I dont think it is a serious problem (not sure) is here:

0690X00000AqD1aQAF.png thanks in advance !

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @IYetk​ 

Pop up error is a serious problem.

May I recommend to attempt a reinstallation of SW4STM32 ?

Else we are announcing STM32CubeIDE V1.1.0 which is now the new reference eclipse IDE for STM32MP1 and is about to be available on st.com

Refer to new MP1 Ecosystem Release note:

https://wiki.st.com/stm32mpu/index.php/STM32MP15_ecosystem_release_note_-_v1.1.0

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @IYetk​ 

Pop up error is a serious problem.

May I recommend to attempt a reinstallation of SW4STM32 ?

Else we are announcing STM32CubeIDE V1.1.0 which is now the new reference eclipse IDE for STM32MP1 and is about to be available on st.com

Refer to new MP1 Ecosystem Release note:

https://wiki.st.com/stm32mpu/index.php/STM32MP15_ecosystem_release_note_-_v1.1.0

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
IYetk
Associate III

OK i see.

I think I will work with STM32CubeIDE V1.1.0

thanks

SInce I had lots of difficulties and challenges when I installed SW4STM32 on ubuntu , I dont actually want to deinstall or reinstall it.

Because I dont want to lose my environment before project deadline.

Do you think it is OK if I install STM32CubeIDE V1.1.0 on the same ubuntu machine without touching the SW4STM32 ?

(I will work only with STM32CubeIDE V1.1.0)

Olivier GALLIEN
ST Employee

Hi @IYetk​ 

Yes it's safe to install CubeIDE V1.1.0 on same time as SW4STM32

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.