EvB 4.3 connection with AVR studio 4

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys,

 

I'm using avr studio to build hex code and then i use ISP programmer to load program to EEPROM.

When i debbug i must do it in simulator.

I want ask if is the way how to debbug in my microcontroler ?

My PC is connected with USB to board and then i must connect 4 wires.

 

then i use ISP programmer.

 

I want ask if there is way how to connect AVR studio 4 with this board ??

 

Thank you for answers.

This topic has a solution.

New

Last Edited: Wed. Mar 13, 2019 - 06:33 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can't quite read the legend on that chip - is it a mega16 ? The fact is that the mega16 does have a debug interface called JTAG that uses pins 2..5 of PORTC. You don't appear to have anything connected to those pins at the moment so if you bought a debug interface such as Atmel-ICE ($50..$100) or a Microchip Snap ($15) you could connect this to the JTAG of this chip. You won't be able to use those debug interfaces with Studio 4 but you can with Studio 7.

 

If something ties you to Studio 4 (like Windows Xp or something??) then on ebay you can get a $10..$20 clone of Atmel's "JTAGICE" which should work with Studio 4. It is also a JTAG interface which could connect to those 4 pins on PORTC.

 

Note that while the JTAG pins on PORTC are being used for debugging they are not available for any other use - so it effectively reduces the pin count by 4 pins.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I use 4 because I am a beginner and in all the books I have borrowed working in 4. 

I'm using 644p and I'm trying to get relative humidity and temperature through TWI, so i use 2 pins on port C like SCD and SCL.

 

I'll stay with the simulation and upload, but thank you for your response and advice .

New