Closed just4give closed 3 years ago
Hi - Most likely this is a permissions issue with the port not having sufficient permission for users to open. The best test of this is to try the command as sudo. If that works then it is a permissions issue.
Tried sudo and USB Adapter as well but no luck. Any other thoughts ? Anyone got it working on Mac?
Was able to flash the program. I had to use cu.xxxx instead of tty.xxx like
qfprog --port /dev/cu.usbmodem143201 --mode m4 --m4app output/bin/qf_helloworldsw.bin
Going to install Putty on mac to test the output.
I am all set.
@just4give , what device did you use with putty, the same one used for flashing, or different?
That will be a different device since there is a different USB device ID for the programming vs serial communication
From: Other Tim notifications@github.com Sent: Thursday, February 4, 2021 8:36 AM To: QuickLogic-Corp/qorc-sdk qorc-sdk@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [QuickLogic-Corp/qorc-sdk] Did not find port (#100)
@just4givehttps://github.com/just4give , what device did you use with putty, the same one used for flashing, or different?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/QuickLogic-Corp/qorc-sdk/issues/100#issuecomment-773441153, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO4FHENEZGXOULXEZJTJJALS5LEHTANCNFSM4XBL5UCA.
Hi @timsaxe , thanks! I hope the info gets added to the docs to make it easier for the next MacOS user.
The other one with tty.xxx .... for flashing I had to use cu.xxx and for putty tty.xxx with baud rate 115200...
Curious how you track this down on a mac. On windows I run an app called device manager a look at the ‘com ports’ section. When I plug in QF a new com port shows up and I know that is the serial port, and when I reset and bring it up in program mode that com port disappears and a different ports shows up which I then know is the programming port. This also helps when I have more than one QF and am trying to work out which port goes with which device.
Is there a similar process that you used on a mac?
Which reminds me of a further question, in order for documentation to be useful it has to be where people naturally look for it. Where do you generally look for answers when you have a question like this? Github doc, github issues, forum, readthedocs, …?
From: Mithun Das notifications@github.com Sent: Thursday, February 4, 2021 8:45 AM To: QuickLogic-Corp/qorc-sdk qorc-sdk@noreply.github.com Cc: Tim Saxe Saxe@quicklogic.com; Mention mention@noreply.github.com Subject: Re: [QuickLogic-Corp/qorc-sdk] Did not find port (#100)
The other one with tty.xxx .... for flashing I had to use cu.xxx and for putty tty.xxx with baud rate 115200...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/QuickLogic-Corp/qorc-sdk/issues/100#issuecomment-773447576, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO4FHEL4XQSDC44QPUUE2JDS5LFJBANCNFSM4XBL5UCA.
I actually did an old school process :) went into /dev folder and listed the devices issuing ls -lrt
, then plugged in QF board and issued same command again ... new port showed up at the bottom and I new that's the one I just plugged in. There must be a better way to do this but at least worked for me for the time being.
Hi, I am trying to upload the hello world program. This is my first time using QuickFeather board. I am running on Mac OS. I was able to compile the code and generate bin file but when trying to flash, I am getting below error as in the screen shot. I am connecting the board using micro-usb cable. Can anyone help me to troubleshoot ?