JTAGICE3 and AVR Studio 6 - ISP Clock not working

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

Hello,
I buy a new JTAGICE3 but I have a problem with the JATAICE3 ISP Clok.

When I flash for example a Atmega16 with ISP so I go in AVR Studio to Divice Programming and choose:

--> Tool: JTAGICE3
--> Device: Atmega16
--> Interface: ISP
and then Apply, then ISP Clock is 7 KHz (see image JTAGICE3_1 and JTAGICE3_2)

I set the ISP Clock to 250 KHz (see image JTAGICE3_3) and I working fine.

When I put the JTAGICE3 turn off and turn on (disconnect and connect from USB), and then I go again in AVR Studio to the Device Programming, Interface ISP Apply the ISP Clock is back to 7 KHz!! (see image JTAGICE3_4)

Where is my mistake?
With AVRISPmkII I have no problem, why?

Attachment(s): 

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

Looks like a 'feature' to me !

Most Atmel Tools store their configuration in EEPROM.
So they can remember the last settings.

Most software will read the current settings when they first connect to the Tool.
Likewise, the read the current Signature, fuses, etc when they connect to the specified chip.

What happens when you "Start without debugging" ?
Is this slow too ?

David.

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

Quote:

Most Atmel Tools store their configuration in EEPROM.
So they can remember the last settings.

Most software will read the current settings when they first connect to the Tool.
Likewise, the read the current Signature, fuses, etc when they connect to the specified chip.

Yes I know, but I think this is a Bug in Firmware from JTAGICE3, when I connect the AVRISPmkII and set the ISP Clock to 125 or 250 or so, and turn power off an power on and go to AVR Studio again the ISP Clock ist any time ok.

AVRDUDE say:

> "make.exe" program
avrdude -p atmega16 -P usb     -c jtag3isp    -U flash:w:can_testprogram.hex 

avrdude: stk500v2_command(): unknown status 0xcb
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

When I set the ISP Clock in AVR Studio again then say AVRDUDE:

> "make.exe" program
avrdude -p atmega16 -P usb     -c jtag3isp    -U flash:w:can_testprogram.hex 

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.19s

avrdude: Device signature = 0x1e9403
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "can_testprogram.hex"
avrdude: input file can_testprogram.hex auto detected as Intel Hex
avrdude: writing flash (2728 bytes):

Writing | ################################################## | 100% 0.60s

avrdude: 2728 bytes of flash written
avrdude: verifying flash memory against can_testprogram.hex:
avrdude: load data flash data from input file can_testprogram.hex:
avrdude: input file can_testprogram.hex auto detected as Intel Hex
avrdude: input file can_testprogram.hex contains 2728 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.52s

avrdude: verifying ...
avrdude: 2728 bytes of flash verified

avrdude done.  Thank you.

Quote:

What happens when you "Start without debugging" ?
Is this slow too ?

I dont know, I habe not testing.

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

Quote:
but I think this is a Bug in Firmware from JTAGICE3

Where can I get a report Atmel of this bug?

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

Atmel use the ASF bugzilla for AS6 too:

https://www.google.co.uk/url?sa=...

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

Quote:

Atmel use the ASF bugzilla for AS6 too:

https://www.google.co.uk/url?sa=t&s ... 2aN6E22cuA

Ok but bugzilla ask me:
you must pick a product on which to enter a bug:
Atmel Software Framework or Atmel Studio 6

But I think that ist a bug in Firmware from JTAGICE3 and not a bug from Atmel Software Framework or Atmel Studio 6 or?

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

Quote:

But I think that ist a bug in Firmware from JTAGICE3 and not a bug from Atmel Software Framework or Atmel Studio 6 or?

The firmware is delivered with AS6 so it's part of AS6.

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

As Cliff says, the bug report can be under AS6 / JTAGICE-3.

Mind you, there are many JTAGICE-3 owners on this site. (I don't have one). So several readers can attempt to reproduce your problem.

This will make a big difference to how swiftly any 'bug' is investigated.

David.

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

Quote:

Mind you, there are many JTAGICE-3 owners on this site. (I don't have one). So several readers can attempt to reproduce your problem.

Sure, if someone can test it would be great.

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

clawson wrote:
Atmel use the ASF bugzilla for AS6 too:

https://www.google.co.uk/url?sa=...

I wrote the Bug Report on the 02.12.2013... But it seems like no one has checked the report or no one is interested on it, because today "2 months later" I have not received any reply from Atmel :( .

See: http://asf.atmel.com/bugzilla/sh...

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

Looking at the Bugzilla, there is a similar bug #3156.

Perhaps other JTAGICE3 owners can confirm your SCK experience with the JTAGICE3.

David.