Problem with JTAGICE.EXE from AS 4.09

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

After updating to AS 4.09 i'm no longer able to programm my Mega128 via JTAG using the command-line tool JTAGICE.EXE.

I have also tried default JTAG and COM speed, but no luck.

Programming from within AS woks perfectly fine as always!

Is anyone having similar problems?

Quote:
C:\AVR\OpenProg\Firmware>jtagice.exe -B115200 -J1000000 -cCOM2 -e -R -pf -vf -if
OpenProg.hex
JTAGICE command line programmer, v 1.2 Mar. 2004 Atmel Corp (C).

Connected to JTAG ICE on port COM2
External reset on target device activated
Device "ATmega128" detected
JTAG programming mode entered
Device erased
FLASH input file OpenProg.hex read
Programming FLASH... FLASH programmed
Reading FLASH... FLASH read
FLASH verification failed
JTAG programming mode left
External reset on target device deactivated
Connection to JTAG ICE closed

WARNING! One or more operations failed! Please examine the output log above!

Bertolt

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

Arg...

I deinstalled 4.09, installed 4.08 and it worked again. Juhu!

So i copied jtagice.exe, AvrTargetJtagIce.dll and AvrJtagIce.dll aside and again installed 4.09.

But no luck, the 4.08 version of jtagice.exe has the same problem if 4.09 is installed :evil:

Looks like it uses some more DLLs and/or COM components from AS.

Any ideas?

Bertolt

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

Bertolt,

If you read out the contents of flash and save it to a file, how does it look? It might give some indications on what is not working.

Svenn-Ivar

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

@ssvendsen:

The last page (of the .hex, not the AVR) is missing!?

Programming a .hex that ends at a page border works! :roll:

Bertolt

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

Hi,

I just changed from ATMEAG16 to ATMEGA32 and have the same problem with JTAGICE.exe. Programming the 16 works, programming the 32 doesn't work. The last page of the bootsector will not be written by JTAGICE.exe, only by AVRStudio.
I will try to "update" back from 4.09 to 4.08, hope it will work for me, too.
Uh, such damn things waist my working-time...