Bossac doesn't work?! It happened to me, too. Are you using a USB 3 port? This could be the problem.To fix it, just program the Arduino by using a USB 2 port or, if you don't have it, through a USB 2.0 Hub!Cheers

'__disable_irq' was not declared in this scopeinterrupt_sam_nvic.h/ArduinoDueCore/src/lib/libsam/includeline 123'__DMB' was not declared in this scopeinterrupt_sam_nvic.h/ArduinoDueCore/src/lib/libsam/includeline 123'__enable_irq' was not declared in this scopeinterrupt_sam_nvic.h/ArduinoDueCore/src/lib/libsam/includeline 135'_dwIrq' was not declared in this scopeUSARTClass.cpp/ArduinoDueCore/src/coreline 60'_pUsart' was not declared in this scopeUSARTClass.cpp/ArduinoDueCore/src/coreline 43'Adc' was not declared in this scopeadc.h/ArduinoDueCore/src/lib/libsam/includeline 175'Dacc' was not declared in this scopedacc.h/ArduinoDueCore/src/lib/libsam/includeline 67'IRQn_Type' does not name a typeUSARTClass.h/ArduinoDueCore/src/coreline 35'NVIC_DisableIRQ' was not declared in this scopeUSARTClass.cpp/ArduinoDueCore/src/coreline 72'NVIC_EnableIRQ' was not declared in this scopeUSARTClass.cpp/ArduinoDueCore/src/coreline 60'p_adc' was not declared in this scopeadc.h/ArduinoDueCore/src/lib/libsam/includeline 173'p_dacc' was not declared in this scopedacc.h/ArduinoDueCore/src/lib/libsam/includeline 66'p_tc' was not declared in this scopetc.h/ArduinoDueCore/src/lib/libsam/includeline 73'p_tc' was not declared in this scopetc.h/ArduinoDueCore/src/lib/libsam/includeline 71'Pdc' does not name a typedacc.h/ArduinoDueCore/src/lib/libsam/includeline 70'Pio' does not name a typepio.h/ArduinoDueCore/src/lib/libsam/includeline 124'pPio' was not declared in this scopepio.h/ArduinoDueCore/src/lib/libsam/includeline 109'pPwm' was not declared in this scopepwmc.h/ArduinoDueCore/src/lib/libsam/includeline 76

Clean your ArduinoDueCore project :- clean ArduinoDueCore project- in the "Problems" tab right click on the root errors node, when the popup is open, click on "Delete" item. You can do the same for warnings.- bluid ArduinoDueCore.

Hi Nassa, if I well understood ,to use the PROGRAMMING port with bossac you shall use one of the two procedures reported in the AduinoDue main page. that are :1) pressing the erase button on the arduino while running bossac2) Open the serial port without bossac, which activates the Erase and Reset sequence , and then launch the bossac .

Unfortunately I can only use the bossac via command line while pressing the erase button, if I do that using the eclipse external tool it doesn't works.I'll do a script which opens the port ,closes it and then run the bossac.

By the way, to understand how the bossac is actually run by the arduino IDE , I substituted the original bossac with a simple shell script and run the upload procedure on the IDE.Here the code :

I've got these error's now in myProjectThese error's keep coming back I defined -L but it seems i't cant find the library or something if I build like 3 times in a row it completes but only shows the .o files

HI All, finally I did it !I'm able to build the blinky led program and upload it using the external tool all done in eclipse.The last tiny problem is the bossac manually operation...I've followed a different path from the one proposed by Nassa, obviously is due to him if I'm at this stage.I will soon post how I did it . Cheers Zad