Page 1 of 1

Upload a hex or bin directly into z-uno

Posted: 03 Aug 2018 09:30
by Riri
Hi,
Is there a command to upload a hex or bin directly into z-uno, once the sketch has been compiled, without arduino software (IDE)
My box does not offer "OTA".
Thank's.
Eric.

Re: Upload a hex or bin directly into z-uno

Posted: 03 Aug 2018 15:14
by p0lyg0n1
Yes, you could do it by means of compiler tool.
1. You need a tool. Download it using direct links (extracted from http://z-uno.z-wave.me/files/z-uno/test ... index.json) from here for your OS.
Windows:
http://rus.z-wave.me/files/z-uno/test-u ... -win32.zip
Linux (x86 32bit):
http://rus.z-wave.me/files/z-uno/test-u ... x32.tar.gz
Linux (x86 64bit):
http://rus.z-wave.me/files/z-uno/test-u ... x64.tar.gz
MacOS X:
http://rus.z-wave.me/files/z-uno/test-u ... osx.tar.gz
2. Extract it to any directory
3. open terminal (CMD, term, Terminal depending on your OS):
Windows:

Code: Select all

$ ./compiler prog path\to\filename.bin -d <ZUNO_COMPORT>
Linux/MacOS X:

Code: Select all

$ ./compiler prog path/to/filename.bin -d <ZUNO_TTY>
You could use .bin or .hex files.
If you need some extra parameters(frequency) you could use "-h" key for help.
Using this toolchain you could compile your sketch without IDE too.

Re: Upload a hex or bin directly into z-uno

Posted: 06 Aug 2018 12:50
by Riri
Thank you very much.
It's run perfectly.

just for windows :
.\compiler prog path\to\filename.bin -d <ZUNO_COMPORT>

Eric.

Re: Upload a hex or bin directly into z-uno

Posted: 06 Aug 2018 23:13
by PoltoS
Added to https://z-uno.z-wave.me/tools/ for future generations

Re: Upload a hex or bin directly into z-uno

Posted: 07 Aug 2018 12:03
by Riri
really extra
very good idea ;)