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


ac6 broken after starting eclipse without internet connection.

A few days ago, I had a perfectly configured eclipse environment using the ac6 workbench.

Then I started up eclipse when the internet connection was down and it all fell apart.

Firstly it said it could load something or other ... 1/15 trying to fix ... ( I did not write down the messages, not expecting it to turn into a two day debugging issue ).

Having failed to come up with any alternaive it opened up my previously used C files saying it did not have any editor configured. I recall this happening before the ac6 software was installed. So it seems that it needs to load this every time and is not stored off line.

I reconnected the network and restarted eclipse and reinstalled the ac6 software from eclipse : Help | Install new software.

This now displays my C files in the editor. However, it seems to have lost my project settings.

I recall that I needed to the use the distro arm-none-eabi-gdb on Fedora due to the libncurses issues. Same for openOCD. So both those are selected in Run | Debugging Config | Debugger

If I make a change to the source code, I can see the build process working, however, when it tries to start the debugger it fails and I don’t see it attempting to flash the board either.

The error displayed is as follows:

>>
Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Don’t know how to run. Try “help target”.
Don’t know how to run. Try “help target”.
>>

I had to add a new debug launcher under Project | Properties | Run/degub settings which it appended a “(1)” to so I imagine it is seeing my old one though this is not visible to me.


So why does ac6 fall apart when it does not find an active connection and what do I need to do to get it to program and run the debugger?

Thanks for any help sorting this out.

Hi

Your findings are interesting.

There is HTTP traffic to www.eclipse.orgQuestion after selecting the workspace when the launcher is started.

Here a snippet:

[pid  6844] recvfrom(127, "HTTP/1.1 200 OK\r\nDate: Tue, 28 Feb 2017 12:50:38 GMT\r\nServer: Apache\r\nLast-Modified: Tue, 28 Feb 2017 07:16:05 GMT\r\nETag: \"8d754-54991f8189740\"\r\nAccept-Ranges: bytes\r\nContent-Length: 579412\r\nX-NodeID: www-vm3\r\nX-Frame-Options: SAMEORIGIN\r\nKeep-Alive: timeout=3, max=200\r\nConnection: Keep-Alive\r\nContent-Type: application/zip\r\n\r\nPK\3\4\24\0\10\10\10\0mmtG\0\0\0\0\0\0\0\0\0\0\0\0V\0\0\0http/git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Launching.ecore\255T]o\0321\20|\347WX\327\276\346\fT\252*\4D\244%R$\22\241pD}5\276\345p\361\331\226?\370P\325\377\336=\3\27 D\242U\356\351d\317\214g\307\353\355\336nJIV`\235\320\252\227\264\322fB@q\235\vU\364\222iv\177\363-\271\3557\272\300\265\205\316p\314\370\222\25@6\245\350\324\244vEB\31\345:\270\336K\26\336\233\16\245\353\365:\325e\221j[\320\237\217\0175\304\235B\326_\"\242\335l\266\0206\232\360\5\224\354F(\347\231\342\2204\10~;f\364p\302\5.\205q\20\5\240\234W\"m:\254`\tQ\254D\260dA\361\5\26\203\vn\372\374\360.]\353\322,\250\3\37\f\255I\264\312#:Pnla.6\307\212}\334\351\302@)\355\231\307$\34q:X~\265\305~T\356\346\340\231\220\216,a\333K\\,\177\244yTL\310\212\311\360*X\10\177\"\310\367\266\361\377u\275ZI\21I\215dB\355Jr\264\3249HGG\7\367iL3\241\261\10z\\\305?\227u\34\335P\261\231\204\22\224\277X\336\212YQ\1\236\360r\352\342\"3\255sMM{g\353\234l\301h'\274\266\333\232\372\371\367\256\334`r\346!\rV\376\271\314\215\375$eu\366T\t\357j\205\267\321\235\333\231\3\363\301BZX\35\314\7\0066c\16\360>f \307V\257D\16\366bd\242\304\7w\207X\354\336\217\350\7#C\201i\\\300\234\27\0169\222\4\307\202\350<HI\365\354W\353\353\373\1|\227\31491\0278\26\10>\362\216\337\32t\272\37\34q\363\360(wM\2301\267\304a3\t\6l\206XwU\203\341\213\374D\351\244\372\217\2\373\310\376\267__\230\24yfEQ\240\355\275\330\371\r\370\303\366!\375I6x\316\246c\3628x\232\16Fu\303\275\311\244\3625\3616p\354\37&\357w}t!\234\201\307#f\301\237M-l\10\"\365\32\354\235\16*\307\341\234\354\355\21\2\3311\377\7\363\254Z W\315\35\214o\210\256\252\tv\270\313\243\253\303YOO\207}\277\361"..., 8192, 0, NULL, NULL) = 1452

