U
U
unixwz2016-06-25 22:48:53
linux
unixwz, 2016-06-25 22:48:53

How to develop for microcontrollers in linux?

Hello. Interested in a number of questions on programming AVR microcontrollers in Linux (Debian). Please respond to the people who are doing this.
1. Are there analogues of Proteus for Linux? It is highly desirable with the support of MK AVR. But first of all, at least just for simulating simple circuits.
2. How well things are with homemade programmers, such as crutches in the form of 5 wires for the LTP port and Chinese USB programmers for 5 bucks, as well as with normal programmers that support debugging using the jTag interface.
3. What development environment can you recommend for writing code in asma and syah? Is there any such environment or plugins for IDE like eclipse or VIM editor.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Armenian Radio, 2016-06-25
@gbg

1) qucs. There is no processor simulation in it, but he considers analogue and digital to be worthy
2) avrdude. Works with all junk, even bare FT232.
3) qtcreator with bare-metal plugin. Or native avr-studio under wine. Or even eclipse if you like this dump.

Z
Zlatoslav Desyatnikov, 2016-06-26
@pxz

1. Can't say
2. Avrdude - yes. To work with the AVR - that's it.
3. As an environment for C, I recommend clion from JetBrains.

S
svd71, 2016-07-10
@svd71

For ABP, everything fits perfectly and combines. True, for outdated controllers, I prefer to take the latest avr-gcc releases from the Arduino IDE - I climb into the jar file and unpack it into my directory, where I used it. Although now I prefer to install the Arduino IDE and develop directly in it. Avrdude is available, although he also added a graphical interface for it.
For debugging, I use a virtual machine with proteus and avr studio on board.
Programmers can be used both homemade and purchased. The only thing that is required is to set permissions to use a specific usb to a specific user in the rules /etc/udev/rules. Under root, even without rules, everything works.

D
de1m, 2016-07-13
@de1m

1. Proteus 7 under wine works well
2. Used cp2102 and ft232, works well too
3. I use eclipse. For it there is a module "AVR Eclipse Plugin" ( here )

P
Pavel Levshits, 2021-06-12
@levshx

3. Visual Studio Code, PlatformIO IDE plugin.
that on Windows that on Linux I used it: D it
seems that there will be no differences on Macos

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question