element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog HARTING MICA: Get Debian Buster Running
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: Jan Cumps
  • Date Created: 4 Dec 2020 6:21 PM Date Created
  • Views 963 views
  • Likes 3 likes
  • Comments 2 comments
Related
Recommended
  • cross-compiling
  • harting
  • arm

HARTING MICA: Get Debian Buster Running

Jan Cumps
Jan Cumps
4 Dec 2020

I'm revisiting the Harting MICA Complete IIoT Starter Kit.

A new Debian 10 Buster container is available. I'm discussing the minimal steps to get it running as a Linux service with remote C++ debugging.

 

image

 

 

Get Debian Buster Running


The image is available form the Harting Mica container repository. It's a full debian, lightweight.

I want to use it in a C++ scenarrio. It has to be able to run my C++ executables and if possible, allows me to debug them from my Windows computer.

 

Although the Debian distro does not come with a compiler, it can execute GCC-made Linux executables compiled for Arm architecture.

So by default the only thing you need is a mechanism to get your executables on the system.

There are two easy options. One is using an sd card.

You can then move your binaries, set the executable flag, and you're done.

 

 

Turn it into a Debugable Environment, and other user tricks

 

Change the password. Even better, also create a new non-root user. Install sudo.

 

Provide a secure way to uploade your developments via scp: install an ssh server and use (win)scp to deploy the files.

This is as easy as running:

 

apt update
apt-get install openssh-server

 

Put your public key in the ~/.ssh/authorized_keys file and allow Putty, WinSCP and Eclipse to connect, upload, debug without password.

 

Install gdbserver so that you can use Eclipse on your Windows PC to build, upload and remotely debug your application.

 

apt install gdbserver

 

image

 

A 20 minute activity to turn the Debian Buster container into a lean environment, where you can develop and debug with IDE support and native Linux, with little load on the Mica..

Later you can uninstall the gdbserver and ssh server.

 

Related Blog
HARTING MICA: Develop and Debug a C GPIO Example in Eclipse - Part 1: User Experience
HARTING MICA: Develop and Debug a C GPIO Example in Eclipse - Part 2: MICA Debian Stretch Setup
HARTING MICA: Develop and Debug a C GPIO Example in Eclipse - Part 3: Eclipse Configuration on Windows
HARTING MICA: Develop and Debug a C GPIO Example in Eclipse - Part 4: Build and Debug the GPIO Example
HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL
HARTING MICA: Manage Access to USB and other Devices
HARTING MICA: SD Card as Shared Storage
HARTING MICA: Alpine Linux and another MQTT Container with Certificate and TLS/SSL
HARTING MICA: Connect to Amazon Web Services
HARTING MICA: Install Java 8 VM in a Debian Stretch Container
HARTING MICA: Read BOSCH CISS Sensor with Java - part 1: USB Connect and Listen
HARTING MICA: Get Debian Buster Running
Harting MICA Complete IIoT Starter Kit - Review
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 4 years ago +2
    I'm trying the fairly recent Cloud Integration container next. The name is a bit fuzzy, it could mean anything. What it is: a decision and routing engine, that can route messages from (say) internal services…
  • DAB
    DAB over 4 years ago +1
    Nice post Jan. DAB
  • Jan Cumps
    Jan Cumps over 4 years ago

    I'm trying the fairly recent Cloud Integration container next.

    The name is a bit fuzzy, it could mean anything.

     

    What it is: a decision and routing engine, that can route messages from (say) internal services to cloud services based on decisions.

    Add a mapping engine and you have half an EDI platform...

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Nice post Jan.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube