Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libMiniDump.so error on Ubuntu 16.04 #32

Open
fcooper opened this issue Sep 18, 2019 · 3 comments
Open

libMiniDump.so error on Ubuntu 16.04 #32

fcooper opened this issue Sep 18, 2019 · 3 comments

Comments

@fcooper
Copy link

fcooper commented Sep 18, 2019

OS: Ubuntu 16.04
IDE Version: Energia 1.8.7E21
Board: MSP_EXP432P401R
Core: MSP432 EMT Red v5.23.1

When building a program on a laptop running Ubuntu the students kept getting this compile error. Based on google search it seems the compiler requires this package. But we were unable to find a solution. This prevented the student from compiling any program.

IMG_2086

@robertinant
Copy link
Member

libMiniDump.so is part of DSLite. I will try to recreate it here with Ununtu 16.04.

@robertinant
Copy link
Member

I gave this a try on Ubuntu 16.04.2 LTS and am not able to reproduce the issue. See output below.
Could the user in a terminal do the following?:

  • cd ~/.energia15/packages/energia/tools/dslite/8.2.0.1400/
  • find . -name libMiniDump.so

It should reproduce something like:
./common/bin/libMiniDump.so

Below is the output from my test uploading to the MSP432 under Ubuntu 16.04.

/home/a0273864/.energia15/packages/energia/tools/dslite/8.2.0.1400/DebugServer/bin/DSLite load -c /home/a0273864/.energia15/packages/energia/tools/dslite/8.2.0.1400/MSP_EXP432P401R.ccxml -f /tmp/arduino_build_102118/Blink.ino.elf
DSLite version 8.2.0.1400
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: CORTEX_M4_0
Executing Startup Scripts: CORTEX_M4_0
Connecting...
GEL: CORTEX_M4_0: GEL Output: Memory Map Initialization Complete
GEL: CORTEX_M4_0: GEL Output: Halting Watchdog Timer
GEL: CORTEX_M4_0: WARNING : On MSP432P401R hitting a breakpoint cannot be detected by the debugger when the device is in low power mode.
Click the pause button during debug to check if the device is held at the breakpoint.
Loading Program: /tmp/arduino_build_102118/Blink.ino.elf
Preparing ...
.text: 0 of 39308 at 0x0
.text: 32752 of 39308 at 0x0: 64%
.data: 0 of 3084 at 0x998c: 78%
.data: 0 of 8 at 0xa598: 84%
Finished: 84%
Setting PC to entry point.: 84%
Running...
Loading Symbols: /home/a0273864/.energia15/packages/energia/tools/dslite/8.2.0.1400/emulation/gel/images/msp432p401r/revC/msp432_driverlib_rom_image.out
loading DWARF line information
loading DWARF Debug Info: 1%
.....
loading DWARF Debug Info: 91%
loading DWARF Debug Info: 92%
loading DWARF Debug Info: 93%
loading ELF symbols: 93%
sorting and removing duplicate symbols: 100%
Success

@robertinant
Copy link
Member

One possible cause is an incomplete install of DSLite. This can happen when the user prematurely cancels the installation of the core through the board manager. Solution is to uninstall the core and reinstall.

Closing this for now. If it pops up again and the user is able to provide more details, we can reopen this and investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants