X893

Jump to SiLabs: Step 1 - Make a Debug Tool

Design ToolStick BA + DA pin compatible board with C8051F342 chip (with PCB USB connector).
 

ToolStick Debug Adapter firmware available from Silabs site (as part of USB Debug Adapter Firmware Reset.exe).
Original use C8051F321 chip - but no problem with port to F342 chip.
Only one problem - How to program first adapter ?
I use Arduino compatible board (handmake pcb with single ATmeage168P chip).
Create AVR program for control C2 bus.



 

Also C# frontend





  

Download Blink sample to adapter and see results.


 

Next step - test Debug Adapter firmware on F342 chip.

Link to github
with C# project (with exe file) and Arduino sketch.

6 comment(s) so far

  1. Wow, your code rock, x893!

    I was checking app note from Silabs and scratched my head how to convert the example code to Arduino. www.silabs.com/.../an127.pdf

    I'll study your code and try it in my project. Thank you!

  2. Very interesting!

    Where did You get the info about the extra ID of the silabs devices?

  3. Sorry, found it myself in AN127 1.13...

  4. hello, load your AVR code on a pro-mini board just changed led pin to PB5 (board led) C2 bus remain untouched, mini led blink 5 times so I think all is ok.

    But on PC SW try to connect to usb2serial adapter port (same used to load sketch) and fails with "A device attached to the system is not functioning"

    Any advice?

  5. Hi, check only with FTDI and CP2102 USB adapter. C# code use access to USB via system. Some USB adapters add chars to COMn name so need remove it in host program.

  6. Tested with CP2101 from gsm usb2ttl adapter, will try FTDI later.

    anyway, sniffing traffic, arduino send "C2 Flasher" but nothing comes from PC SW. I am using net 4.0 will try with and old pc and 2.0.

    Thanks for the quick reply.-

Post your comment

Thanks for your comments

  • Comment

Github
Bitbucket
Codeplex
SF.net
Resume

Subscribe to x893 blog Subscribe to x893 blog