Hot answers tagged

13

This solved it for me. Download this driver Install it Run sudo nvram boot-args="kext-dev-mode=1" Reboot Serial ports now showed up in the Arduino IDE and also when I used ls -1 /dev/tty* Hopes this helps someone. Reference: This thread


9

From the OSX System Report we learn that your board is based on an SiLabs CP2102 converter (or workalike), but according to your question you installed the drivers for an entirely different product from FTDI (Arduino.cc has used FTDI in the past and CDC/ACM today, I don't believe they have ever used SiLabs so their instructions probably don't cover that, ...


8

Is it an original Nano or a clone? The original Nano uses FTDI's FT232 ship, whereas clones use the CG340 USB-to-TTL chip. The former works fine straight away Mac OS Sierra, whereas the latter needs a driver. The CG340 driver doesn't work under Mac OS Sierra. Fortunately, someone patched the driver and made it available at GitHub. There you'll also find ...


6

Ok, this is the solution for me: remove all old drivers: sudo rm -rf /Library/Extensions/usbserial.kext sudo rm -rf /System/Library/Extensions/usb.kext Now reboot the computer. And then (very important, because it took me 10 cables to find the right one) use a fully connected cable ;-) Now I have these ports: /dev/cu.wchusbserial1410 /dev/cu....


5

just to add to the list - some cheaper boards use CH340 chipset here is a blogpost on how to install the drivers on OSX http://javacolors.blogspot.ie/2014/08/dccduino-usb-drivers-ch340-ch341-chipset.html From that post: You can find drivers for this chip on the web site of the chinese manufacturer, here : http://www.wch.cn/downloads.php?name=pro&proid=...


5

Press the reset button next to the USB port. (either one, the master reset is between the DC jack and USB ). This will cause the Arduino 101 to reboot and enter DFU mode for 5 seconds if it is connected on USB. The download will proceed when the Curie enters DFU. The IDE uses a baud-rate signal over USB. It is a virtual serial port, so baud rate doesn't ...


5

It is almost certainly a device-driver issue. Since Arduinos are probably a little way down the pecking order for things that Apple is interested in, they probably don't test as extensively as (say) printers. How can Arduino make such a sophisticated machine reset? Device drivers would operate with elevated privileges, because they need to control, well, ...


4

RobotConfig.h needs to include Arduino.h in order to have those constants.


4

In MacOS 10.14 and Arduino IDE 1.6.12, cmd` cycles through 5+ IDE windows properly, for me. Update: When you upgrade to Arduino 1.8.7, I won't be. I've tried a couple of its point releases and have given up on it because its launch performance is so p...-poor. Maybe 1.9 will finally fix it. Sloeber/Eclipse is my serious code-crunching IDE. I keep the A-...


3

First, install and get familiar with version 1.6.x of the Arduino IDE. Then, under the sketchbook directory, within hardware/nex/avr/ (create the directories if they don't exist) create the following files: boards.txt: # NEX Robotics Fire Bird V # Only ATmega2560@14.7456MHz supported for now nexfirebirdv2560m14.name=Fire Bird V ATMEGA2560 @ 14.7456 MHz ...


3

If you don't want to use the Terminal and the command line, the Arduino IDE is your best option. Get yourself an AVR programmer (or an Arduino Uno to serve as programmer, with the ArduinoISP sketch uploaded), and code on it. Then connect your Arduino to your module via SPI. Select the correct processor and port. You can now upload the sketch:


3

There is a decent program called Simulator for Arduino made by Virtronics. Although it is made to run only in windows, you could run it in a WINE environment. WINE allows windows programs to be ran in Mac and Linux OS.


3

You can use my Chip detector sketch to confirm (using another Arduino to run the sketch) if the target chip is a Atmega16u2 or not, and if so, what fuses etc. are set. Wiring would be like this: Close-up: ICSP header (from above): You should see something like this: Atmega chip detector. Written by Nick Gammon. Version 1.17 Compiled on Jan 3 2016 at 07:...


3

You can add source code to the sketch in the Arduino IDE. When adding a new source code file make sure the extension is uppercase .S Files with .S extension will be compiled as Assembly. There is an Arduino IDE for the mac but if you want to use an external editor you have many options. The simplest is to switch on File>Preferences>External Editor ...


3

Just by trying, I found that Cmd ⌘ Shift ` cycles through all windows (maybe in reverse).


