| Author |
Message |
|
|
Posted: Oct 27, 2011 - 09:13 AM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
I’ve tried to connect to some of my own HW which contains 2 mega324PA in a daisy chain configuration and running on 3V.
I have programmed everything fine in AVR Studio 4 with use of an AVR ONE! debugger. It even auto detects the chain setup:
------------- setup taken from AS4 .aps file -------------------
Code:
<AVRONE><DAISY_CHAIN_MODE>AUTO</DAISY_CHAIN_MODE><DEVS_BEFORE>1</DEVS_BEFORE><DEVS_AFTER>0</DEVS_AFTER><INSTRBITS_BEFORE>4</INSTRBITS_BEFORE><INSTRBITS_AFTER>0</INSTRBITS_AFTER><JTAG_FREQ>4000000</JTAG_FREQ>
------------------------------------------------------------------------
Now I’m ready to port my project to AS5 since the customer who wants this in production will use a JTAG ICE3, and this is not supported in AS4.
But when trying to connect to my target through AS5 with ICE3, I just receive an error that no JTAG devices are found. I can read the voltage fine. I have tried to configure the daisy chain manually but nothing helps.
I’ve tried to connect to my target from AS5 via the AVR ONE!, but this doesn’t even let me choose the configuration before it reports an error
Is ther any trick so I can use AS5, or should I just accept that this project needs to run under AS4?
Has anyone else been testing daisy chain support in AS5? |
|
|
| |
|
|
|
|
|
Posted: Oct 27, 2011 - 08:30 PM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
I received an answer from Atmel support:
Quote:
we know there is a bug with JTAG daisy chain and JTAGICE3. The bug fix is scheduled for the 5.1 release of AVR Studio. I hope we will make it, but I can not give any guarantees.
We plan to have 5.1 ready in good time before Christmas.
|
|
|
| |
|
|
|
|
|
Posted: Dec 08, 2011 - 12:16 PM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
Anyone knows or heard anything about the upcoming 5.1 AVR Studio release?
It's soon Christmas and it would be nice to have a fully functional AVR Studio during holiday instead of using AVR Studio 4 |
|
|
| |
|
|
|
|
|
Posted: Feb 18, 2012 - 03:22 PM |
|

Joined: Nov 22, 2008
Posts: 130
Location: Budapest, Hungary
|
|
Now that Studio 5.1 is out officially, does it work?
I am curious because I plan to purchase a Jtagice3.
The studio changelog however does not mention it. However, it could have been mentioned in a previous changelog. It is a pitty, that there is no public bugtracker.
Thanks
Edit:
Ok, I have found my answer here : http://www.atmel.no/webdoc/jtagice3/jta ... s_new.html
It supposedly does work now. |
|
|
| |
|
|
|
|
|
Posted: Feb 20, 2012 - 01:50 PM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
| If you want I can give it a try on Wednesday? I haven't tried, and just continued using JTAG ICE MKII and AVRONE in AVR Studio4 |
|
|
| |
|
|
|
|
|
Posted: Feb 21, 2012 - 01:05 PM |
|

Joined: Nov 22, 2008
Posts: 130
Location: Budapest, Hungary
|
|
I would appreciate it, but do not do it, unless it is not a big trouble for you.
Thanks. |
|
|
| |
|
|
|
|
|
Posted: Feb 23, 2012 - 07:23 AM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
Now I've tried to convert my project from AS4 to AS5. This part went well.
I connected my JTAG ICE3, and AS5 told me to upgrade my device, which I did. No problems.
I then tried to connect to the ICE3 and setup Daisy Chain with parameters: 1 device before, 0 device after, 4 instruction bit before, 0 instruction bit after. No problem.
Tried to read the target fuses and lock bits. No issue.
Tried to erase and re-program the device flash with my program. This worked flawless.
Everything looked just perfect, but unfortunately there is still a major bug.
I tried to setup my target to debug over JTAG daisy chain but some error in a setup string towards the ICE3 seems to be the issue.
When setting up the daisy chain info: 1,0,4,0 these setup numbers are reset to 0 after the error occurs.
In order to see if it was only an issue related to ICE3 I tried to connect my ICE MKII, but this debug device was not detected by AS5 at all! Even when searching for units that needs upgrade it does not appear.
Strange enough it's possible to choose ICE MKII from the programming window as a programming device. But when ever a command like fuse reading, daisy chain setting or programming it fails and prompts that no device is present. |
|
|
| |
|
|
|
|
|