error in atmelstudio

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

Hi :)
I have a mk2(clone version)programmer.
I use to program atxmega16a4u.
when i try to program or erase chip in atmelstudio6.1
give me this error:

Erasing device failed
Timestamp: 2014-02-27 10:30:36.615
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Device:erase failed.)
Error status received from tool: Result received is 0x03.

Thanks for advance

admin's test signature
 

Last Edited: Thu. Feb 27, 2014 - 10:13 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

which version of avr studio are you using ?

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

rev wrote:
which version of avr studio are you using ?

Quote:
when i try to program or erase chip in atmelstudio6.0

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

old obsolete version. upgrade to 6.1 sp2. or if you dare the just released 6.2

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

does your clone support pdi programming ?

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

rev wrote:
does your clone support pdi programming ?

yes

admin's test signature
 

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

are you sure your connections are correct. can you post a schematic

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

rev wrote:
are you sure your connections are correct. can you post a schematic

All of connections is correct.
when i try to programing chip ;
Programmer detect chip correct and read chip signature and target voltage correctly but when i want to erase
or program flash AS6 give me an error
and i use AS6.1 its really confusing because it detect even i can read fusebits but unable to programming .

admin's test signature
 

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

did u try it in avr studio4 or AS5 ?

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

mori_64 wrote:
did u try it in avr studio4 or AS5 ?

yes
I try to by avr studio4 and atmel studio5; and same
Result occurred by atmel studio6.1

admin's test signature
 

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

post a schematic as i suggested previously. Also, what is the clone jtag you are using ?

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

xmega is alone and no additional device in broad.
I have a mk2 programmer(clone version;support pdi programming).

Thanks for advance

admin's test signature
 

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

Hi
I put a capacitor in power supply's output and chip
programed correctly.
advised me in other forum.(www.eca.ir)
Thanks form all :)

admin's test signature