CH340G and ATMEGA16U2 DIY
Posted: Tue Sep 04, 2018 11:57 pm
Hello All,
I have the CH340G and ATMEGA16U2 chips lying around collecting dust so I made a prototype PCB to try and hack them into a Gimx adapter.
The devices may not be supported with the stock code but I took a whack at modifying it to use 230400 baud (friendly to both) instead of 500k and the compile+upload looked OK compared to the official 500k hex file (also modified to use the 16u2).
The problem is the software on my windows PC gave a sync error, I'm guessing the exe software is preconfigured for 500k buad as well....
Anyone ever have success by modifying the code to a different buad or use non-supported parts?
I think I jumped a little too far in without making one that worked first but oh well.
I believe the exe files are also available so maybe it's as easy as compiling the windows software to my needs as well?
Side note: If I understand correctly, for use with a console, that console controller has to be plugged in to the PC or it will not work, right?
Code and schematics for reference:
https://drive.google.com/drive/folders/ ... sp=sharing
I have the CH340G and ATMEGA16U2 chips lying around collecting dust so I made a prototype PCB to try and hack them into a Gimx adapter.
The devices may not be supported with the stock code but I took a whack at modifying it to use 230400 baud (friendly to both) instead of 500k and the compile+upload looked OK compared to the official 500k hex file (also modified to use the 16u2).
The problem is the software on my windows PC gave a sync error, I'm guessing the exe software is preconfigured for 500k buad as well....
Anyone ever have success by modifying the code to a different buad or use non-supported parts?
I think I jumped a little too far in without making one that worked first but oh well.
I believe the exe files are also available so maybe it's as easy as compiling the windows software to my needs as well?
Side note: If I understand correctly, for use with a console, that console controller has to be plugged in to the PC or it will not work, right?
Code and schematics for reference:
https://drive.google.com/drive/folders/ ... sp=sharing