Device programming issues

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

I am trying to program a AT32UC3A0512 using a JTAGICE3 and the Atmel Studio 6.2 beta. When I try to program through the JTAGICE3 i get the following error information:

Timestamp: 2014-03-04 10:10:45.999
Severity: ERROR
ComponentId: 20100
StatusCode: 131103
ModuleName: TCF command: Modules:writeToMemory failed.

Failed to write segment at 0x80000000 to target for memorytype base

If I close Atmel Studio, power cycle my board, unplug and replug usb on my JTAGICE3, and restart Atmel studio I am able to program my device exactly once before I start getting the same error, which leads me to believe its not a fuse setting or jtag wiring issue. If I try to program my device multiple times the address in the error I pasted above will someimtes change. Also, even though I am not able to program the chip I can still erase it, and read the device inforamtion.

I was having the same problems with Atmel Studio 6.1 SP2 before I upgraded to the beta. I also tried Atmel Studio 5 with no luck.

I have tried downgrading the firmware on the JTAGICE3 as suggested in other threads.

Also When I try to enter to Debugging mode I get an error that says "Failed to launch program. Error: Saving to device failed."

Any thoughts on what might be causing this issue?

-Pat

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

I eventually solved this problem. My board is using an external watchdog chip which was pulsing the reset line every few seconds. This was the root of all my issues.

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

Those darned watchdogs have some nerve doing their job!

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user