Two disclaimers - I am quite new to the AVR world and this is the first time I have booted into Windows in almost half a year (and that was to install AtmelStudio :) so apologies in advance for any n00b q's. I have however dabbled with PICs in the past, but the biggest problem I had with these was the lack of a decent (free) C compiler.
Reading about avr-gcc I thought this would be perfect for my Linux development, so designed a board around an ATTiny1614 with UDPI as the programming pin, it turns out I should have done more research.
Having purchased the Ateml ICE (one of the few programmers claiming to support UDPI) it seems that avr-gcc doesn't support this device. In Atmel Studio things are slightly better; the part is detected but examples are very scarce. Port definitions appear to be completely different from the 100's of other LED blinking examples out there. Instead of using
DDRB = (1 << PB0);
one sets it Port B, pin 0 using
VPORTB_DIR = PIN0_bm
I have now managed (by trolling this forum) to get a LED to flash under Atmel Studio, but was hoping to ultimately develop under Linux.
Onto concrete questions:
- Does anyone have any tips to getting this Atmel part working with Linux?
- Any links to good example code for this device - how/why is it different from the other Atmel devices?
That will do for a start; many thanks in advance!