toolchain for linux

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

 

Are there any reliable toolchains/IDE for 8bit AVR devices on Linux (debian) ?  Is it possible to successfully run AVR Studio 4 on Linux, e.g with Wine ?
 

I'm currently using Atmel Studio 7.0.1931 on Windows 10 Pro 64, but would like a fallback option.

 

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lots of people use Eclipse but you'll never get a simulator like the AS7 one (well not until MPLABX is fit for human consumption) 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

IPA wrote:
Are there any reliable toolchains/IDE for 8bit AVR devices on Linux (debian) ?
Debian's QA is effective; Microchip AVR GCC 3.6.1 is in a deb.

IPA wrote:
Is it possible to successfully run AVR Studio 4 on Linux,
via a VM? Yes

IPA wrote:
... e.g with Wine ?
Yes though the USB will be pass-through or linked file systems.

IPA wrote:
I'm currently using Atmel Studio 7.0.1931 on Windows 10 Pro 64, but would like a fallback option.
Proposed option if fed up with Windows 10 : Linux + VirtualBox + Windows 8.1 + Atmel Studio

Windows 8.1 is the most reliable Windows.

Windows 10 can be reasonably reliable by performing configuration control.

 


AVR- and Arm- Toolchains (C Compilers) | Microchip Technology

Debian -- Details of package gcc-avr in buster

Linux Mint with Win XP in Virtual Box | AVR Freaks (AVR Studio 4.19)

https://appdb.winehq.org/objectManager.php?bIsQueue=false&bIsRejected=false&sClass=vendor&iId=215&sAction=view&sTitle=View+Developer (Atmel)
Runs at Crossover 10 | Forum for AVR Studio 4 | CodeWeavers

How do I get a USB device to work in CrossOver 16.x and older? | CrossOver Support | CodeWeavers

 

Oracle VM VirtualBox

Free Virtual Machines from IE8 to MS Edge - Microsoft Edge Development

Atmel Studio 7 does not recognize [xxx] Xplained board under VirtualBox | AVR Freaks

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Tue. Jun 25, 2019 - 11:48 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The following AVR are tested (not beta) in MPLAB X v5.20 simulator :

  • xmega128A4U
  • xmega128A1U
  • xmega128A1
  • all forms of mega128 (original to most recent like mega1284P and the RF ones)
  • all forms of mega64 (ditto)
  • mega406
  • mega32U4 (not mega32U2)
  • all forms of mega32 except unified memory AVR (mega3208, mega3209 ... so device with MPLAB PICkit 4)
  • mega16U4 (not mega16U2)
  • all forms of mega16 (ditto)

mega4809 - device with MPLAB PICkit 4 or all on a Curiosity Nano

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:

  • all forms of mega128 (original to most recent like mega1284P and the RF ones)

How is a 40pin mega1284P with modern peripherals a "form" of mega128 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's not.

A personal goal is to be concise.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks all for the info, I shall go investigate.

 

I like the idea of using AVR Studio 4 with Wine.  It's familiar, the simulator is reasonable, I can include WinAVR, and it's far less bloated then Atmel Studio 7.   Programming the target can presumably be done using AVRdude.

 

Atmel Studio 7 and Windows 10 do work ok, the problem is Windows update seems to break things periodically, so I need a fallback.

 

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

IPA wrote:
Atmel Studio 7 and Windows 10 do work ok, the problem is Windows update seems to break things periodically, ...
Not seems, does.

Some PC can run Windows 8.1 (the most reliable Windows)

If it's Windows 10 then limit Windows Update.

IPA wrote:
... , so I need a fallback.
Windows 10 recovery is another way.

https://www.avrfreaks.net/forum/another-win10-rant-frustration-part-2?page=2#comment-2467891

 


Why I recommend pausing Windows updates every month @ AskWoody

 

edit : typo

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Wed. Jun 26, 2019 - 02:01 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The last episode I had with Windows update rendered the system unbootable requiring a complete rebuild as the backup recovery files were deleted.

 

    https://www.ghacks.net/2018/10/3...

 

Despite this I will keep taking the updates, they are making gradual improvements.  And I want to avoid having a multiple different operating systems.