Upload a hex or bin directly into z-uno

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Riri
Posts: 25
Joined: 22 Jun 2018 10:08

Upload a hex or bin directly into z-uno

Post 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.
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

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

Post 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.
Riri
Posts: 25
Joined: 22 Jun 2018 10:08

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

Post by Riri »

Thank you very much.
It's run perfectly.

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

Eric.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

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

Post by PoltoS »

Added to https://z-uno.z-wave.me/tools/ for future generations
Riri
Posts: 25
Joined: 22 Jun 2018 10:08

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

Post by Riri »

really extra
very good idea ;)
Post Reply