Hi,
We're great fans of the mbed platform at our university and have successfully used it in a 40 student graduate course. As we plan for the next offering this Fall, there is but one feature of the mbed that makes it sub-par compared to other platforms we've used before - JTAG. Yes, we do have LEDs and yes, we do have a great printf interface for debugging, but one of things we would like to teach is run-time debugging. Unfortunately, we have to reach for other platforms at the moment and we'd love to keep things consistently on the mbed.
One of these platforms is the Robovero from Gumstix (which happens to use an LPC1769). The designers have used the FT2232 chip to provide JTAG access over USB. One would use a tool such as OpenOCD to set breakpoints and watches through a gdb or similar interface.
I wonder whether a similar interface can be provided out through the magic chip. I would think that along with the MSC and the CDC profiles, the magic chip could also expose a custom HID endpoint similar to the use provided by FT2232. If there is a clean way to do this from the magic chip, we can volunteer to write the OpenOCD side with your protocol.
Please let us know if this is something doable or whether there is a fundamental technical constraint that would prevent it ?
Thanks,
Zainul Charbiwala
Graduate Student Researcher, Networked and Embedded Systems Lab, UCLA
Hi,
We're great fans of the mbed platform at our university and have successfully used it in a 40 student graduate course. As we plan for the next offering this Fall, there is but one feature of the mbed that makes it sub-par compared to other platforms we've used before - JTAG. Yes, we do have LEDs and yes, we do have a great printf interface for debugging, but one of things we would like to teach is run-time debugging. Unfortunately, we have to reach for other platforms at the moment and we'd love to keep things consistently on the mbed.
One of these platforms is the Robovero from Gumstix (which happens to use an LPC1769). The designers have used the FT2232 chip to provide JTAG access over USB. One would use a tool such as OpenOCD to set breakpoints and watches through a gdb or similar interface.
I wonder whether a similar interface can be provided out through the magic chip. I would think that along with the MSC and the CDC profiles, the magic chip could also expose a custom HID endpoint similar to the use provided by FT2232. If there is a clean way to do this from the magic chip, we can volunteer to write the OpenOCD side with your protocol.
Please let us know if this is something doable or whether there is a fundamental technical constraint that would prevent it ?
Thanks,
Zainul Charbiwala
Graduate Student Researcher, Networked and Embedded Systems Lab, UCLA