I've got a Leonardo board and the same project work fine with the debug.
I don't need to config this:
Local Port = COM4 (my usb-serial port to Arduino 101 board)
Local Speed = 9600
Remote Port = Serial1 ( The SerialUSB give me an error: 'SerialUSB' was not declared in this scope)
Remote speed = 9600
It find everything:
Uploading to I/O board using 'COM6'
Uploader started for board Arduino Leonardo
Upload method will be: bootloader
Uploading via Bootloader
PORTS {COM1,COM4,COM6} / {COM1,COM4,COM6} => {}
PORTS {COM1,COM4,COM6} / {COM1,COM4,COM6} => {}
PORTS {COM1,COM4,COM6} / {COM1,COM4} => {}
PORTS {COM1,COM4} / {COM1,COM4,COM5} => {COM5}
D:\Arduino\hardware\tools\avr\bin\avrdude "-CD:\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -cavr109 -PCOM5 -b57600 -D o/Blink.hex:i"
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "D:\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM5
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% -0.00s
avrdude: Device signature = 0x1e9587
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as CB
avrdude: reading input file x"
avrdude: writing flash (5772 bytes):
Writing | ################################################## | 100% 0.51s
avrdude: 5772 bytes of flash written
avrdude: verifying flash memory against :
avrdude: load data flash data from input file :
avrdude: input file contains 5772 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.10s
avrdude: verifying ...
avrdude: 5772 bytes of flash verified
avrdude: safemode: lfuse reads as FF
Done uploading via 'COM5'
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as CB
avrdude: safemode: Fuses OK (H:CB, E:D8, L:FF)
avrdude done. Thank you.
The same project with the Arduino 101 ....:
VM_DBG.cpp:In file included from
VM_DBG.h:157:2: error: 'Serial_' does not name a type
:Serial_ *transport
VM_DBG.h:158:13: error: 'Serial_' has not been declared
:void begin(Serial_ *theSerial)
VM_DBG.h:159:13: error: 'Serial_' has not been declared
:void begin(Serial_ *theSerial, unsigned long baud)
VM_DBG.h:In member function 'void VisualMicroDebug::setVariable(T&, int, int)
VM_DBG.h:355:2: error: 'transport' was not declared in this scope
:transport->print("value=")
VM_DBG.cpp:At global scope
VM_DBG.cpp:278:31: error: variable or field 'begin' declared void
void VisualMicroDebug*:begin(Serial_ *theSerial)
VM_DBG.cpp:278:31: error: 'Serial_' was not declared in this scope
VM_DBG.cpp:278:40: error: 'theSerial' was not declared in this scope
void VisualMicroDebug*:begin(Serial_ *theSerial)
VM_DBG.cpp:1333:27: error: expected declaration before end of line
:#pragma GCC diagnostic pop
Error compiling libraries