pymcuprog icon indicating copy to clipboard operation
pymcuprog copied to clipboard

pymcuprog - TCP/IP Connection

Open TrevorS-Dev opened this issue 4 months ago • 4 comments

Hi there,

I am new to Python (I know... better late than never) and I am trying to understand how to use this module to read and configure my microcontroller.

I note lots of reference to USB communication (Rx Tx) but I wanted to check if this module could be used to connect to my microcontroller over a TCP/IP connection?

Please feel free to share any docs/experience... right now I am trying to understand how to use the library given I don't see an option for a pymcuprog.exe

I shall wait for a reply! Trevor

TrevorS-Dev avatar Jul 30 '25 13:07 TrevorS-Dev

Hi @TrevorS-Dev - pymcuprog is an interface to the basic Atmel/Microchip usb-based tools, so running over TCP/IP is not an option we have even considered.

xedbg avatar Aug 04 '25 06:08 xedbg

Thanks @xedbg for the prompt reply. From your experience, do you think running pymcuprog over TCP/IP is possible? Do you have any other thoughts/suggestion for alternative methods for my Atmel chip? I can't afford to buy the usb debugger so the TCP/IP would be ideal!

Or perhaps replicating/simulate the usb-based tools to allow TCP/IP communication... I need to upgrade the firmware (.hex) of an Atmel chip but I have zero information about the chip (i.e. make/model)... Thanks for your time in advanced!

TrevorS-Dev avatar Aug 04 '25 21:08 TrevorS-Dev

Hi @xedbg , have you had a chance to review my last comments RE TCP/IP possibility? Thanks in advanced!

TrevorS-Dev avatar Sep 09 '25 20:09 TrevorS-Dev

Hi @TrevorS-Dev - not really, we are quite tightly coupled to USB tools. Which part families are you interested in? If they have UPDI, then US$10 is hardly costly for a Curiosity Nano...?

xedbg avatar Sep 11 '25 17:09 xedbg