Z-UNO compatibility issue on Mac OS, boot loader

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Bobby7811
Posts: 4
Joined: 26 Mar 2020 20:47

Z-UNO compatibility issue on Mac OS, boot loader

Post by Bobby7811 »

Not Working !!! on that config

Mac OS 10.15.3
Arduino 1.8.12
Z-Wave>Me 2.1.5
Arduino : 1.8.12 (Mac OS X), Carte : "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, Disabled"

************* Building Arduino Sketch *************
sketch_mar26b.ino
***************************************************

--- USING a list of libraries from:
/Users/robertlouvignes/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.5/libraries
/Users/robertlouvignes/Documents/Arduino/libraries
*** Collecting prototypes...
Preprocessing file: Custom.c with SDCPP...
Exception:[Errno 86] Bad CPU type in executablePreprocessor failed!exit status 1
Erreur de compilation pour la carte Z-Wave>ME Z-Uno
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by PoltoS »

Sorry, new Mac OS X 10.15 is not yet supported
petergebruers
Posts: 255
Joined: 26 Jul 2015 17:29

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by petergebruers »

IIRC I've fixed it like this, but it was a long time ago... I downloaded sdcc 64bit for mac. Possibly I used "homebrew" to do that but I cannot remember.

The I searched where Arduino puts the sdcc compiler in its tool chain, in my case the path is:

/Users/peter/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.80/zuno_toolchain/sdcc/bin/sdcc

Then I replaced all files in that directory with those 64 bit versions.

Last step was running all those tools once on the command line, because macOS will ask permission to run once...

That's all...
Bobby7811
Posts: 4
Joined: 26 Mar 2020 20:47

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by Bobby7811 »

Ok Thank you,
I will try to find it it and let you know

At this moment I made a temporary solution with teensy and an analog output connected to FGBS222 from Fibaro
petergebruers
Posts: 255
Joined: 26 Jul 2015 17:29

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by petergebruers »

Thank you for reporting back! Glad you have found a workaround with "Smart Implant".
Bobby7811
Posts: 4
Joined: 26 Mar 2020 20:47

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by Bobby7811 »

PoltoS wrote:
26 Mar 2020 22:43
Sorry, new Mac OS X 10.15 is not yet supported
Hello,

Do you have any idea if and when it will be supported ?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by PoltoS »

We are working hard on 7th gen. Not sure when we can work on this issue. Will check with the team
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by p0lyg0n1 »

Hi,
we have released the next beta with MacOS X Catalina support last night. :!: You have to accept 3d-part software and sdcc (5 different binaries) in your OS X security settings during the first compilation. You can install the last version from "beta" repository (http://z-uno.z-wave.me/files/z-uno/test ... index.json). Good luck.

yours,
Alex.
randallman
Posts: 8
Joined: 17 Jan 2021 20:45

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by randallman »

Ok, what? What do we need to do in order to leverage these beta drivers? I've used jq to parse out the latest of each of the two packages?

zuno_hardware-2.1.5.zip and zuno_toolchain-00.08.81-macosx.tar.gz

I also used homebrew to install sdcc..

Any other docs? Reference?

I don't want to have to break out an old windows box uggh...

Thanks in advance,
--Randall
randallman
Posts: 8
Joined: 17 Jan 2021 20:45

Re: Z-UNO compatibility issue on Mac OS, boot loader

Post by randallman »

Oh and I think I see the issue? in the zuno_toolchain, all of the bins are 32 bit?

```

Code: Select all

for i in *; do file $i
> done
as2gbmap: Python script text executable, ASCII text
makebin: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
makebin (for architecture i386):        Mach-O executable i386
makebin (for architecture ppc): Mach-O executable ppc
packihx: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
packihx (for architecture i386):        Mach-O executable i386
packihx (for architecture ppc): Mach-O executable ppc
s51: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
s51 (for architecture i386):    Mach-O executable i386
s51 (for architecture ppc):     Mach-O executable ppc
sdar: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdar (for architecture i386):   Mach-O executable i386
sdar (for architecture ppc):    Mach-O executable ppc
sdas390: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdas390 (for architecture i386):        Mach-O executable i386
sdas390 (for architecture ppc): Mach-O executable ppc
sdas6808: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdas6808 (for architecture i386):       Mach-O executable i386
sdas6808 (for architecture ppc):        Mach-O executable ppc
sdas8051: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdas8051 (for architecture i386):       Mach-O executable i386
sdas8051 (for architecture ppc):        Mach-O executable ppc
sdasgb: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdasgb (for architecture i386): Mach-O executable i386
sdasgb (for architecture ppc):  Mach-O executable ppc
sdasrab: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdasrab (for architecture i386):        Mach-O executable i386
sdasrab (for architecture ppc): Mach-O executable ppc
sdasstm8: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdasstm8 (for architecture i386):       Mach-O executable i386
sdasstm8 (for architecture ppc):        Mach-O executable ppc
sdastlcs90: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdastlcs90 (for architecture i386):     Mach-O executable i386
sdastlcs90 (for architecture ppc):      Mach-O executable ppc
sdasz80: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdasz80 (for architecture i386):        Mach-O executable i386
sdasz80 (for architecture ppc): Mach-O executable ppc
sdcc: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc]
sdcc (for architecture i386):   Mach-O executable i386
sdcc (for architecture ppc):    Mach-O executable ppc
sdcclib: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdcclib (for architecture i386):        Mach-O executable i386
sdcclib (for architecture ppc): Mach-O executable ppc
sdcdb: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdcdb (for architecture i386):  Mach-O executable i386
sdcdb (for architecture ppc):   Mach-O executable ppc
sdcdb.el: Lisp/Scheme program text, ASCII text
sdcdbsrc.el: ASCII text
sdcpp: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdcpp (for architecture i386):  Mach-O executable i386
sdcpp (for architecture ppc):   Mach-O executable ppc
sdld: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdld (for architecture i386):   Mach-O executable i386
sdld (for architecture ppc):    Mach-O executable ppc
sdld6808: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdld6808 (for architecture i386):       Mach-O executable i386
sdld6808 (for architecture ppc):        Mach-O executable ppc
sdldgb: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdldgb (for architecture i386): Mach-O executable i386
sdldgb (for architecture ppc):  Mach-O executable ppc
sdldstm8: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdldstm8 (for architecture i386):       Mach-O executable i386
sdldstm8 (for architecture ppc):        Mach-O executable ppc
sdldz80: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdldz80 (for architecture i386):        Mach-O executable i386
sdldz80 (for architecture ppc): Mach-O executable ppc
sdnm: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdnm (for architecture i386):   Mach-O executable i386
sdnm (for architecture ppc):    Mach-O executable ppc
sdobjcopy: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdobjcopy (for architecture i386):      Mach-O executable i386
sdobjcopy (for architecture ppc):       Mach-O executable ppc
sdranlib: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sdranlib (for architecture i386):       Mach-O executable i386
sdranlib (for architecture ppc):        Mach-O executable ppc
shc08: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
shc08 (for architecture i386):  Mach-O executable i386
shc08 (for architecture ppc):   Mach-O executable ppc
sstm8: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sstm8 (for architecture i386):  Mach-O executable i386
sstm8 (for architecture ppc):   Mach-O executable ppc
sz80: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]
sz80 (for architecture i386):   Mach-O executable i386
sz80 (for architecture ppc):    Mach-O executable ppc
```
And of course...

```

Code: Select all

for i in *; do whichfile=$(which $i); if [ -x "${whichfile}" ]; then file ${whichfile}; fi; done
/usr/local/bin/as2gbmap: Python script text executable, ASCII text
/usr/local/bin/makebin: Mach-O 64-bit executable x86_64
/usr/local/bin/packihx: Mach-O 64-bit executable x86_64
/usr/local/bin/s51: Mach-O 64-bit executable x86_64
/usr/local/bin/sdar: Mach-O 64-bit executable x86_64
/usr/local/bin/sdas390: Mach-O 64-bit executable x86_64
/usr/local/bin/sdas6808: Mach-O 64-bit executable x86_64
/usr/local/bin/sdas8051: Mach-O 64-bit executable x86_64
/usr/local/bin/sdasgb: Mach-O 64-bit executable x86_64
/usr/local/bin/sdasrab: Mach-O 64-bit executable x86_64
/usr/local/bin/sdasstm8: Mach-O 64-bit executable x86_64
/usr/local/bin/sdastlcs90: Mach-O 64-bit executable x86_64
/usr/local/bin/sdasz80: Mach-O 64-bit executable x86_64
/usr/local/bin/sdcc: Mach-O 64-bit executable x86_64
/usr/local/bin/sdcdb: Mach-O 64-bit executable x86_64
/usr/local/bin/sdcpp: Mach-O 64-bit executable x86_64
/usr/local/bin/sdld: Mach-O 64-bit executable x86_64
/usr/local/bin/sdld6808: Mach-O 64-bit executable x86_64
/usr/local/bin/sdldgb: Mach-O 64-bit executable x86_64
/usr/local/bin/sdldstm8: Mach-O 64-bit executable x86_64
/usr/local/bin/sdldz80: Mach-O 64-bit executable x86_64
/usr/local/bin/sdnm: Mach-O 64-bit executable x86_64
/usr/local/bin/sdobjcopy: Mach-O 64-bit executable x86_64
/usr/local/bin/sdranlib: Mach-O 64-bit executable x86_64
/usr/local/bin/shc08: Mach-O 64-bit executable x86_64
/usr/local/bin/sstm8: Mach-O 64-bit executable x86_64
/usr/local/bin/sz80: Mach-O 64-bit executable x86_64
```
Post Reply