ATMEGA1284P get wrong message when programming with ATMEL-ICE

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

Hi. it was a post about same problem with an another CPU wihout answer, try a new post.

i get the follow message when I try to program ATMEGA1284P

"The requested command timed out. Debugger command Memory write failed."

use JTAG , ATMEL-ICE and studio 6.2

Somebody has one idee about that? 

try to reduce speed of JTAG

now I will see if my pull-up are perhaps to high. ( I am sure at they are not to low).

But thank you for another solution.

 

Thank you

thierry

 

Thierry Pottier

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

Hi Thierry,

 

     Are you able to read the signature of the device using Atmel Studio Programming dialog ?

     I hope you tried Chip Erase.

 

Partha  :-)

 

 

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

Yes 

read all. 

set fuse / reset fuse

all ok. 

no used another ATMEL ICE seam to be better???? 

 

Thierry Pottier

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

What clock rate are you using?  My ICE would sometimes set the ISP clock to 8 kHz and I would get the timeout message.  After buttoning on Apply, set it to 125 kHz, and button on the Set icon below the clock slider.  It will have an ! point if you changed the value.  That might help your timeout problem.

Last Edited: Fri. Aug 4, 2017 - 05:35 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use JTAG only and try the standard 1MHz and reduce to 100KHz same problem , vel with 100KHz get perhaps write some time.

Now I see for hardware issue, perhaps parts on the board turn on in debug modus some can give some problem.

Thierry

Thierry Pottier

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

Use ISP to program the chip.
.
MG

I don't know why I'm still doing this hobby

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

nice but can not!

not set ISP port on this board and difficult to debug with isp! 

Thierry

Thierry Pottier

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

I have an ATmega1284P that I program with ISP using the standard 6-pin header with MISO, MOSI, SCK, RESET, Vcc, and GND.  It programs fine.  I have not needed the debugger, but I see from the data sheet the debugger uses JTAG.  You could program with ISP and debug with JTAG, if needed.

 

If you dont have an ISP connection on your board, can you add one?

Last Edited: Fri. Aug 4, 2017 - 05:36 PM