minion71
I have a KC868-16A module, a PLC using esp32 wroom. Sadly, any code I send to it make it bootloop. Tried one input and 1 out just to see, but it Just goes in boot loop if I use Arduino IDE it does not boot loop. Using Linux ESP32 [3.3.1]. Would love to use it with Openplc.
 
Thanks
Reply 0 0
thiagoralves
Make sure that you’re using the latest version of the editor (file -> check for updates) and that you haven’t set any serial gpio pins in the IO config screen
Reply 0 0
minion71
I am using the latest version. just to be sure I set pin 17 in and 02 out just to test compilation and sadly still rebooting tested on a devboard esp32 wroom same behavior !! will try other version 🙁 only io set are in %IX0.0 should be pin 17 out %QX0.0 and pin 02 or I am missing something
Reply 0 0
thiagoralves
What is the version of the editor you’re using? I’m not familiar with this board, but I thought pin 2 on ESP32 was used for RX. Check if you’re not using pins that share other features like serial, external flash, etc
Reply 0 0
minion71
3.0 installation on Linux mint 22 I will try on another computer later maybe there something fishy in my installation will keep updated !!
Reply 0 0
thiagoralves
What is the specific version of your v3 editor?
Reply 0 0
minion71
The version is the Linux version, so trying on one machine Linux mint 22.2 when compiling the esp32 goes in boot loop. I tried on a fedora machine, same problem when sending a program esp32 goes in bootloop.
 
Tried on a Windows 11 machine, still 3.0 from the website, this time I observed that in the list of microcontrollers there is the specific model esp32 (wroom) it is not on Linux only esp32. In windows, the ESP32 does not bootloop after flashing the esp32. Both use the 3.3.1 esp32 library in Arduino IDE v2. Also in fedora, when you right-click to create connections or contact etc. The program freeze, it needs to be killed!! Will try to experiment using the Windows version, but would love for the Linux version to work too.
 
 
Thanks!!
Reply 0 0
thiagoralves
You have mentioned many details, but didn’t mention the specific release version of your editor. I suspect your editor is very old. You need to update it (file->check for updates)
Reply 0 0
minion71
It is up-to-date does not say the version, only that I have the most recent one! ¯\_(ovo)_/¯ :Edit retry update and no change in the menu but after rebooting the app the update seem to have applied !! No more boot loops so far nice 😃 will update on the KC868-A16 for configs it needs Arduino extension for it to work all IO are on I2C PCF8574 IO chips!!!
 
Thanks!!
Reply 0 0
minion71
Cool serial print example code works SWEET!!!!
Reply 0 0
Reply