[Arduino DUE] The Native USB Port is 6.5x faster than the Programming Port for Uploading

Using the programming port to upload can waste a lot of time compared to the native port.

Either of the USB ports can be used for programming the board, though it is recommended to use the Programming port due to the way the erasing of the chip is handled

Source: https://store.arduino.cc/usa/due

It would be interesting to have this speed difference information, because it is about 6.5 times.

Test code (Attached):

Sketch uses 519244 bytes (99%) of program storage space. Maximum is 524288 bytes.

Native USB Port: 31s
Programming Port: 3m20s

Note: Using the native port, it may be necessary to add a delay of 2s in the setup routine, in order to be able to see the initial messages on the IDE 1.8.13 serial monitor.

void setup() {
  // put your setup code here, to run once:



void loop() {
  // put your main code here, to run repeatedly:


speed_test.zip (472.9 KB)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.