News for hackers. Stuff that matters.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by jevinskie on Wednesday January 20, 2016 @09:43PM (#10943005)
Well, this isn't a particularly insightful comment, but my feelings about this are "fark :[". The AVR definitely has something Nordic about it. I first learned C when programming an AVR Butterfly eval board to take photos like [0] using [1]. I've found the AVR architecture to be much cleaner than 8 or 16 bit PICs. Atmel, for the most part, embraced GPL and GCC. Microchip has tried to squirrel GCC optimization features away from being truly FOSS.

[0]: https://c1.staticflickr.com/1/53/115619170_4445c593cd_o.jpg

[1]: https://c1.staticflickr.com/1/56/112758047_dc5b4bdc3b_o.jpg

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by colanderman on Thursday January 21, 2016 @12:01AM (#10943459)
IIRC Microchip's 8-bit PIC line had poor/nonexistent GCC support because their terrible instruction set provided no way to maintain a data stack. Their own compiler just allocated everything statically.

Granted, it's (thankfully) been over a decade since I had to use a Microchip microcontroller, and they've presumably improved since. But Atmel got it right from the start. GCC-AVR produced beautiful assembly and their ISA was a joy to use. RIP Atmel.

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by tptacek on Thursday January 21, 2016 @07:56AM (#10944867)
Calling AVR a "joy to use" is pushing it a little far. There are things to like about AVR chips as a package, but the AVR instruction set is pretty janky. I don't understand why they're so popular compared to the MSP430.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by blackguardx on Thursday January 21, 2016 @11:26AM (#10946261)
I found the AVR instruction set pretty straight forward. Granted, it was my first forray into assembly and I learned it around 17 years ago at age 14. Maybe everything seems easy in hindsight at that age.

I've never programmed MSP430s in assembly, but I have for PICs and found their instruction set to be more funky than AVR.

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by tptacek on Thursday January 21, 2016 @12:44PM (#10946870)
So first a couple caveats: (1) I'm sure AVR is a hell of a let better than PIC, (2) I come at this from a really weird place (exclusively emulators and compilers), and (3) I'm not talking about the AVR parts themselves, which might be more cost-effective for a given project.

That said:

* Harvard architecture (split I & D memory)

* 8 bit registers

* Not at all orthogonal, and particularly painful for pointer addressing

* The stack pointer is annoying to work with

* Address wrap at physical memory bounds, rather than the bounds of address space

I could pick a bunch more nits that would only really be relevant to someone writing an emulator (complicated instruction decode, IO addressing, &c) but those are my big complaints.

I find MSP430 much more pleasant to work in.

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by colanderman on Friday January 22, 2016 @03:46PM (#10955498)
Those are all true (though that an 8-bit microcontroller has 8-bit registers is… unsurprising). However I am referring to the instructions themselves, which were well-engineered to match the needs of a compiler. The result is very compact assembly for most C programs that you would write on an 8-bit microcontroller (including things like 16-bit arithmetic).
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by ild on Thursday January 21, 2016 @12:29PM (#10946757)
1MIPS @ 1MHZ made it popular.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by saaadhu on Thursday January 21, 2016 @11:19AM (#10946215)
Care to elaborate?
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by wglb on Thursday January 21, 2016 @07:36PM (#10949814)
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by ild on Thursday January 21, 2016 @12:27PM (#10946736)
PICs used to be less power hungry though and had ROM versions.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by jason_s on Thursday January 21, 2016 @08:39PM (#10950145)
??? Sounds like FUD to me.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by ild on Monday January 25, 2016 @01:08PM (#10968752)
FUD?? Why? The did have ROM version, and, being made from slower silicon had lower leakage.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by brandmeyer on Thursday January 21, 2016 @01:56AM (#10943774)
I don't know that I would say Atmel has embraced GCC. Consider the case of the AVR32: Atmel's port is in a fork of GCC, and has not been merged upstream. Considering how long they've been maintaining their fork, I'm not sure it ever will be merged.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by throwaway7767 on Thursday January 21, 2016 @05:30AM (#10944388)
I believe they were working on upstreaming their changes at the time, but as the sister comment said, AVR32 never really took off and is now basically dead.

I still have a couple of AVR32 NGW100 dev boards, they were really nice to work with.

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by krkoch on Thursday January 21, 2016 @03:05AM (#10943993)
I think AVR32 is dead (also UC3, AP7 died years ago). I've not seen any development the last years. I guess they don't want to compete with their own ARM's.
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by phyllostachys on Thursday January 21, 2016 @07:02PM (#10949608)
In a few meet and greets, the Atmel app engineers mentioned that they always steer people to ARM parts unless they have a requirement that absolutely doesn't fit it, then they push AVR32 parts (and seemingly hesitantly).
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by hjalle on Thursday January 21, 2016 @04:31AM (#10944208)
Out of curiosity, what does "something Nordic" refer to?
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by ballooney on Thursday January 21, 2016 @07:18AM (#10944713)
I interpreted it as:

Elegant, clean design (certainly compared to the old 8-bit PICs). Good taste. FOSS-friendly.

Microchip might be a Texan oilman in this comparison. Just keep pumping them PICs out don't listen to those commies with their 'GCC' and their 'lee-nux' - sounds foreign and suspicious.

This is obviously a tongue-in-cheek characterisation but I think that's what the OP was getting at.

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by woadwarrior01 on Thursday January 21, 2016 @08:09AM (#10944922)
The AVR architecture was designed in Norway[1].

[1]: https://en.wikipedia.org/wiki/Atmel_AVR#Brief_history

Re:Microchip Technology to Buy Atmel for Nearly $3.6B by the-dude on Thursday January 21, 2016 @06:28AM (#10944569)
Iirc, Atmel is from Norway
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by smcl on Thursday January 21, 2016 @05:46AM (#10944442)
Total guess - maybe Nordic Semiconductor were also kicking the tyres deciding if they wanted to buy Atmel?
Re:Microchip Technology to Buy Atmel for Nearly $3.6B by i_have_to_speak on Wednesday January 20, 2016 @10:09PM (#10943095)
Dude, be careful what you post. These are the days when 10-year-olds can't afford to make spelling mistakes [1].

[1] http://www.bbc.com/news/uk-england-lancashire-35354061