Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

on chip degugging in atmega32 controllers

Status
Not open for further replies.

chandan28

New Member
can any one help me how can i do on chip debugging(in system programming) using atmega 32 controller i need it urgently please help if u know
 
In System programming and On Chip Debugging are two different things.
To do on chip debugging you have to use a JTAG Interface and the In System debugging Flag JTAGEN has to be set ( Fuses! ). It's set in default configuration on a new ATMEGA32.
It uses some Ports of PORTC. It is possible to program a controller via JTAG of course.
The used Ports of Port C could not be used otherwise!

To do ISP you need a ISP Programmer. On Chip debugging isn't possible with this thing!
At most! Controllers there be used MISO MOSI SCK and Reset Pin to connect such a programmer to the Controller. ATMEGA64 and 128 are one of that exceptions.
The used Ports can be used otherwise in your Application, when the load is higher than 4.7 kOhms. That appends from the used ISP Programmer additionally.
 
In System programming and On Chip Debugging are two different things.
To do on chip debugging you have to use a JTAG Interface and the In System debugging Flag JTAGEN has to be set ( Fuses! ). It's set in default configuration on a new ATMEGA32.
It uses some Ports of PORTC. It is possible to program a controller via JTAG of course.
The used Ports of Port C could not be used otherwise!

To do ISP you need a ISP Programmer. On Chip debugging isn't possible with this thing!
At most! Controllers there be used MISO MOSI SCK and Reset Pin to connect such a programmer to the Controller. ATMEGA64 and 128 are one of that exceptions.
The used Ports can be used otherwise in your Application, when the load is higher than 4.7 kOhms. That appends from the used ISP Programmer additionally.

thank you
 
In System programming and On Chip Debugging are two different things.
To do on chip debugging you have to use a JTAG Interface and the In System debugging Flag JTAGEN has to be set ( Fuses! ). It's set in default configuration on a new ATMEGA32.
It uses some Ports of PORTC. It is possible to program a controller via JTAG of course.
The used Ports of Port C could not be used otherwise!

To do ISP you need a ISP Programmer. On Chip debugging isn't possible with this thing!
At most! Controllers there be used MISO MOSI SCK and Reset Pin to connect such a programmer to the Controller. ATMEGA64 and 128 are one of that exceptions.
The used Ports can be used otherwise in your Application, when the load is higher than 4.7 kOhms. That appends from the used ISP Programmer additionally.

thank you
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top