m164P - JTAG MkII ISP- Internal Oscillator calibration fails

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

Has anyone had a problem with with calibrating the internal RC oscillator on a mega 164P using a JTAG ICE MkII in ISP mode? The calibration firmware successfully programs and the calibration routine starts, but fails. I put a scope on MISO and it sits high during the whole process, on a successful calibration it is supposed to pulse low 4 times.

I'm using AVR Studio 4.13 SP2 with the latest calibration firmware from Atmel's site.

I've put a m16 on the same board and it calibrates fine, so I don't think the problem is in the hardware.

I've been trying to get this working for 2 days, so any insight would be very appreciated!

Josh

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

I've also tried calibrating this processor with an STK500 without success.

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

What is this "the latest calibration firmware from Atmel's site." that you downloaded is it the source code for aplication note AVR055?

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

Quote:
I've also tried calibrating this processor with an STK500 without success

Calibration of an ATmega324P works for me with STK500.

Regards,
Jörg.

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

Hi there, I am also facing problem with the calibration software.
The error message that I receive is "The value of one or more fuse bytes are not specified"
I am guessing there is an error in the batch file:
____________________________________________________
@SET CAL_FUSES=99e4
@SET CUSTOMERCODE="test.hex"

%TOOL% -cUSB -I125000 -d%CPU% -s -f%CAL_FUSES% -e -pf -if"..\rc_calib.hex"
_______________________________________________________
I do not know what is the CAL_FUSES=99e4 about, can some one please correct me.