You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md
+99-48Lines changed: 99 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,27 @@ title: "If you're having trouble connecting a device to PLC IDE"
3
3
id: 8824551178780
4
4
---
5
5
6
-
## Check this first
6
+
Learn what do to do if you having an issue using your device with PLC IDE.
7
7
8
-
- If you haven't done so, start by checking the [Arduino PLC IDE Setup and Board's License Activation](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#instructions) tutorial.
8
+
> ![TIP]
9
+
> If you're just getting started with PLC IDE, see [Arduino® PLC IDE Setup & Device License Activation](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license/).
9
10
10
-
- Ensure you've installed the latest version of the **Arduino PLC IDE** software.
11
+
In this article:
11
12
12
-
- Ensure that you have full administrative privileges when running PLC IDE.
13
+
-[If the PLC IDE installation fails](#if-the-plc-ide-installation-fails)
14
+
-[If you can't find the serial port for your device]()
15
+
-[If you can't install the runtime](#if-you-cant-install-the-runtime)
16
+
-[If you see an error when downloading](#if-you-see-an-error-when-downloading)
17
+
-[If there is an issue activating the license](#if-there-is-an-issue-activating-the-license)
13
18
14
-
- Ensure you use a USB cable that supports data transfer.
15
-
16
-
- When downloading the runtime, or connecting to the device, ensure you're [targeting the correct port](https://support.arduino.cc/hc/en-us/articles/16724283965596).
17
-
18
-
- When opening a project created with an earlier version of the PLC IDE, some issues may occur. Try creating a new project (**File > New Project**) to see if this resolves the issue.
19
-
20
-
- You need **valid license** to download the code to the device:
21
-
22
-
- Licenses for Portenta Machine Control are [available in the store](https://store.arduino.cc/products/plc-key-portenta-machine-control). Instructions for license activation [are available here](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#6-license-activation-with-product-key-portenta-machine-control).
19
+
---
23
20
24
-
- Arduino Opta is a pre-licensed product, follow the [activation instructions](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#7-license-activation-with-pre-licensed-products-opta).
This error may occur when attempting to download the runtime sketch.
46
+
[Find the correct port for your device in PLC IDE](https://support.arduino.cc/hc/en-us/articles/16724283965596-Find-the-correct-port-for-your-device-in-PLC-IDE){.link-chevron-right}
49
47
50
-
Solutions:
48
+
### If no COM port is available
51
49
52
-
1.[Verify that the correct port is selected in the manual sketch download widget.](https://support.arduino.cc/hc/en-us/articles/16724283965596)
53
-
54
-
1. Double-tap the device’s reset button to put it in bootloader mode. First, try selecting the correct COM port. If that doesn’t work, set the Port to “Automatic (BootLoader)” and attempt to download the sketch again.
50
+
Follow these steps:
55
51
56
-
1. Close any applications blocking the port, such as the Arduino IDE serial monitor.
52
+
1. Ensure your device is connected using a working data USB cable.
53
+
2. Do a bootloader reset <!-- TODO -->
57
54
58
-
1.[Reformat the QSPI flash memory](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices)
59
-
60
-
1. Create a new project and attempt to download the runtime again.
55
+
---
61
56
62
-
### Error: "(DownloadSketch) Can not download sketch: COM port must be used!"
57
+
##If you can't install the runtime
63
58
64
-
This error occurs when no COM port is selected.
59
+
In this section:
65
60
66
-
[Select the correct COM port in the manual sketch download widget](https://support.arduino.cc/hc/en-us/articles/16724283965596) and attempt the download again.
61
+
-[If nothing happens when downloading the runtime](#if-nothing-happens-when-downloading-the-runtime)
62
+
-[If there is an error when installing the runtime](#if-there-is-an-error-when-installing-the-runtime)
67
63
68
64
### If nothing happens when downloading the runtime
69
65
70
-
1. Ensure you've installed the latest version of the Arduino PLC IDE software from the Arduino Software page.
66
+
Try selecting the Resources tab in the Output panel.
71
67
72
-
1.Verify the "T" Folder Exists
68
+
1.Under the Output panel, select the **Resources** tab.
73
69
74
-
`C:\Users\<Profile-Name>\AppData\Local\T`
70
+
1. Follow the linked instructions if you see any of these errors:
75
71
76
-
If you can't find this folder, Copy it from the computer's Admin profile (which requires access authorization, e.g., the admin password) and paste it into the same path on the user profile.
-[Cannot generate profile file error message: Error: Path not found](#cannot-generate-profile-file-error-message-error-path-not-found)
74
+
75
+
1. Ensure you've installed the latest version of the Arduino PLC IDE software from the Arduino Software page.
77
76
78
77
1. Restart PLC IDE.
79
78
79
+
### If there is an error when installing the runtime
80
+
81
+
See the [If you see an error when downloading](#if-you-see-an-error-when-downloading) section.
82
+
80
83
---
81
84
82
-
## If there is an issue connecting to a device
85
+
## If you can't connect to the device
86
+
87
+
In this section:
88
+
89
+
-[If the "On-Line > Set up communications" and "On-line > Connect" options are disabled](#if-the-on-line--set-up-communications-and-on-line--connect-options-are-disabled)
90
+
-[Error: “Unable to start the communication”](#error-unable-to-start-the-communication)
91
+
83
92
84
93
### If the "On-Line > Set up communications" and "On-line > Connect" options are disabled
85
94
@@ -96,27 +105,69 @@ Choose 'On-line / Set up communication' to configure it
96
105
97
106
Resolve the issue by selecting **On-line > Set up communication** and checking the settings. See [Connect to the Device](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#5-connect-to-the-device) for help.
98
107
99
-
### “Error” in the bottom right corner on first use of the board
108
+
---
100
109
101
-
[Reformat the QSPI flash memory.](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices)
1. Double-tap the device’s reset button to put it in bootloader mode. First, try selecting the correct COM port. If that doesn’t work, set the Port to “Automatic (BootLoader)” and attempt to download the sketch again.
116
128
117
-
- Offline activation: `Could not activate licenses for the following products: AIPC_Arduino_PMC`
129
+
1. Close any applications blocking the port, such as the Arduino IDE serial monitor.
118
130
119
-
Solutions:
131
+
1.[Reformat the QSPI flash memory](https://support.arduino.cc/hc/en-us/articles/16206977438748-Reset-the-flash-memory-on-STM32H747-based-devices)
132
+
133
+
1. Create a new project and attempt to download the runtime again.
*`Could not activate licenses for the following products: AIPC_Arduino_PMC`
169
+
170
+
Try the following:
120
171
121
172
- Upload the [Memory Partitioning sketch](https://docs.arduino.cc/tutorials/opta/memory-partitioning/) using Arduino IDE. Then, try to activate the license again.
122
173
@@ -128,7 +179,7 @@ Solutions:
128
179
129
180
1. Attempt the license activation process again.
130
181
131
-
> [!NOTE]
132
-
> Corporate networks and security programs may interfere with license activation. Disabling these temporarily can help complete the process.
182
+
> [!NOTE]
183
+
> Corporate networks and security programs may interfere with license activation. Disabling these temporarily can help complete the process.
0 commit comments