Avarice and atmega324pb - and the status of avarice

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

First, FYI:

1) Not sure where to put this topic since it is avarice (debug) related, so feel free to move moderators

2) Question below is  kinda related to topic https://www.avrfreaks.net/forum/...

 

Since it has been several years since I last time used any AVR devices I had to setup all the toolchains again, including avarice, on my linux.

Thats not a big issue, I was able to rebuild all tools, and I learned, as seen from the refereed topic above, whit great help, to add support for atmega324pb both for the compiler and for avrdude.

But for avarice (version 327) I see the latest release was back in 2016 and thus support for atmega324pb is missing. Is avarice deprecated or is it simply moved to another repository?

 

I was able to use code::blocks as my IDE and to connect to target with avarice and avr-gdb. But for avarice I had to use atmega16 as device since no atmega324 variants where recognized.
This works partly but it is not very stable. How may I add new devices to avarice? Any tutorials ?

 

And since at it, Is there anyone else still developing on Linux using avrdude and avarice with mkII as I try to?

 

Something tells me that I might should have been using an older AVR device which is supported by the current releases of avrdude and avarice.

Seems that people have been giving up the fight for freedom and now everybody spend their life in the pocket of Microsoft, or is there other

tools that may be used to develop and debug in the Linux environment for AVR devices?

Normally I use SEGGER and ARM for which there is plenty of options, but I would like to have better support for AVR devices too.

 

 

Regards
Vidar (Z)

----------------------------------------------------------

"The fool wonders, the wise man asks"

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

zainka wrote:
...  I was able to rebuild all tools, ...
fyi, the Microchip AVR GCC page was updated to 3.6.1 (current) for macOS and Linux.

zainka wrote:
Is avarice deprecated or is it simply moved to another repository?
Still on SourceForge per Debian AVaRICE package; up to current (EDBG, Atmel-ICE) for Debian testing.

zainka wrote:
Seems that people have been giving up the fight for freedom and now everybody spend their life in the pocket of Microsoft, ...
One at Microchip has added to the forthcoming AVRDUDE 6.4 tinyAVR 1-series, tinyAVR 0-series, and megaAVR 0-series (ETA for mega4809 Arduino is next month)

mega4809 may be considered as a follow-on to mega324PB except for automotive.

 


https://www.microchip.com/development-tools/atmel-studio-7/avr-and-arm-toolchains-(c-compilers) (well ... a 404 !)

https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-(c-compilers)

https://packages.debian.org/buster/avarice via https://packages.debian.org/search?keywords=AVaRICE&searchon=names&suite=all&section=all

https://sourceforge.net/p/avarice/code/HEAD/tree/

http://svn.savannah.gnu.org/viewvc/avrdude/trunk/avrdude/ChangeLog?revision=1425&view=markup

http://svn.savannah.gnu.org/viewvc/avrdude/trunk/avrdude/NEWS?revision=1425&view=markup

https://www.avrfreaks.net/forum/megaavr-0-series?page=1#comment-2470876

 

Edit: strikethru

 

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

Last Edited: Wed. May 23, 2018 - 01:10 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

zainka wrote:
...  or is there other tools that may be used to develop and debug in the Linux environment for AVR devices?
It's oh so close as the Microsoft Arduino extension to Microsoft Visual Studio Code has EDBG for SAM.

The mega4809 Arduino appears to have mEDBG; might not take much to add mega4809 to Microsoft Arduino EDBG.

Could continue on to add mega324PB Xplained Pro.

Visual Studio Code with a debugger is not Visual Studio with a debugger; might be considered as a follow-on to AVR Studio (an editor with a debugger and simulator)

 

https://www.avrfreaks.net/forum/avr-studio-mac-linux#comment-2440271

 

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

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

gchapman wrote:

fyi, the Microchip AVR GCC page was updated to 3.6.1 (current) for macOS and Linux.

Offcource, the gcc tools was not rebuild. Got it readymade from here: http://distribute.atmel.no/tools...

It was the avrdude I had to build and add support for 324pb.

 

gchapman wrote:

(red.anm. avarice) Still on SourceForge per Debian AVaRICE package; up to current (EDBG, Atmel-ICE) for Debian testing.

sourceforge list only one AVARICE tool, the very same I already have. However using the latest patch as example I guess I may add 324pb my self.

 

 

gchapman wrote:

One at Microchip has added to the forthcoming AVRDUDE 6.4 tinyAVR 1-series, tinyAVR 0-series, and megaAVR 0-series (ETA for mega4809 Arduino is next month)

mega4809 may be considered as a follow-on to mega324PB except for automotive.

  For avrdude I now have support for 324pb, works like a charm. But I will look at 6.4 when arrived.

Microchip however has extremely little information for avrdude and other mature tools, like avarice. https://www.microchip.com/webdoc...

And they only promote what they charge $$$ for. Exactly what I feared when atmel was announced to become a part of microchip. More talk, less support.

 

gchapman wrote:

It's oh so close as the Microsoft Arduino extension to Microsoft Visual Studio Code

Sounds like an interesting tool, will check it out.

 

---

 

Just wondered: How come the 324 device is not part of the tools upgrades? though the 324pb was quite new atleast...

 

 

 

 

 

 

 

Regards
Vidar (Z)

----------------------------------------------------------

"The fool wonders, the wise man asks"

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

zainka wrote:
And they only promote what they charge $$$ for. Exactly what I feared when atmel was announced to become a part of microchip. More talk, less support.
Intention is to create contrast.

Am thankful that Microchip AVR GCC exists and is FOSS as it ends up in some Linux distributions; one of the advantages of AVR compared with PIC and TI MSP430TM compared with PIC24.

Ones at Microchip are co-developers of the new AVR Arduino.

AVR is forthcoming for MPLAB X; a hint may be a URL :

SAM(ARM) and AVR Toolchains (C Compiler) | Microchip Technology

https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-(c-compilers)

EDBG protocol is published.

zainka wrote:
How come the 324 device is not part of the tools upgrades? though the 324pb was quite new atleast...
That may be why as supply of mega324PB was limited until "recently".

mega324PB may not be in AVRDUDE as mega324 is not in the Arduino IDE.

Xplained Pro is now in AVRDUDE so would be a match for the mega324PB Xplained Pro.

 


https://blog.arduino.cc/2018/05/17/say-hello-to-the-next-generation-of-arduino-boards/

https://www.avrfreaks.net/forum/come-join-us-mplab-now-supports-avrs

https://www.microchip.com/webdoc/GUID-33422CDF-8B41-417C-9C31-E4521ADAE9B4/index.html (EDBG)

https://www.avrfreaks.net/forum/mega324pb-tough-find-split-mega328pb-thread

 

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