3

Digisparks are known to have problems with USB3 ports (which your USB-C adaptor probably provides). Try using a cheap USB2 hub between the DigiSpark and the adaptor. It's always a good idea to use a cheap USB hub between whatever experimental device you want to connect and your machine, so that if you wire something up incorrectly you don't end up frying an ...


2

I figured why my board wasn't responding! Apparently, the power pin was connected to the 5V supply instead of usb. Silly me!


2

There are multiple ways to do that. You could use an Arduino Leonardo as a keyboard, then send a shortcut command to shut down or sleep the computer. You can edit these from System Preferences>Keyboard>Shorcuts>Services. The keycode 0x66 does not work for mac, but may for other operating systems source You could write a small program (I'd do it in Python) ...


2

Sorry about providing this as an answer, rather than comments; however, I do have some suggestions to troubleshoot the connection. First, check the usb connections with lsusb lsusb |grep -i arduino Similarly, you can try following the output of dmesg; though, I'm not sure about the version of dmesg your system's installation is running. Newer version ...


2

It could possibly be that there is a fault that is causing a short circuit. This short circuit could be in the board itself or the USB cable that connects the Arduino. The USB port on the Mac should have protection to protect against a short circuit. Your comments have indicated that you have tested for a short and found none - but this is helpful for others ...


2

Download and install the Apple version of Java (6): http://support.apple.com/kb/DL1572 If you need Java 8 SDK for some reason, the two can coexist because the Arduino IDE will explicitly ask for the (Apple Version) of Java 1.6 using 'JavaApplicationStub': $ ./JavaApplicationStub [JavaAppLauncher] Requested [1.5*], launching in [1.6] instead. Experimental: ...


2

Could you just untick the "Use all F1, F2, …" in System Preferences -> Keyboard? Just wondering if that would be an option and if doing so would create the desired outcome.


2

"ATmega16u2 DFU" indicates a USB interface micro that is in a state to have new firmware downloaded to it (DFU), not one which is ready for operational use as a USB interface to program the Uno's ATmega328p target MCU. If this persists after power-cycling/re-plugging the board, it is probably faulty and at minimum needs firmware repair - though it might be ...


2

On a Mac the Arduino.h file is within the Arduino application itself. It's not that easy to get to without resorting to the command line. You also need far more than just Arduino.h - you need the entirety of the Arduino AVR core, which is a collection of .h, .c and .cpp files. They are all together in the application. You would probably be best off getting ...


2

I installed the CH340 Driver and the board now shows the USB serial as port option: https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver


2

Here is the step-by-step on upgrade the ESP-01 AT Command firmware (for running on macOS). Wiring For flashing the ESP-01 firmware, you need to have a USB-TTL adaptor as a programmer. +---------------------+---------+ | | RxD Vcc | | Top View | IO2 RST | | | IO0 CPD | | | GND TxD | +------...


2

I finally solved the problem. Although the Board has no information about being a clone (it only says "Uno" and was provided by the faculty so I think it is official), I was looking on the web for similar problems and found out that installing CH340 Driver was working for a lot of users. So that was what I did and now it works like a charm.


1

I was really persistent to look for ways on how to fix the Arduino/Genuino 101 Timeout Error, I searched different forums and read a lot of suggestions on how to fix the error, but still all failed, I know some of the 101 users already bricked their 101 or other just left it behind. We are all aware that the Arduino 101 is already discontinued and even ...


1

I posted a fix here: https://forum.arduino.cc/index.php?action=profile;area=showposts;u=1472279 I was really looking forward that this will be the fix for all Arduino 101 Error


1

I am running Ubuntu 18.04 and I had a similar problem but solved it in the end. What worked for me was: Update Arduino Curie driver in Boards manager to the latest version which is v 2.02 at the time of this post Run the following command in terminal in order to grant execution rights: chmod +x ~/.arduino15/packages/Intel/hardware/arc32/2.0.2/scripts/...


Only top voted, non community-wiki answers of a minimum length are eligible