Thames & Kosmos Code Gamer Experiment Manual page 65

Coding workshop ? game with kosmobits
Table of Contents

Advertisement

avrdude: ser_open(): can't open device "\\. \COM4": Access is denied.
You presumably forgot to close the serial monitor before
trying to upload the program.
avrdude: ser_open(): can't open device "\\. \COM4": The system cannot
find the file specified.
1. You forgot to connect the KosmoDuino to the computer.
You might also have inserted the USB cable into the
interaction board's charge socket by mistake.
2. The wrong port has been set. Check Tools
change the port if necessary.
Low memory available, stability problems may occur.
Not enough memory.
Your program is using almost all the microcontroller's
RAM or is even too large for it. You may have applied a
large array.
EXAMPLE:
int array[1000] = {};
CodeGamer manual inside english.indd 63
Port and
// That is too large!
SOLUTION:
Close the serial monitor and re-upload the program.
SOLUTION:
Use the USB cable to connect your computer to the
KosmoDuino via the USB port.
SOLUTION:
Select a different port.
SOLUTION:
Change your program by using a smaller array.
CodeGamer
63
7/19/16 12:33 PM

Advertisement

Table of Contents
loading

Table of Contents