electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

jtag for ATmega128


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> jtag for ATmega128
Author Message
maziar



Joined: 06 Jun 2001
Posts: 257
Helped: 4
Location: Islamic republic of Iran


Post01 Oct 2003 14:27   

jtag for ATmega128


i need jtag for atmega128 can help me ?
Back to top
marie65



Joined: 15 Jan 2002
Posts: 217
Helped: 10


Post01 Oct 2003 14:42   


You can download from this link a description (hardware and soft) for a JTAG ICE that work (??) in AVR Studio 4.
http://dsp.neora.ru/mcu/atmel/AVRjtagICE.rar
Back to top
mk



Joined: 16 Aug 2001
Posts: 55


Post01 Oct 2003 19:12   

Re: jtag for ATmega128


http://www.mcu.cz/modules/news/article.php?storyid=353
Back to top
kosta



Joined: 25 Jan 2002
Posts: 38


Post03 Oct 2003 13:19   

Re: jtag for ATmega128


http://jtag-avr.port5.com
Back to top
Google
AdSense
Google Adsense




Post03 Oct 2003 13:19   

Ads




Back to top
maziar



Joined: 06 Jun 2001
Posts: 257
Helped: 4
Location: Islamic republic of Iran


Post04 Oct 2003 6:09   

Re: jtag for ATmega128


kosta wrote:
http://jtag-avr.port5.com



Have this hex ?
Back to top
marie65



Joined: 15 Jan 2002
Posts: 217
Helped: 10


Post04 Oct 2003 12:19   

Re: jtag for ATmega128


maziar wrote:
kosta wrote:
http://jtag-avr.port5.com



Have this hex ?


It looks that the 2313 hex (30$ value) is a little modified AVR910.asm free to download from Atmel site. It is necessary to add some code in it because there is a problem with the hardware implementation. The 2313 is use only to program Mega16 with the jtag code available in AVR Studio kit. After the programming take place, Tx lines from 2313 and Mega16 are in shortcircuit. The solution to this problem may be to implement a way (resistor to ground on the Tx line that can be check by 2313 at power up ???) for checking if the jumper is present or not. If the jumper is present then the 2313 put the Tx line in HiZ and ignore any serial commands that are received. If it's not present then keep Mega16 in reset and execute AVRPROG's commands.
Anyway I don't understand why it's not programmed Mega16 directly (with PonyProg for example) with the upgrade.hex code from AVR Studio and it's necessary to use AVRProg interface for this. This is the same problem also with the first example that use Mega163 where the bootloader is practically the same code as avr910.asm
Back to top
kosta



Joined: 25 Jan 2002
Posts: 38


Post06 Oct 2003 6:43   

Re: jtag for ATmega128


Hex file for at90s2313

Kosta.



Sorry, but you need login in to view this attachment

Back to top
7rots51



Joined: 17 May 2002
Posts: 1427
Helped: 14


Post21 Oct 2003 18:52   

Re: jtag for ATmega128


I do not undestand,why the jtag circuit have two micros?(at90s2313 ,atmega16)

Where is the HEX file for other micro(atmega16)?


Is there someone that tested it ?Is it good enough?

I do not know how to open Gerber files or in what software I can open it?
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1751
Helped: 28


Post21 Oct 2003 20:22   

Re: jtag for ATmega128


Hi .. YES it works ..
The little CPU is only to allow to UPGRADE the big one ...
You don't really need it!
Back to top
maziar



Joined: 06 Jun 2001
Posts: 257
Helped: 4
Location: Islamic republic of Iran


Post23 Oct 2003 7:59   

Re: jtag for ATmega128


eltonjohn wrote:
Hi .. YES it works ..
The little CPU is only to allow to UPGRADE the big one ...
You don't really need it!




which you build
Back to top
cancel



Joined: 27 May 2001
Posts: 286
Helped: 11


Post23 Oct 2003 9:16   


afaik 2313 is there only to emulate serial programmer for avr studio ... maybe i am wrong ?? ;0)
Back to top
marie65



Joined: 15 Jan 2002
Posts: 217
Helped: 10


Post23 Oct 2003 9:53   


cancel wrote:
afaik 2313 is there only to emulate serial programmer for avr studio ... maybe i am wrong ?? ;0)


indeed, 2313 is use only for upgrading the code in Mega16. It's possible to use only the Mega16 without the 2313 interface if you use AVRStudio 3.53 where the upgrade.hex code (found in jtagice directory) is in hex format, but you will miss future upgrades of the jtag interface, because ATMEL choose to encrypt the code in a file with .ebn extension (it's possible to stand for: encrypted binary file ???). The only choice is to use AVRProg utility for future upgrades and that means that you will need the 2313 for that Sad
Back to top
maziar



Joined: 06 Jun 2001
Posts: 257
Helped: 4
Location: Islamic republic of Iran


Post23 Oct 2003 18:37   

Re: jtag for ATmega128


then what to do (i need work with avr studio4) ?
Back to top
cancel



Joined: 27 May 2001
Posts: 286
Helped: 11


Post23 Oct 2003 18:39   


program 2313 with mentioned hex connect circuit to pc, run avr studion and 'upgrade' firmware ...
Back to top
maziar



Joined: 06 Jun 2001
Posts: 257
Helped: 4
Location: Islamic republic of Iran


Post29 Oct 2003 7:29   

Re: jtag for ATmega128


I Have some problem with gerber file :

HAVE ANY ONE PROTEL OR PCB OF IT ?
OR IF HAVE NOT HOW LOAD AND PRINT IT ?


thx
Back to top
kosta



Joined: 25 Jan 2002
Posts: 38


Post07 Nov 2003 21:12   

Re: jtag for ATmega128


http://jtag-avr.port5.com has been moved to http://www.elcom.co.yu

Kosta
Back to top
7rots51



Joined: 17 May 2002
Posts: 1427
Helped: 14


Post03 Dec 2003 11:44   

Re: jtag for ATmega128


Hi
I made a pcb that Mr Kosta have given in site and programmed the 2313 with hex file and programmed the board with avrprog (in avr studio 4.07) with upgrade.ebn file.
After that I power off the jtag and plug in JP1 and turn it on.
I run avr studio 4.07
from tools menu select STK500/AVRISP/JTAG ICE --> STK500/AVRISP/JTAG ICE....
BUT the avr studio does not detect it.


avrstudio message: Detecting....FAILED

how can I solve the problem?does any other one have my problem?



Best Regards
7rots51
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> jtag for ATmega128
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
AVR Complier For ATmega128 (10)
Schematic of STK200, for Atmega128 programming (8)
need help for programme atmega128 (7)
how to use backup battery for atmega128 MCU? (5)
ATmega128 programming (1)
ATmega128 programming (3)
ATMEGA128 PORTF (6)
lsi sc2005 pin outs for Jtag diagram for others to use (1)
eboot loader Atmega128. (5)
---> ATMEGA128 Programmer Schematic (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS