Probably or not, i don't have the skill to say it, but monday i needed to choose to stop until (?) or try to resolve. The problem is the compiler that i have downloaded myself (the link was found in the arduino forum). This problem i can reply on every Opta i have (more 5). It stopped with this error :Ī valid DFU suffix will be required in a future dfu-util releaseįailed uploading: uploading error: exit status 74 With this (Arduino orginal task, not mine), download not arrive at done. The problems is not the code beacuse the problem is the same with the default code PLC IDE (cnt=cnt+1 not other task). Attention : the week before, i installed IDE, PLC IDE and relatives board without any error on the same PC. Manual installation was the last solution, after many resarch in forum and many test without antivirus firewall, on two different PCs and different virtual machine. Please do not use the arduino-cli to install the needed packages, let the PLC IDE Tools installer do that, the PLC IDE does not use the arduino15 path as the Arduino IDE.Īfter a morning with this critical error, without Opta board inside PLC IDE and IDE, without answer, without support, with development stopped, there wasn't other solutions.Īrduido IDE and PLC IDE given me a corruption error about the packages that the software downloaded from their archives (compiler ZIP "gcc-arm-none-eabi-7-2017-q4-major-win32-arduino1" was 6 kB and not 126 Mb !). Another bypass solution for the sketch was transfer the LLsketch with IDE because it is able to switch in auto from normal operation ti boot the Opta, without error. I wrote a post for this problem.Īnother strange question is that before i found a solution with "boot phase", it's possibile download PLD IDE code with Modbus TCP, but the code was lost every reboot (it's stored in volatile memory ?). I solved it with a manual installation (after a morning of test). The versions are the last one because i search a solutions around without answer or documentation.įrom this monday, when i re installed PLC IDE, Tool and IDE, i had a problem with compiler of board for a corruption of archive (6kb insteade 126 Mb). The problem is the same with our code or with the example with the declaration Opta. The code in ST is ready (it's the same of previous plc), the modbus connection is already tested (with plc there are about 20 systems around italy), so i need to test Opta in this function (replace plc). Send over Modbus TCP information to a router for cloud and remote assistance. The configuration target for our scope is : Opta programmed with PLC IDE in substituion of PLC, program in ST, connected with HMI in Modbus TCP and receive information from drives and sensor from RTU. In this moment i have 5 Opta with the same problem tested with 2 different PCs, with physical installation (not virtual machine) and with 2 different VM. Regarding the Ethernet connection and remote assistance, are you referring to Over-The-Air firmware updates? You can do this before uploading your code. The workaround is to enter it manually by pressing the reset button twice this puts your Opta device into boot mode. Usually, it should enter automatically, but sometimes it fails. It relates to the DFU mode that Opta enters for updating the user sketch. Make sure you have the latest version of the PLC IDE and you have also installed the latest PLC IDE Tools, both available at I am using the latest version of the PLC IDE (v1.0.3.1) ST program running on the Fast task: //Default counter
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |