Embedded Development

For help with the bus itself (not a specific product).
Posts: 207
Joined: Sun Sep 18, 2016 6:07 pm

Embedded Development

Postby rpu_bus » Fri Dec 08, 2017 2:47 pm

Let's talk for a second about designing embedded projects. There are some work amplifiers to know about.

First Linux.

learn enough Linux to throw away your Windows box

That would be a lot of Linux. Linux has a learning curve. But it also has tools that just work out of the box, and those tools are managed by the people doing the Linux distribution. This makes it worth learning how to use some Linux.

I don't sit at a Linux box and write code or layout circuit boards. I use a Windows 10 with programs I know and a few good displays so I can see everything.

I then set up the Linux Box to share files using Samba. I can then edit the files with an editor (e.g. Visual Studio Code is nice at this time).

I next set up the Linux Box so I can SSH into it. This allows running those commands to operate the tools on the Linux machine. So I can run "make" and it will use the Makefile to follow the rules.

The Linux machine does not even need a display, it can be headless, or it can be an old computer that once ran Windows XP or 7 but is too old for Windows 10.

There is always someone doing a hack to bring these tools to Windows:


[Windows Subsystem for Linux] (WSL) has made such projects nearly obsolete. Because you can install right from Debian to the Windows machine.

[Windows Subsystem for Linux]: https://docs.microsoft.com/en-us/windows/wsl/install-win10

Code: Select all

sudo apt-get update
sudo apt-get install make git picocom gcc-avr binutils-avr gdb-avr avr-libc avrdude
sudo usermod -a -G dialout your_user_name
git clone https://github.com/Optiboot/optiboot
cd optiboot

However, it is still a good practice to use a headless Linux to work with the embedded project.

I should confess that I have used Linux a lot so probably could get by fine with it on my main computer, but I still use Windows because I like it (somewhat). I do fear that my Windows computer will be owned some day.

Return to “Installation, Troubleshooting, and Usage”

Who is online

Users browsing this forum: No registered users and 1 guest