jmamma / MCL

MCL firmware for the MegaCommand MIDI Controller.
BSD 2-Clause "Simplified" License
48 stars 9 forks source link

HexUploader no go on MacOS Catalina, Using Ardiuno IDE works... But MCL4.00 is displayed at startup. #177

Closed BartBral closed 1 year ago

BartBral commented 2 years ago

1). The version of HexUploader doesn't work on (my) MacOS Catalina.

2). I was perfectly able to get MCL to work on my MegaCommand using Ardiuno IDE, BUT... ... When I start my MegaCommand, the text in the display says MCL 4.00. and I double check and yes I have the version 4.04 folder.

So my question is: Is this just an error in the version-number in the code of 4.04? Or is the .HEX file different from the one Arduino IDE compiles out of the code?

jmamma commented 2 years ago

The Catalina problem is a known issue.

If you know how to use terminal, you can try uploading via command line.

FILE=~/Downloads/mcl_4_0_4.hex; DEV=/dev/$(ls /dev | grep usb | grep cu | tail -n 1); AVR_DIR="/Applications/Arduino.app/Contents/Java/hardware/tools/avr"; ${AVR_DIR}/bin/avrdude -C${AVR_DIR}/etc/avrdude.conf -v -V -patmega2560 -cwiring -P${DEV} -b115200 -D -Uflash:w:$FILE

When I start my MegaCommand, the text in the display says MCL 4.00.

Did you compile the firmware yourself? If so, it seems as though you've compiled an older version.

BartBral commented 2 years ago

"If you know how to use terminal, you can try uploading via command line."

Cheers! I'll try that... think I'll be okay

...

"Did you compile the firmware yourself? If so, it seems as though you've compiled an older version."

Not sure to be honest... I just ran the .INO file from the 4.04 directory... I thought that would do the job. I'll give it another go tomorrow when I've slept a bit.

Cheers!

BartBral commented 2 years ago

All worked fine with the Terminal !

I found out (afterwards) that you can simply make HexUploader work, by using: sudo xattr -cr /path_to_the_file/HexUploader.app

Might have already been stated elseware... But I thought I let you know anyway.

frnktrpz commented 1 year ago

What fixed it for me was installing a legacy version of arduino (1.8.19) on my catalina machine, in case anyone else is not able to make the two previously mentioned fixes/routes work for them.