14:27:31.055722 IP zweistein-wlan.lan.nichtgedacht.de.53474 > www.eclipse.org.http: Flags [S], seq 1708534244, win 29200, options [mss 1460,sackOK,TS val 11519371 ecr 0,nop,wscale 7], length 0
14:27:31.255994 IP www.eclipse.org.http > zweistein-wlan.lan.nichtgedacht.de.53474: Flags [S.], seq 1414635566, ack 1708534245, win 8760, options [mss 1452,eol], length 0
14:27:31.256034 IP zweistein-wlan.lan.nichtgedacht.de.53474 > www.eclipse.org.http: Flags [.], ack 1, win 29200, length 0
14:27:31.271155 IP zweistein-wlan.lan.nichtgedacht.de.53474 > www.eclipse.org.http: Flags [P.], seq 1:188, ack 1, win 29200, length 187
User-Agent: eclipse/oomph/1.7.0.v20170201-1631
Host: www.eclipse.org
14:27:31.475492 IP www.eclipse.org.http > zweistein-wlan.lan.nichtgedacht.de.53474: Flags [.], ack 188, win 15544, length 0
14:27:31.666504 IP www.eclipse.org.http > zweistein-wlan.lan.nichtgedacht.de.53474: Flags [.], seq 1453:2905, ack 188, win 15544, length 1452
j]y'.m.......d.......7.=c..e..(d....43...LD.....O.u.KbH~.m........D\...rY.?B    .]{..=.....t.~.PK..a.+.....)$..PK........mmtG............W...http/git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore.X.n.0.}.WD...mWZ..P...*Q..E.j.!u.........\.BWt.U+....x..3.....".....Jv...(.@2.s.t.......i...Lih.G.=...E.[....      .H...N.`m."d>.G*M"......21M..woqrtt.f....)=..X*......;=..^`.g...H...    .;.0.4E.LC...`p.../_..T.=...8-<.4#.S.hx...6.I
14:27:31.666544 IP zweistein-wlan.lan.nichtgedacht.de.53474 > www.eclipse.org.http: Flags [.], ack 1, win 31624, length 0
14:27:31.667094 IP www.eclipse.org.http > zweistein-wlan.lan.nichtgedacht.de.53474: Flags [.], seq 1:1453, ack 188, win 15544, length 1452
PK........mmtG............V...http/git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Launching.ecore.T]o.1.|.WX....T.*.D.%R$..pD}5..p...?.P...=.. D.U..d..g....nJIV`......fB@q..U..iv..-..7.....p....@6....vEB..:..K.......:.e.j[....5..B._"..l..6.....F(....4.~;f.p....q....W"m:.`     Q.D.dA.....n....]..,.....I..#:Pnla.6..}...@)...$.q:X~..~T......,a.K\,..yTL....*X..".....u.ZI.I.dB.Jr..9HGG..iL3...z\.?.u..P......X..YQ...r.."3.sMM{g..l.h'.........`r.!.V.....$eu.T    .j.........BZX....6c..>f .V.D..bd...w.X.....#C.i\....9.....<HI..W....|..91.8..>....t...q..(wM.1..a3      .l.XwU....D.........__..yfEQ.........!.I6x..c.8x..Fu.....5.6p..&.w}t!.
...


Mostly images and this git repo
http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/Question

Dieter

Well, I guess it is doing git pull to get the latest version. Something I didn’t ask for and don’t need if I have a working debugger !

Neither is this much help if it is not properly error trapped and is going to trash my IDE everytime the network is down.

If I wanted to develop “on the clound” I would not be setting up a stand alone dev. system on my machine.