Here is a short help how to use WinAsm Studio with AVR MCUs
To do it you need:
- avrasm2 with include folder: you can get it with AVRStudio
- colouring for certain AVR MCUs
- template project.
As I have no enough of time to do it all properly I prepared colouring for ATTiny13 and ATMega16.
As AVRs differ in details you may create colouring *.VAS for any of them using doc in pdf, include file from Atmel and with help of tools in attachment.
What to do with it:
1.Install WinAsm Studio with FASM Add-In: take alternate package or install Studio and then add FASM Add-In to it, turn add-in on.
2.Install somewhere avrasm2 or whole AVRStudio.
3.In WinAsm Studio open environment manager (menu Add-Ins) and on the "Studio" tab set the new environment variable "AVRASM", which will point to folder with avrasm2.exe. As supposed, that folder must have subfolder "include" with Atmel definitions.
Press "Apply"!.
4.Copy folder "AVR" from zip to WinAsm Studio home folder.
5.Create AVR subfolder in WinAsm Studio Templates folder.
6.Copy folders "tn13base" and "m16base" into AVR folder in Templates folder.
7.Create new project made of one of these templates and try.
received hex can be written into MCU with any ISP programmer (personally I prefer to use ISP Programmer by
Adam Dybkowski as I still have LPT
). also hex can be load into AVRStudio to debug (you just need to set there MCU model and frequency)
maybe it is not fully featured, but it is more light then using AVRStudio all the time
good luck
Attached File ( Number of downloads: 10 )
Login or
Register to download