Does anybody know how to program the Silabs C2 interface with the Bus Pirate?
I'd like to flash some Silabs chips (F330 on model airplane ESCs, Electronic Speed Control) with new firmware. I'm hoping to use the Bus Pirate and I'm looking for where to start.
There's no straightforward support for the Silicon Labs C2 interface, but it appears to be a 2-wire interface analogous to JTAG. I've found C2 support in the Linux kernel. The .c and .h files there are very interesting.
I suppose I can use the Bus Pirate in raw-2-wire mode. I've seen an interesting example in Perl in the Bus Pirate docs but I'm not sure this is the best way to flash a chip with a +2KB hex-file. Or is it? There's someone who uses an Atmel mcu as intermediate interface but I really think the bus Pirate ought to be able to do this.
I'm new to all this. But I've programmed Atmegas before and I've managed to program an Atmega64 inside a RC transmitter with the Bus Pirate and without letting the magic smoke out. Any pointers on this C2 adventure would be more than welcome.