problem in programing with mk2

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

Hi
I have a mk2 programmer(clone version;support pdi programming).
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.

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.
its really confusing because it detect even i can read fusebits but unable to programming .

also xmega is alone and no additional device in broad.

Thanks for advance. :)

admin's test signature
 

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

Apart from the fact that it's a clone which may mean you have to use avrdude anyway try upgrading your Studio to 6.2Beta as it's supposed to have fixes for USB programmer issues.

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

I upgraded AS6.1 with AS6.2Beta and give me again same error.
my programer is LUFA AVR ispMK2 project.
www.lufa-lib.org

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