I am currently working on a PLC device based on the STM32H series MCU, running CODESYS.
At the moment, I can:
Change the Ethernet IP address
Update/download the PLC application
via Ethernet without any issues.
However, I would like to implement the same functionality over USB (or Serial via USB) instead of Ethernet.
My goals are:
Change the deviceβs Ethernet IP address via USB
Download/update the PLC application via USB communication
Possibly use USB as a service/programming interface
The hardware platform is based on STM32H series, and I am looking for guidance on:
Whether CODESYS supports USB device communication for runtime download
If a custom USB CDC (Virtual COM Port) implementation is required
Whether a specific CODESYS runtime configuration is needed
If a bootloader approach is recommended for application updates via USB
If anyone has experience implementing USB communication for runtime download or device configuration on an STM32-based PLC, I would really appreciate your guidance.
Thank you in advance for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I am currently working on a PLC device based on the STM32H series MCU, running CODESYS.
At the moment, I can:
via Ethernet without any issues.
However, I would like to implement the same functionality over USB (or Serial via USB) instead of Ethernet.
My goals are:
Possibly use USB as a service/programming interface
The hardware platform is based on STM32H series, and I am looking for guidance on:
If anyone has experience implementing USB communication for runtime download or device configuration on an STM32-based PLC, I would really appreciate your guidance.
Thank you in advance for your help.