--- In AVR-Chat@yahoogroups.com, "englsprogeny" <englsprogeny@...> wrote: > Sorry about the lack of detail. > Here's more: ... [more] ... OK, so I've installed AVR Studio Version 4.14 Build 589 and WinAVR 20080610 in a VirtualBox virtual machine running WinXP Home SP3 (I do this to get around the difficulty of running different versions of tools on the same machine). I created a GCC project consisting only of a file with the exact code you supplied. You did not say what device you are running on, so I used an ATmega16 in an STK500. For a JTAG-ICE I am using the AVR ICE-Cube that I make and sell: http://www.ecrostech.com/AtmelAvr/AvrIceCube and this connects to the STK500 via an expansion board: http://www.ecrostech.com/AtmelAvr/Stk500Exp. I built the project without changing any options, started debugging, set a breakpoint at line 44 (count = 3) and ran. The breakpoint was hit. So, if I've interpreted your information correctly, I cannot reproduce your problem. You ask "Should I buy a better JTAG-ICE?". I could say "yes", since mine appears to work where yours doesn't. However, there are still possible differences in our setups, including the host PC, the device being debugged (which you did not specify) and fuse settings. You have not replied to any of the posts about optimization settings. I see -Os on the compile command line in my build window. This is as much help as I can give you for now. Graham. P.S. By the way, if anyone is looking for (paid) help on AVR projects or in fact any embedded systems project, the job I am working on has been put on hold and I am presently available.
Message
Re: AVR Studio Update
2008-11-11 by Graham Davies
Attachments
- No local attachments were found for this message.