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.
Upload a hex or bin directly into z-uno
Re: Upload a hex or bin directly into z-uno
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:
Linux/MacOS X:
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.
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>
Code: Select all
$ ./compiler prog path/to/filename.bin -d <ZUNO_TTY>
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
Thank you very much.
It's run perfectly.
just for windows :
.\compiler prog path\to\filename.bin -d <ZUNO_COMPORT>
Eric.
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
Added to https://z-uno.z-wave.me/tools/ for future generations
Re: Upload a hex or bin directly into z-uno
really extra
very good idea
very good idea