Spark Cloud Local Setup - Error with keys

I have the server up and running, however, when I try to associate the keys, I get the following:

spark keys server default_key.pub.pem A.B.C.D
checking file default_key.pubA_B_C_D.der
spawning dfu-util -d 1d50:607f -a 1 -i 0 -s 0x00001000 -D default_key.pubA_B_C_D.der

events.js:72
throw er; // Unhandled ‘error’ event
^
Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)

A.B.C.D changed to hide my ip address. This occurs regardless of specifying .pem or .der.

Any thoughts on the cause? FYI, server is running on Ubuntu.

Thank you!

–Rod

Try spark keys server default_key.pubA_B_C_D.der

And make sure your core is in DFU mode :wink:

Hi @Jovack,

Make sure you have dfu-util installed as well, and that your core is connected and is in DFU mode. You should see your core when you run dfu-util -l

Thanks!
David

1 Like