I have been using the desktop IDE successfully with my SparkFun RedBoard. I just set the board type to Arduino/Genuino Uno, on Com3, and everything works fine. I decided I wanted to get more portable, and installed the Web version Create. I can compile my projects, but it won't upload the program to the board. Just says: Error: Could not program the board. I have selected the same board (Arduino Uno) and Port (Com3) as the desktop version. What's the problem? Does the RedBoard not work with Create? Thanks for any info you can provide.
Did you go through this post first
Tried to keep it as simple as I could.
BTW if you find any errors let me know.
EDIT btw don't worry about googling it I didnt find any suitable answers either
Yeah. I searched this forum (various sections), and googled for an answer. Couldn't find anything.
I'm using Windows 10 64 bit, and Chrome 64 bit. Both are up to date. The agent version is: 1.0.46-6db09ee. Don't know what else to tell you. On a usb 2.0 port. Like I said, works fine on desktop version. No big deal. Just would like to use the web version, but if I can't, so be it.
Can you see the port in CREATE ?
If you can then C/P any errors from the lower console in create into here.
Another thing to try is turn on the debug console from the start icon for create. It will open a page but don't worry about that page until CREATE fails the C/P that info back here too.
I can see the board (Arduino uno) and Port (com3) from drop down menus, and I am selected to them.
I also can't open a serial monitor. Says "serial port unavailable".
Here is the output, when compiling and uploading a blank setup() and loop() program. Last line is the error.
arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/422945283 -hardware arduino-builder/hardware -hardware arduino-builder/packages/cores -tools arduino-builder/tools -tools arduino-builder/packages/tools -built-in-libraries arduino-builder/latest -libraries /tmp/857020980/pinned -libraries /tmp/857020980/custom -fqbn arduino:avr:uno -verbose=true /tmp/857020980/sketch_feb26a
Using board 'uno' from platform in folder: /home/admin/builder/arduino-builder/packages/cores/arduino/avr
Using core 'arduino' from platform in folder: /home/admin/builder/arduino-builder/packages/cores/arduino/avr
Detecting libraries used...
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/cores/arduino" "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/variants/standard" "/tmp/422945283/sketch/sketch_feb26a.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/cores/arduino" "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/variants/standard" "/tmp/422945283/sketch/sketch_feb26a.ino.cpp" -o "/tmp/422945283/preproc/ctags_target_for_gcc_minus_e.cpp"
"/home/admin/builder/arduino-builder/tools/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/422945283/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/cores/arduino" "-I/home/admin/builder/arduino-builder/packages/cores/arduino/avr/variants/standard" "/tmp/422945283/sketch/sketch_feb26a.ino.cpp" -o "/tmp/422945283/sketch/sketch_feb26a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core
Linking everything together...
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "/tmp/422945283/sketch_feb26a.ino.elf" "/tmp/422945283/sketch/sketch_feb26a.ino.cpp.o" "/tmp/422945283/../core_arduino_avr_uno.a" "-L/tmp/422945283" -lm
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/tmp/422945283/sketch_feb26a.ino.elf" "/tmp/422945283/sketch_feb26a.ino.eep"
"/home/admin/builder/arduino-builder/packages/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -R .eeprom "/tmp/422945283/sketch_feb26a.ino.elf" "/tmp/422945283/sketch_feb26a.ino.hex"
Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
Could not program the board
You may want to EDIT that last one to use CODE TAGS as described in the first link I provided
Hi @larrysherman,
we published an update that could fix your issue, can you try again please?
Thanks for your report!
Works now! However, it still won't let me open a Serial Monitor. Just grays out area and says "Serial Port Unavailable".
If you try to open and close the serial monitor a couple of times, or press connect/disconnect it never goes up?
Can you please send some logs opening the plugin debug console?
Serial Monitor issue split in its own topic here.