Arduino ATMEGA2560

These pages contain a set of resources for introducing Embedded Systems Design for microcontrollers using the C programming language. The material is based around the AVR Studio 5 Integrated Development Environment (IDE) and the Arduino Mega 2560 microcontroller board.

Common Errors

Serial port ‘/dev/tty.usbserial1441′ already in use. Try quiting any programs that may be using it

This thread on the Arduino Forum explains the reason for it and this thread on Stackoverflow  provides a little more background.

In essence what needs to be done is the following:

  1. Open the terminal application
  2. At the user prompt execute these two lines:

sudo mkdir /var/lock
sudo chmod 777 /var/lock

This will create a directory /var/lock and then changes the default access to it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s