I am using atmel studio 6. Built in debugger is using avr simulator. I am trying to use the usart communication of atmega16 with pc. But when I run the code using 12MHz external crystal frequency in proteus and observing the output of using virtual terminal; it is sending only garbage values and proteus showing rx-frame error. When I try to debug the code in atmel studio it shows all defined variables as undefined variables. Also it shows an error that is syntax error: parsing stopped at #define. Does any body know the solution of this problem. I also attached the picture of debugging erro. Plz kindly share ur thoughts.
Level: New Member
Joined: Thu. Oct 26, 2017
Posts: 2 View posts
Last Edited: Wed. Nov 1, 2017 - 07:11 AM