Wednesday, 5 November 2014

avr - Arduino With Assembly?


Since for my venture into Microprocessing I decided to go with Atmel AVR due to the vast resources available. And Arduino seems to has alot as well, not to mention their starter kits seem more "at my level"



The problem is I want to learn it in Assembly first, and then go to C/C++ or w/e Arduino uses, but ive heard Arduino won't take AVR assembly? Is this true? is their any way around that?


Thanks


edit: I would go with the ATMEL STK500 but..for a first timer it looks VERY complicated? Is there any reason why I can't just get a 8 bit AVR and put it on a breadboard and experiment that way? (i guess i'd have to figure out how to interface them as such....)


edit2: This is what I was thinkin


http://www.adafruit.com/index.php?main_page=product_info&cPath=17&products_id=193



Answer



The Arduino boards can be programmed in assembly. All you need is an ICSP Cable (In Circuit Serial Programmer) cable and the AVR toolchain (free from ATMEL) to write to the board. You then get the advantage of on board debugging.


As you suggested, you can just slap an ATMEL chip on a breadboard and go to town.


The kit you referenced looks like a great starting point. You can take the chip right off the board and stick it on your own breadboard (as long as it has correctly regulated power and you account for the clock).


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...