I'm a student developing the onboard computer system for a university satellite. We've come quite a long way with the evaluation kit and SAM-BA, and we're now ready to manufacture our custom board, that will be smaller and have a different set of components. We had intended to eliminate the USB port that we have been using, and use just the JTAG port for programming and debugging. However, we just noticed that H-JTAG is unable to program the device after I have erased the chip using the jumper.
If I use SAM-BA to program it once, I can subsequently use H-JTAG (or OpenOCD) any number of times to program it. However, without the first SAM-BA program (i.e. after every erase jumper use), I am unable to program it over JTAG.
I was just wondering if there is a way to program the device completely independently, using on the JTAG interface. I am using a simple wiggler clone (since that's the cheapest we could buy).
Any help will be appreciated.