On Sunday 22 November 2009, Johnny Halfmoon wrote:
> > Consider a board:
> >
> > USB --> Cortex-M3 --> level shifting --> JTAG
> >
> ...
> > Come up with such a board with initial "it works"
> > firmware ... and OpenOCD could speed things up
> > over time.
>
> Now there's an interesting project. Do I hear a call for porting
> OpenOCD to an STM32 (got USB) + $some_rtos system?
I'm not sure porting it would be the right solution.
For starters, OpenOCD is demonstrably too bloated to
fit on a typical Cortex-M3. I did a test build using
a "Cortex-A8 Thumb2" target, and saw over 640 KBytes
of object code, on top of needing libc etc. It ought
to be possible to trim that down ... but that'd be a
lot of work, and it'd surely look VERY different before
it could fit into a sane-sized microcontroller.
Also, there are more CM3 chips than just STM32. ;)
I think the more-likely-to-succeed-soon model would
be to aim at a "smart dongle" that can just offload
more of the work than an FT2232 ("dumb") does.
> Now that's got to be faaaaast.
>
> It shouldn't even be that hard I think.
It wouldn't be rocket science or brain surgery, no.
But it would be a bunch of work.
I'm not sure I see a better path for OpenOCD to
get "smart dongle" support, though. Commercial
vendors aren't beating down our doors to expose
their how their adapters work.
- Dave
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development