SparkFun Sandbox programmer not responding

Hello,
I’ve can successfully build and deploy projects to my Sparkfun Digital Sandbox using the Arduino IDE, and now I’m trying out Platform.io. I have created a new project, with a main.cpp containing the classic ‘blink’ program, with the following ini:

[env:sparkfun_digitalsandbox]
platform = atmelavr
board = sparkfun_digitalsandbox
framework = arduino
upload_port = /dev/cu.usbserial-A9048KU5

Compiling succeeds, but during upload, I see:

[Wed Feb 15 06:45:01 2017] Processing sparkfun_digitalsandbox (platform: atmelavr, upload_port: /dev/cu.usbserial-A9048KU5, board: sparkfun_digitalsandbox, framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Collected 28 compatible libraries
Looking for dependencies...
Project does not have dependencies
Linking .pioenvs/sparkfun_digitalsandbox/firmware.elf
Checking program size
text	   data	    bss	    dec	    hex	filename
928	      0	      9	    937	    3a9	.pioenvs/sparkfun_digitalsandbox/firmware.elf
Building .pioenvs/sparkfun_digitalsandbox/firmware.hex
Looking for upload port...
Use manually specified: /dev/cu.usbserial-A9048KU5
Uploading .pioenvs/sparkfun_digitalsandbox/firmware.hex
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

Until ultimately the upload gives up after 10 tries.

Any advice? I am on MacOS.

Could you try to comment this line upload_port = /dev/cu.usbserial-A9048KU5?

Thank you @ivankravets I did try it without the upload_port line. Same issue. It does seem to auto-detect the correct port.

I have also tried re-installing the ftdi drivers. No change. I have also verified that things do indeed still work with the Arduino IDE.

Linking .pioenvs/sparkfun_digitalsandbox/firmware.elf
Checking program size

text       data     bss     dec     hex filename
928           0       9     937     3a9 .pioenvs/sparkfun_digitalsandbox/firmware.elf
Building .pioenvs/sparkfun_digitalsandbox/firmware.hex
Looking for upload port...
Auto-detected: /dev/cu.usbserial-A9048KU5
Uploading .pioenvs/sparkfun_digitalsandbox/firmware.hex
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding

Please file an issue here Issues · platformio/platform-atmelavr · GitHub

Posted with a bounty.

This issue seems resolved. Thank you @ivankravets .

1 Like