Harmony Cart and Apple Silicon Mac?

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpiceWare

#15
Running this command in Terminal fixed the issue:

NOTE: SEE FOLLOWUP REPLY on using -r -d instead
xattr -cr /Applications/HarmonyCart.app
It sees my original Harmony Cart and my Harmony Encore, though it doesn't see the new Harmony Cart that supports larger CDFJ projects so I have more digging to do.

SpiceWare

Installed the 2.0 app on my laptop under both Linux and Windows.

Under Linux the Harmony Cart app didn't recognize any of my Harmony carts.  In a terminal I entered the command lsusb and could see entries for the 2 older carts, but nothing for the newest cart.

Original Harmony:
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC

Encore:
Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)


I then tried Windows, which was not happy that I was running Windows 10. The laptop is not supported by Windows 11, so not much I can do about that.  The Harmony Cart application installed OK and recognized the 2 older carts, but just like the Mac it didn't recognize the newest one. Likewise the newest one did not appear in the USB devices section of Window's Device Manager.

Don't have time to try anything else over the next few days, so will look into it more this weekend.

SpiceWare

#17
Success!

Appears to have been a bad, or a "charging only" USB cable.  I dug thru my cable stash and found another Micro B cable and the Harmony Cart application now recognizes my newest Harmony Cart. It shows it as:

USB Serial [LPC2105, 128 kiB FLASH / 32 kiB SRAM] @ /dev/cu.usbserial-840'
I was able to flash the 64 KB Elevator Agent Demo ROM from Champ Games and run it on my Atari.

I tried the 128 KB Turbo Arcade Demo ROM, but no luck. Flash appeared to work, but the Atari wasn't happy.  I'm out of time for the evening, will try Turbo Arcade again later.

alex_79

Quote from: SpiceWare on 31 Dec 2025, 06:12 AMUnder Linux the Harmony Cart app didn't recognize any of my Harmony carts.
Maybe a permission issue? Your user needs read/write access to the serial port, usually by adding it to a specific group (such as "dialout" or "uucp", depending on the distribution you're using).

JetSetIlly

Quote from: alex_79 on 01 Jan 2026, 08:33 PM
Quote from: SpiceWare on 31 Dec 2025, 06:12 AMUnder Linux the Harmony Cart app didn't recognize any of my Harmony carts.
Maybe a permission issue? Your user needs read/write access to the serial port, usually by adding it to a specific group (such as "dialout" or "uucp", depending on the distribution you're using).

As far as I can tell, a lot of distributions will require you to be in the root group by default for devices like the Harmony cartridge.

These are the instructions for the Pluscart for putting the device into the users group. I wouldn't be surprised if the Harmony application requires something similar.

https://pcart.firmaplus.de/pico/?flashing#linux-install-2
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social

SpiceWare

Thanks for the pointers!

I'm running Lubuntu so searched on "add members to group on lubuntu" which told me to enter the command:

sudo usermod -aG dialout darrell
after which to log out, then back in.  The Harmony Cart app now sees my carts on my Linux laptop.

SpiceWare

No luck with the Turbo Arcade demo so I contacted John.  Turns out there's a 120K limit when using the Dev Cart, the other 8K is reserved for something else.  He sent me a 120K build and it worked.

SpiceWare

#22
I was reading up on xattr by typing man xattr in the terminal and saw this:
     In the fifth form, with the -c option ("clear"), causes all attributes
     (including their associated values), to be removed.

So for this:
xattr -cr /Applications/HarmonyCart.app
the -cr does a Clear of all Extended Attributes for the files in the HarmonyCart.app directory. *

I got to thinking that probably removes more attributes than it should, so did a little more research and found instructions to run the xattr command like this instead:

xattr -r -d com.apple.quarantine /Applications/HarmonyCart.app
It Recursively Deletes only the quarantine attribute.

To test the revised command I reinstalled the HarmonyCart app, confirmed it was "damaged", ran the revised command, then confirmed it still worked by flashing my Harmony Dev cart with a different ROM.


* The r is for Recursive, though I suspect the initial instructions I found were incorrect as everything else I've found has it as a separate parameter with a - of its own as seen in the updated command.