The device will show up two Serial Ports, the default one (generally with the lowest number) is the usual Serial Port, the secondary one (usually with the highest number) is a virtual port for ModBus communication from the device to your computer. Take note of the port number assigned to the secondary port (virtual port for Modbus) as it will be needed in a second step.
There is only 1 serial port found so I can't connect to it.
I installed the Arduino PLC IDE & Arduino PLC tools.
In step 4, I clicked the Download button then I have below message.
"C:\\Users\\jb\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary "C:\\work\\Arduino_PLC_Project\\test\\CLISketch/LLSketch.ino.elf" "C:\\work\\Arduino_PLC_Project\\test\\CLISketch/LLSketch.ino.bin"
"C:\\Users\\jb\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\\work\\Arduino_PLC_Project\\test\\CLISketch/LLSketch.ino.elf" "C:\\work\\Arduino_PLC_Project\\test\\CLISketch/LLSketch.ino.hex"
C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4\bootloaders\PORTENTA_H7\portentah7_bootloader_mbed_hs_v2.elf syntax error: no colon char on the first line character at line 1
?์ฑ์ ้๋ฎ์ญ็ฑ?AlPlc็?่ธฐ๊พฉ์พ 1.0.2 ?๋๋: \\Mac\Home\Documents\Arduino\libraries\AlPlc ?๋จฏ๊ฝ ?ั์
?์ฑ์ ้๋ฎ์ญ็ฑ?Arduino_MachineControl็?่ธฐ๊พฉ์พ 1.1.1 ?๋๋: \\Mac\Home\Documents\Arduino\libraries\Arduino_MachineControl-temp_fix_tmc_plc_ide ?๋จฏ๊ฝ ?ั์
?๋๋:C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4\libraries\SPI (?๋๊ต ?????์ฑ์ ้๋ฎ์ญ็ฑ?SPI ?ั์
?์ฑ์ ้๋ฎ์ญ็ฑ?ArduinoRS485็?่ธฐ๊พฉ์พ 1.0.2 ?๋๋: \\Mac\Home\Documents\Arduino\libraries\ArduinoRS485 ?๋จฏ๊ฝ ?ั์
?๋๋:C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4\libraries\Wire (?๋๊ต ?????์ฑ์ ้๋ฎ์ญ็ฑ?Wire ?ั์
"C:\\Users\\jb\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-size" -A "C:\\work\\Arduino_PLC_Project\\test\\CLISketch/LLSketch.ino.elf"
?ใ ผ?็งป์๋ ?๊พจ์คๆดน๋ช์ฉ ?ย??ๆจ๋ฆ์ป 431588 ่ซ๋ถฟ์ ??21%)็??ั์. ๏งค์? 1966080 ่ซ๋ถฟ์ ??
?๊พฉ๋ฟญ ่นย?์๋ ?์์ป ๏ง๋ถพใ็ฑ?195072่ซ๋ถฟ์ ??37%)็??ั์, 328552่ซ๋ถฟ์ ?๋ช์ฝ ๏งย????์? ?โฅ์ฌ. ๏งค์???523624 ่ซ๋ถฟ์ ??
Used library Version Path
AlPlc 1.0.2 \\Mac\Home\Documents\Arduino\libraries\AlPlc
Arduino_MachineControl 1.1.1 \\Mac\Home\Documents\Arduino\libraries\Arduino_MachineControl-temp_fix_tmc_plc_ide
SPI C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4\libraries\SPI
ArduinoRS485 1.0.2 \\Mac\Home\Documents\Arduino\libraries\ArduinoRS485
Wire C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4\libraries\Wire
Used platform Version Path
arduino:mbed_portenta 3.5.4 C:\Users\jb\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\3.5.4
C:\work\Arduino_PLC_Project\test\LLSketch\LLSketch.ino: sketch file compiled
"C:\Users\jb\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1/dfu-util" --device 0x2341:0x035b -D "C:\work\Arduino_PLC_Project\test\CLISketch/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
Error during Upload: Failed uploading: uploading error: exit status 74
There are some corrupted message like this.
?ใ ผ?็งป์๋ ?๊พจ์คๆดน๋ช์ฉ ?ย??ๆจ๋ฆ์ป 431588 ่ซ๋ถฟ์ ??21%)็??ั์. ๏งค์? 1966080 ่ซ๋ถฟ์ ??
?๊พฉ๋ฟญ ่นย?์๋ ?์์ป ๏ง๋ถพใ็ฑ?195072่ซ๋ถฟ์ ??37%)็??ั์, 328552่ซ๋ถฟ์ ?๋ช์ฝ ๏งย????์? ?โฅ์ฌ. ๏งค์???523624 ่ซ๋ถฟ์ ??
DFU error
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
No DFU capable USB device available
Error during Upload: Failed uploading: uploading error: exit status 74
I used the virtual environment(Parallels Desktop) and using the USB Hub.
So these may be the cause of the problem so I don't use the USB hub and did it with Windows desktop. Then I can activate the license.
I am unable to read the first error message; could you please translate it into english?
As I mentioned the DFU suffix signature issue shouldnot be a problem. I get it everytime I upload to the Portenta Machine Control in the regular IDE and this is from the post above which I quoted:
This warning does not indicate a problem. It is expected. If you're not seeing it in the Arduino IDE, it's because you have "Show verbose output during: upload" disabled in your File > Preferences ."
Make sure you have installed the latest version of the PLC IDE (v1.0.3.1) and PLC IDE Tools
If you have the latest PLC IDE version, re-install the PLC IDE Tools.
Make sure you are not using the Serial COM, close it if it is open on the Arduino IDE Serial Monitor, this will block the upload process
Close the PLC IDE, re-plug your board, put it on bootloader-mode (Double-tap the reset button), Open the PLC IDE, select the Port and try to "Download"
Try another USB-port
Check automatic, make sure no other board is connected
Can you upload a normal sketch from the Arduino IDE? @atoum42
Also share the output log, to see the verbose and error