I'm trying to upload sketches to the Sodaq one using Atmel Studio (via USB). Has anyone managed to get this to work?
I already configured an external tool inside Atmel Studio to upload sketches to the board using this command:
-i -d --port=COM5 -U true -i -e -w -v $(TargetDir)$(TargetName).bin -R
From what I can see, it produces the same output as from the Arduino IDE when uploading sketches. However, the Sodaq One doesn't seem to respond anymore after I uploaded a simple blink sketch (LED's don't blink, can't tell what the board is doing otherwise).I can upload again using the Arduino IDE with no problems there, so I haven't wiped the bootloader or anything by mistake
I do need to manually put the sodaq board in bootloader mode to open up COM5 (the port used to program the board). Something I didn't need to do with the Arduino IDE since it resets the COM port its connected to before uploading, opening up COM5.
Does someone got any idea's where I might be doing something wrong?
I figured it has nothing to do with uploading a sketch but is rather the compiling of the solution where stuff goes wrong. When I change my command to point to the bin file the Arduino IDE compiles, it uploads without any problem. So therefore it must be Atmel Studio isn't compiling the sketch correctly.
Does someone have any experience compiling sketches using Atmel Studio?
Again, many thanks!