Could not verift ST Device!. Remote GDB Server - debugging

I'm trying to debug my st device(STM32F401CCU6) remotely. I'm using raspberry pi 3 for debugger. I had install openocd on RPI. I set everything up in STM32CUBEIDE 1.8.0.
When I debug my code appears this message box. I search a while. I did configure "stm32f4xx.cfg" file for device ID.
RPI3 ready to debug
STM32CUBEIDE 1.8.0

I did solve with downgrade from STM32CUBEIDE v1.8.0 to v1.6.0. I can flash program and debug. But there is one more issue. I want to use live expressions when debugging. But it doesn't work like this.

Related

is it possible to run Omnetpp IDE in m1 based Mac?

I used all commands as in omnetpp installation guide (https://doc.omnetpp.org/omnetpp/InstallGuide.pdf) and also according to this answer. The $ make command worked and I also verified installation with:
$ cd samples/aloha
$ ./aloha
which started using qtenv.
but the problem is that the $ omnetpp command doest work with after printing
Starting the OMNeT++ IDE...
and eclipse IDE does not open.
is it possible to use this IDE in m1 Macs?
is there any alternate IDEs to workaround?
You did not specify what version of OMNeT++ you were trying to run. I'm assuming 5.6.
OMNeT++ 5.6 relies on the system-wide installed JRE to run the IDE. That may NOT be present on your system if you are running on ARM. OMNeT++ 6 and 5.7 comes with a built-in private JRE, so the IDE should work with those versions also in intel emulation mode.

Arduino IDE (Win10) crashes when I launch the program

My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message.
C:\Program Files (x86)\Arduino>arduino_debug.exe
Set log4j store directory C:\Users\volke\AppData\Local\Arduino15
Loading configuration...
Initializing packages...
java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.<init>(Base.java:273)
at processing.app.Base.main(Base.java:150)
C:\Program Files (x86)\Arduino>
Any solutions? I've tried to delete the config files package_index.json and package_esp32_index.json without any luck.
I've got the same issue - the nightly build seems to work
https://www.arduino.cc/download.php?f=/arduino-nightly-windows.zip
https://www.arduino.cc/en/Main/Software
I'm on Windows 10 having exactly this issue (same arduino_debug log).
I tried uninstalling Arduino IDE and then reinstalling it from executable installer; it worked fine until I opened the Board manager: the problem recurs.
After installing the beta version (arduino beta1.9-BUILD-119), I'm not having any problem.
Just use the latest Arduino IDE Beta Version. It is working now, ignoring that issue. I'm using the ESP8266 board and it's running okay.
The beta version 1.9 worked for me. https://www.arduino.cc/en/Main/Software
It also happens on Manjaro linux. In my case removing the folder .arduino15 solves the issue, but I have to remove it every time I open arduino IDE
rm -rf ~/.arduino15/
Win10 folder location:
%HOMEPATH%\AppData\Local

Goland Debugger not working with go version upgrade ( v1.11 -> v1.13) on mac

I upgraded golang from v1.11 to v1.13 in mac (mojave OS). The debugger started throwing error Test framework quit unexpectedly. The console output was
API server listening at: 127.0.0.1:xxxxx
Version of Delve is too old for this version of Go (maximum supported version 1.12, suppress this error with --check-go-version=false)
Debugger finished with exit code 1
I am unable to use debugger on goland since then, however delve as cli command is working. Dont know how to proceed? Also I cannot find any option to disable --check-go-version in goland?
Update your IDE to GoLand 2019.2.2 or newer and the issue will be solved.

Eclipse C++: Failed to execute MI command: -exec-run

I recently moved from Java to C++, and experiment using Eclipse CDT. I created a HelloWorld project, which compiled and run fine.
I then tried to enable the debugger, but couldn't get it running properly. Below is my debugger configuration (I am using gdb in Mac Sierra, gdb installed using homebrew, codesigned already). Please advice what additional setting I might need to do in order to get debugger work. Thank you!

Install headless Ubuntu server to VirtualBox on windows

I have recently started using VirtualBox to get my Linux environment rather than fully using Ubuntu. For me this works well. But recently i have realized that in the Ubuntu vm the only thing I use a lot is the terminal, mostly just because I need the Linux environment and not the full desktop.
So I tried installing Ubuntu server into a VM, which worked. But as soon as I reboot the machine, it fails after the system boot logo. After BIOS and where I would log on from the command line I simply get a black screen with a non blinking cursor. So I am never fully able to boot into the vbox.
I read up on the command line version, trying to run it headless and then connecting to it from demote desktop. after starting the vbox I am able to connect to the desktop and see the grub screen but after selecting Ubuntu I get that same non-blinking cursor.
So is this really possible? I tried cygwin but it never really felt adequate to me. I like and am very comfortable with the Ubuntu/Debian command line. How could I (if possible) accomplish this? I want to be bale to start up the VBox and get the full command line for that vbox session. Any ideas?
Ubuntu version: 10.10, VirtualBox v. 4.0.4 r70112 and I am on Windows 7 Ultimate.
You didn't mention the versions of Ubuntu and Virtualbox.
I failed twice to install full Ubuntu 10.10 over the latest VirtualBox 4.0.4 over Ubuntu (problems like those you describe), so I switched to Debian 6.0.
All you require to install Ubuntu headless is to install the server version, which you already did. If you get blank screens, tweak the ioapic settings in both VB and Ubuntu. Another tweak is to switch between IDE and SATA drivers for the main disk (the Grub in my non-virtualized Ubuntu hangs if there's USB media attached at boot time).
If you can run full Ubuntu on a VM, you can try downgrading it by removing the xserver-xorg package, or changing the default runlevel.
If all you want is a Linux consule, you can install Debian 6 without any GUI components.

Resources