Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arduino 101 program won't start (Read 3777 times)
CedricM
Newbies
*
Offline


Posts: 1
Joined: Feb 6th, 2016
Arduino 101 program won't start
Feb 6th, 2016 at 10:29am
Print Post  
Hi,

I'm trying to run blink on the Arduino 101 board (Intel Curie), in VS 2015 Enterprise fully patched with Visual Micro but nothing happens after the upload (no blinking). 

The same program works when using the Arduino 1.67 IDE, e.g. I can see a green light blinking on the board.

Any idea what's happening ?

Thanks,
Cedric

NB:
- Board selected is the right port, e.g. Arduino 101, which I previously downloaded via the board manager from Arduino IDE
- COM 3 is the right port

Here is the Micro Build output:

Compiling 'MyBlink' for 'Arduino 101'
Binary sketch size: 29 989 bytes (used 15% of a 196 608 byte maximum) (0,21 secs)
 
Uploading to I/O board using 'COM3'
Unable to 'touch' hardware serial port: COM3. Now assuming selected port is bootloader port. This might still fail, have you got the correct board selected?
starting download script
Args to shell: x86/bin ~1.ELF COM3 quiet
Serial Port PORT
BIN FILE ~1.ELF
Waiting for device... 
Using dfu-util to send  ~1.ELF
x86/bin/dfu-util.exe -d,8087:0ABA -D ~1.ELF -v --alt 7 -R
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Opening DFU capable USB device...
ID 8087:0aba
Run-time device DFU version 0011
Claiming USB DFU Interface...
Setting Alternate Setting #7 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0011
Device returned transfer size 2048
Copying data from PC to DFU device
Download      [                         ]   0%            0 bytes
Download      [==                       ]   9%         2048 bytes
Download      [====                     ]  19%         4096 bytes
Download      [=======                  ]  29%         6144 bytes
Download      [=========                ]  39%         8192 bytes
Download      [============             ]  49%        10240 bytes
Download      [==============           ]  58%        12288 bytes
Download      [=================        ]  68%        14336 bytes
Download      [===================      ]  78%        16384 bytes
Download      [======================   ]  88%        18432 bytes
Download      [======================== ]  98%        18804 bytes
Invalid DFU suffix signature
Done uploading
Download      [=========================] 100%        18804 bytes
A valid DFU suffix will be required in a future dfu-util release!!!
Download done.
can't detach
Sent a total of 18804 bytes
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
Sketch will execute in about 5 seconds.



Here is the dump from Arduino 1.67 IDE

Sketch uses 29,989 bytes (15%) of program storage space. Maximum is 196,608 bytes.
starting download script
Args to shell: 4+1.14/x86/bin link.ino.elf COM3 quiet
Serial Port PORT
BIN FILE link.ino.bin
Waiting for device... 
Using dfu-util to send  link.ino.bin
4+1.14/x86/bin/dfu-util.exe -d,8087:0ABA -D link.ino.bin -v --alt 7 -R
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Opening DFU capable USB device...
ID 8087:0aba
Run-time device DFU version 0011
Claiming USB DFU Interface...
Setting Alternate Setting #7 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0011
Device returned transfer size 2048
Copying data from PC to DFU device

Download      [                         ]   0%            0 bytes
Download      [==                       ]  10%         2048 bytes
Download      [=====                    ]  21%         4096 bytes
Download      [=======                  ]  31%         6144 bytes
Download      [==========               ]  42%         8192 bytes
Download      [=============            ]  53%        10240 bytes
Download      [===============          ]  63%        12288 bytes
Download      [==================       ]  74%        14336 bytes
Download      [=====================    ]  85%        16384 bytesInvalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
can't detach

Download      [=======================  ]  95%        17188 bytes
Download      [=========================] 100%        17188 bytes
Download done.
Sent a total of 17188 bytes
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
Sketch will execute in about 5 seconds.
« Last Edit: Feb 6th, 2016 at 10:30am by CedricM »  
Back to top
 
IP Logged
 
sebastien
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2016
Re: Arduino 101 program won't start
Reply #1 - Feb 6th, 2016 at 4:54pm
Print Post  
same problem for me ....
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 101 program won't start
Reply #2 - Feb 7th, 2016 at 8:52pm
Print Post  
Hi,

Sorry I didn't see this thread earlier.

Can you both confirm that the 1602.7 update of Visual Micro from yesterday fixes all issues related to Arduino 101?

I think sebastien has already confirmed this in another thread but it would help to close this one off.

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint