How do I set up AVR Studio 6 to use IAR as compiler? (I.e. I want to work in AVR Studio 6 and do debugging but compilation is made by IAR.)
Since you have a full IAR license, you will probably use the IAR IDE.
Choose UBROF-8 for the object format when compiling.
In Studio 6, choose "open object file for debugging"
IAR's C-SPY is probably better for debugging than AS6. You must use the IAR object format for C-SPY.
AS6 is better at Simulation. If you are using JTAG or debugWire, there is little to choose between them.
In theory, you could set up AS6 to call the correct IAR command lines for compilation and linking. I doubt that you will find this easy.
Hm... when using old AVR Studio 3 (or was it 4) it was really easy to use connect IAR as compiler. Just a few clicks in AVR Studio and it was done. You sure there is no easy way?
(or was it 4)
I don't see a problem. If you have a full IAR license, you will most likely have a JTAGICE-mkII anyway. i.e. if you can afford 2500 euro for a license, the debugger is pretty cheap.
So you will edit-compile-debug in the IAR environment.
If you only have the 'KickStart' evaluation like me, you can't do any serious projects anyway. So you are better off learning GCC / CV / Imagecraft ...
The only advantage of AS6 is that the Simulator is probably better. You compile in IAR with UBROF-8. Simulate in AS6.
I find IAR's IDE ideal for embedded micros and JTAG debugging. I wouldn't want Studio 6 as a replacement.
For starving students/hobbyists, and people who work for pound-foolish bosses, Studio 6 is ideal and FREE!
I find IAR's IDE ideal for embedded micros and JTAG debugging
Really? Thats the first time I hear that.
The IAR compiler is really good, one of the best there is I'd say, but the IDE sucks big time. For what they charge for a license they should have something way better. The debugger is quite good, but the editor is a POS.
Daniel Campora http://www.wipy.io
I've used many an editor... for decades. IAR's editor/IDE is excellent for me. Has the essentials missing in many IDEs, such as "go to the file and line where the selected symbol is defined", find all, and so on.
If you have your own preferences, fine.
Calling it a "POS" is juvenile.
© 2020 Microchip Technology Inc.