Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
robbinvandamme
PostPosted: Feb 14, 2012 - 04:14 PM
Newbie


Joined: Feb 14, 2012
Posts: 2


Hi,

I have an Atmega128 operating in Atmega103 compatibility mode. It is running Assembly code, i would like to step through it and and set some breakpoints. Is it possible to do this with a JTAG interface and how is this done?

Thx in advance!
Robbin
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Feb 14, 2012 - 04:29 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England

In the 128 datasheet look at the section "ATmega103 compatibility mode" (my copy has this on page 5). In that it says:
Quote:
Port F serves as digital input only in addition to analog input to the ADC.

I read that to mean that the JTAG (which is on PORTF) is not available in 103 mode.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
robbinvandamme
PostPosted: Feb 15, 2012 - 09:08 AM
Newbie


Joined: Feb 14, 2012
Posts: 2


Is there an other way to debug an Atmega128 operation in 103 mode (running Assembly)?
I really would like to set some breakpoints.
 
 View user's profile Send private message  
Reply with quote Back to top
MBedder
PostPosted: Feb 15, 2012 - 09:10 AM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

Why on Earth would one use the M103 compatibility mode in 21st century?

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
wdkimpe
PostPosted: Feb 15, 2012 - 09:30 AM
Rookie


Joined: May 18, 2004
Posts: 49


because of legacy?
 
 View user's profile Send private message  
Reply with quote Back to top
wdkimpe
PostPosted: Feb 15, 2012 - 09:37 AM
Rookie


Joined: May 18, 2004
Posts: 49


On that note:
in the case of a project completely written in assembler on an Atmega103, which was then run on an Atmega128 because the 103 was made obsolete, and one would want to not use the Atmega103C fuse, what would need to be changed to the assembler code?
Or is it software compatible and would one just need to rebuild with a different device?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits