It's pretty easy to find tools for SWD and JTAG. e.g. OpenOCD and the
1st party tools. All the ARM chips I've looked at have the silicon to
support this, even Nuvoton. Why are you writing custom bootloaders?
On Mon, Aug 20, 2012 at 7:22 PM, Paul Stoffregen <
pa...@pjrc.com> wrote:
> For Nuvoton, I've ended up going to the ARM Ltd documentation. It's amazing
> how much of documentation there is, yet how little of it actually describes
> how to actually use anything. Everything seems to be just raw documentation
> for each little module. No examples, no explanations, just raw facts.
>
> Unlike AVR where there's a pretty simple ISP programming interface, you
> pretty much have to build a debug system using ARM's very complex protocols,
> take control of the processor core, and then to program the flash you need
> to load and execute in RAM your own code (plus the data you want flashed)
> which does the work using the chip's in-application flash programming
> interface.
>
> Compared to the convenient hardware interfaces and/or bootloaders that are
> so common on 8 bit chips, it's a pretty incredible hurdle to building any
> workable tools. Of course, many of the ARM chips have nice bootloaders in
> ROM, but not Nuvoton!