#Mac Intel With Many Issues

1 messages · Page 1 of 1 (latest)

crude sonnet
#

I have successful built the final SerialPrograms and run it but have may issues with it. My Mac is 12.7.6.

First, from terminal i noted this:
libpng warning: Application built with libpng-1.4.12 but running with 1.6.44

And if i choose Max Lair - Program, i got this popup error:
"Failed to load program.

FileException

Unable to open image.
File: /Users/trungnguyen/Documents/PokemonTool/Arduino-Source/build_mac/SerialPrograms.app/Contents/MacOS/../../../../Resources/PokemonSwSh/PokeballSprites.png
Location: PokemonAutomation::ImageRGB32::ImageRGB32(const std::string &)"

The file exist, i double check with cd /Users/trungnguyen/Documents/PokemonTool/Arduino-Source/build_mac/SerialPrograms.app/Contents/MacOS/../../../../Resources/PokemonSwSh/PokeballSprites.png and it work with the file there.

Second, i cannot connect to the usb serial, it keep showing Connecting, i tried both cu. and tty., got the same result. As for the Aurdino Leonardo, it only have "L" led keep flashing, and the On led is on.

thorny niche
#

I'm not a Mac user, but I know that there's a ton of permissions you need to give the program for it to work. (if it wasn't obvious enough from the error messages)

crude sonnet
#

I fixed the camera and microphone permission myself. But the usb uart keep Connecting now.

thorny niche
#

#automation-chat message

crude sonnet
#

I think i missed the flash hex to controller. Just tried it and have another error, here is the logs:

Would you like to attempt auto detecting your device? [y/n]:
y
Waiting for device... []

===============
Device connected at [/dev/tty.usbmodem141301]

** Attempting to flash PABotBase.hex to /dev/tty.usbmodem141301 now
Error: butterfly_recv(pgm, &c, 1) failed
Error: initialization failed (rc = -1)

  • double check the connections and try again
  • use -B to set lower the bit clock frequency, e.g. -B 125kHz
  • use -F to override this check
    Error: butterfly_recv(pgm, &c, 1) failed
    Error: butterfly_recv(pgm, &c, 1) failed

Avrdude done. Thank you.

=================================
Finished flashing PABotBase.hex to ArduinoLeonardo!