Tool to debrick AT32UC3A?

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

My EVK1100 was turned to brick by the ADC demo program, which was supposed to be flashed by command "make isp program run". batchisp spurted out "Warning: program overlaps bootloader area" and gone it was.

I know that JTAGICE-MkII would solve this problem easily, however, there are quite a few people out there who would also benefit from the cheap programmer, thus I am willing to try for a few days.

When using unbuffered wiggler (http://jtag-arm9.sourceforge.net..., 8cm cable length), the jtagomat reports device ID as 0xE4520A03. H-JTAG reports device ID 0x0091df90. According to datasheet page 758 it must be 0xr1EDC03F.

I have little experience with JTAG and it would take quite a lot of time to dig through it all. Perhaps some of you more experienced guys can guide me in the right direction?

P.S. I am more a software guy, those wire protocols are a little uncomfortable to me.

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

There is a thread in this forum somewhere reporting success with a homemade programmer. IIRC it's actually stuck at the end of a longer thread bemoaning the lack of cheap programming dongles.

ISTR the person who got it flying had a patched version of some jtag tools available; for some reason they were needed for avr32 programming.

-S.

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

Thanks for the information. Perhaps something useful can be deduced from the experience of NGW100. It must work :)

In the meantime:
1. the JTAG is explained rather nicely in the AT32UC3A series datasheet.
2. the device ID reported by jtagomat changes sometimes, implying that it is not the most reliable tool.

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

My apologies to everybody here.

When looking up instructions for reinstalling the bootloader with the JTAGICE (found one friendly fellow), the next section instructed to press the joystick button to activate ISP. I was pressing the wrong button for quite some time. Probably the warning about overlapping the bootloader was meant to be ignored.

I am really sorry. Haven't flopped so embarassingly for quite some time.

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

haha happens to the best of us, glad it's working for you now :)

Happy coding!

-S.