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:
C:\Users\smithuan\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0\bossac.exe
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?
Many thanks!
EDIT:
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?
I have just got me first SODAQ ExpLoRer board today noon.
I spent many hours getting the Arduino IDE 1.8.4 to work.
Don’t like this IDE myself.
Time for all developers to move to Atmel Studio 7.
I will try myself to use it this week and give feedback if I have any luck.
I think it is strange that a key component for IoT uses this IDE as default.
Arduino IDE is not really the best in CLASS. It’s fine for starting but really poor for more advanced programming needs.
SODAQ engineers you all using Atmel IDE?
If YES, WHY?
I’ve managed to get Atmel Studio working with the SodaQ One board (both compiling and uploading). But it has been a series of hotfixes here and there. You can start a project with or without the Arduino Core, both need different steps. Fair warning though: A lot of SodaQ software is written on top of the Arduino Core, so if you want to get rid of Arduino entirely, you need to rewrite a lot of software.
I use Atom with PlatformIO. They have board support for all Sodaqs.
I’ve been having great success with it, and it also includes a debugger if you have the Atmel ICE or Segger JLink module.