SVL fails to program Artemis module on Mac

Hi all,

We are running into trouble trying to program our Artemis modules from a Mac (ver 11.2 Big Sur) using SVL. Here’s the command line we are using and the output.

 % ./svl /dev/tty.usbserial-1130 -f LEDdiffuserTest.ino.bin -b 115200 -v


Artemis SVL Bootloader
Script version 1.7

Phase:  Setup
        Cleared startup blip
Failed to enter bootload phase

Phase:  Setup
        Cleared startup blip
Failed to enter bootload phase

Phase:  Setup
        Cleared startup blip
Failed to enter bootload phase
Target failed to enter bootload mode. Verify the right COM port is selected and that your board has the SVL bootloader.

We are using a SparkFun serial basic to proved the USB to serial conversion.

As you can see we have already lowered the baud rate to 115200.

I found some advice on-line suggesting to run

% stty -f /dev/tty.usbserial-1130 hupcl 

but that doesn’t seem to have helped.

I found this in a post by TS-Brandon

**Note: Mac’s update to Big Sur is causing some disruption to the USB-Serial drivers, such as the CH340. While we are aware of the issue and we are investigating possible solutions, we are unable to provide a full solution at this time because this is an issue between third party software and the Mac OS developers.

Does anyone know if any progress has been made on this? Is there another USB to serial adapter we could use for this application that would work better on MacOS?

Can anyone suggest something else to try?

Best regards,

Phil

Try updating to this driver https://cdn.sparkfun.com/assets/learn_t … ER_MAC.ZIP and see how that treats ya

Thanks, do we need to do anything else, like uninstall existing drivers first?

The reason I ask is that is that the newer releases of Mac OS are supposed to have built-in support for the CH340 and I think I read somewhere that installing a driver can create conflicts.

Alternatively, is there an ARM 32-bit version of the SVL loader that I could use on a Raspberry PI?

For the benefit of anyone else that runs into this issue, we found that the CP2104 like the one found in the Adafruit CP2104 Friend https://www.adafruit.com/product/3309 worked well with our Mac.

@prittenhouse Thanks for posting this. We were running into the same issue. Did you need to include any of the boot or reset circuits or were the rx, tx, vcc, gnd, and dtr connections sufficient? Thanks!

We just use Rx, Tx, Gnd and DTR