Problem with arduino due

Hi I'm trying to upload code to Arduino due but the Programming port doesn't appear in my device manager. And when I use the Native USB port to upload, there is an ERROR like this:
Sketch uses 10692 bytes (2%) of program storage space. Maximum is 524288 bytes.
Atmel SMART device 0x285e0a60 found
Erase flash
done in 0.018 seconds

Write 11872 bytes to flash (47 pages)

[ ] 0% (0/47 pages)
[== ] 8% (4/47 pages)
[===== ] 17% (8/47 pages)
[======= ] 25% (12/47 pages)
[========== ] 34% (16/47 pages)
[============ ] 42% (20/47 pages)
[=============== ] 51% (24/47 pages)
[================= ] 59% (28/47 pages)
[==================== ] 68% (32/47 pages)
[====================== ] 76% (36/47 pages)
[========================= ] 85% (40/47 pages)
[============================ ] 93% (44/47 pages)
[==============================] 100% (47/47 pages)
done in 2.733 seconds

Verify 11872 bytes of flash

[ ] 0% (0/47 pages)
[== ] 8% (4/47 pages)
[===== ] 17% (8/47 pages)
[======= ] 25% (12/47 pages)
[========== ] 34% (16/47 pages)
[============ ] 42% (20/47 pages)
[=============== ] 51% (24/47 pages)
[================= ] 59% (28/47 pages)
[==================== ] 68% (32/47 pages)
[====================== ] 76% (36/47 pages)
[========================= ] 85% (40/47 pages)
[============================ ] 93% (44/47 pages)
[==============================] 100% (47/47 pages)
Verify failed
Page errors: 47
Byte errors: 11439
Failed uploading: uploading error: exit status 2

Can anyone help me to fix this

Hello hyzie

Welcome to the world's best Arduino forum ever.

Disconnect the native USB during upload.

hth

Have a nice day and enjoy coding in C++.

Thanks for replying to my question but can you explain more about the disconnection. I have tried to disconnect the Native USB but it still can't upload the code.

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