Programming with multiple boards connected to laptop

Hi guys, my name is Brenton.

I am working with two “Samr21-xpro” boards. Whilst both boards were connected to the PC, whenever i tried to flash according to the /dev/ttyACMx ports, i received this error message “Error: more than one debugger found, please specify a serial number”. I fixed this error by using this command

"BOARD=samr21-xpro SERIAL="ATML2127031800002124" make flash".

However, when using the command “sudo BOARD=samr21-xpro SERIAL=”ATML2127031800002124" make clean all riotboot/flash", i receive the same error.

I could disconnect 1 board, and program with only 1 board connected, but that’s unproductive whilst debugging. Any ideas on how to fix this?

With regards Brenton

Hi Brenton,