I try to upload a code to a board using the DUE and programming port.
The problem is when I use a due board with the VID 2341 all is ok, the code is uploaded correctly but when I use a board with the VID 2A03 I have the message "FLASH ID xxx not supported" or a bossac error.
I tried 2 differents due board with VID 2A03 with no success.
I have the message "FLASH ID xxx not supported" or a bossac error.
Are you sure you're connected to the correct physical port on the Due? "Flash ID" sounds like an error you'd get if you were talking to the "native usb" port.
westfw:
Are you sure you're connected to the correct physical port on the Due? "Flash ID" sounds like an error you'd get if you were talking to the "native usb" port.
Yes I'm sure this is the programming port. Also when I try the exact same setup with another DUE board but with VID 2341 there is no problem.
The errors are random, one time I have the Flash ID error, another time it's a bossac error. I have checked the connections, changed the USB cable but nothing works with these 2A03 boards.
I needed to cut the TX PIN (PIN 2) of the ATSAM3X8E on the arduino DUE board.
The target board I was trying to program use the ATSAM3X8E also. I think the problem was there and so cutting the TX PIN on the DUE disconnected it from the 16U2 and resolved all the problems.