Hello, I recently bought an arduino Opta Lite. I was able to connect to it and activate the licence (after a few hours of head scratching and searching forums).
But now i'm unable to download my plc code to the Opta.
The code is the same as when you create a new project I just added a few lines to the arduino sketch to make the Opta blink on the user and reset leds.
Here is the sketch code :
void setup()
{
pinMode(LED_RESET, OUTPUT);
pinMode(LED_USER, OUTPUT);
/*
// Configure static IP address
IPAddress ip();
IPAddress dns);
IPAddress gateway();
IPAddress subnet();
// If cable is not connected this will block the start of PLC with about 60s of timeout!
eth.begin(ip, dns, gateway, subnet);
*/
}
void loop()
{
digitalWrite(LED_RESET, HIGH);
digitalWrite(LED_USER, HIGH);
delay(1000);
digitalWrite(LED_RESET, LOW);
digitalWrite(LED_USER, LOW);
}
So nothing special, I'm able to compile the code but when I try to download it I get this error message :
Waiting for upload port...
No upload port found, using COM5 as fallback
"C:\Users\Tobias\AppData\Local\T\A\internal\arduino_dfu-util_0.10.0-arduino1_f76499ce02f56129/dfu-util" --device 0x2341:0x0364 -D "C:\Users\Tobias\Documents\Opta Test\LLSketch_build/LLSketch.ino.bin" -a0 --dfuse-address=0x08040000:leave
dfu-util 0.10-dev
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
No DFU capable USB device available
Failed uploading: uploading error: exit status 74
So it's a COM port problem. I have 2 COM ports open when my opta is connected : COM port 9 and COM port 10.
I read somewhere that I could try to double tap the reset button and then download the code but it opens another COM port (10).
I did the basics already (rebooting, checking drivers, reinstalling the plc ide tools, making another sketch). I'm still at a loss...
Thank you in advance ![]()