Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


OpenOCD stopped working

Denmark

Now what the F... did I do to kill my setup ??

All was working PERFECT...debugging, single steppeing.. was SOOO happy :-)

Win 7, AC6 1.8.0.201603291052, STM32F302RET6

But then i rebooted my computer.. updated STLinkV2 (was this my mistake ??)
(have tryed downgrading with some old and relative new firmware, no success)

and now i can’t get any connection to my target fron AC6 :-(

STLinkUtil works fine. and connect without problems.

but trying from AC6:
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.
localhost:3333: The system tried to join a drive to a directory on a joined drive.

What can i do to test connection From AC6 -> OpenOCD -> STLink -> Target ??

I can give to TeamViewer ACCESS if you would like to see for your self..

/M

...page...


	071,681 2-gdb-version
	071,691 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs\n"
	071,692 ~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
	071,692 ~"License GPLv3+: GNU GPL version 3 or later \nThis is fre\
	e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
	ed by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
	071,692 ~"This GDB was configured as \"--host=i686-w64-mingw32 --target=arm-none-eabi\".\nType \"sho\
	w configuration\" for configuration details."
	071,692 ~"\nFor bug reporting instructions, please see:\n"
	071,692 ~".\n"
	071,692 ~"Find the GDB manual and other documentation resources online at:\n.\n"
	071,692 ~"For help, type \"help\".\n"
	071,692 ~"Type \"apropos word\" to search for commands related to \"word\".\n"
	071,692 2^done
	071,693 (gdb) 
	071,695 3-environment-cd S:/workspace/test
	071,702 3^done
	071,702 (gdb) 
	071,703 4-gdb-set breakpoint pending on
	071,712 4^done
	071,712 (gdb) 
	071,712 5-enable-pretty-printing
	071,722 5^done
	071,722 (gdb) 
	071,722 6-gdb-set python print-stack none
	071,732 6^done
	071,732 (gdb) 
	071,733 7-gdb-set print object on
	071,742 7^done
	071,742 (gdb) 
	071,742 8-list-thread-groups
	071,743 9-gdb-set print sevenbit-strings on
	071,752 8^done,groups=[{id="i1",type="process"}]
	071,753 (gdb) 
	071,753 9^done
	071,753 (gdb) 
	071,754 10-gdb-set charset ISO-8859-1
	071,762 10^done
	071,762 (gdb) 
	071,763 11-gdb-set dprintf-style gdb
	071,772 11^done
	071,772 (gdb) 
	071,774 12source .gdbinit
	071,782 &"source .gdbinit\n"
	071,782 &".gdbinit: No such file or directory.\n"
	071,782 12^error,msg=".gdbinit: No such file or directory."
	071,782 (gdb) 
	071,783 13-gdb-set auto-solib-add on
	071,792 13^done
	071,792 (gdb) 
	071,795 14symbol-file S:\\workspace\\test\\Debug\\test.elf

	071,802 &"symbol-file S:\\\\workspace\\\\test\\\\Debug\\\\test.elf\n"
	071,802 ~"Reading symbols from S:\\workspace\\test\\Debug\\test.elf..."
	071,803 ~"done.\n"
	071,813 14^done
	071,813 (gdb) 
	071,813 &"\n"
	071,814 ^done
	071,814 (gdb) 
	071,814 15-target-select remote localhost:3333

	085,867 15^error,msg="localhost:3333: The system tried to join a drive to a directory on a joined dr\
	ive."
	085,867 (gdb) 
	085,867 &"\n"
	085,867 ^done
	085,867 (gdb) 

Hi, I remember an old post with similar issue :
Some USB 3.0 Controllers (such as NEC/Renesas) have a bug that prevents the binary to be downloaded to the board.
Please, may you check you are using the latest version of the controller to fix this issue.
Note that sometimes, the device manager seems to be up to date but the issue is fixed after executing the setup provided in the zip.
It can be downloaded from :
https://s3.amazonaws.com/plugable/bin/2014-03-Plugable-Renesas-USB-3.0-200-2.1.39.0.zipQuestion

Keep in mind that it is not possible to get both STLinkUtil and SW4STM32 connected to the target simultaneously.


Denmark

I know both’s can’t be connect..

but using STLink-Util to test that ST-Link-V2 is pressent and working. and then close ST-Util again.

i’ll just check if it’s in a USB3, and move it to a USB2.

/M


Denmark

THANKS, for leading me to the USB3 bug

Plugged into a USB2.. it works :-)

And... yes... my computer have not been rebooted for days.. and yes..
some days ago.. i played with my USB3 drivers to get my saleae 16 Pro to work... it also failed completely (still don’t work on USB3)
So guess i still have driver problems.. but i can debug YEHAAA :-)

Life Saver :-)

Funny i Never came across that as a possibility.

/M


Hi,
Thank you for this feedback. It is a very good news.
I’m happy it helped.
Cheers