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 [2]  Send TopicPrint
Hot Topic (More than 8 Replies) Arduino 101 & Genuino 101 (Invalid DFU suffix signature) (Read 13545 times)
sebastien
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2016
Re: Arduino 101 & Genuino 101 (Invalid DFU suffix signature)
Reply #20 - Feb 7th, 2016 at 1:17am
Print Post  
The code dont execute on the arduino once its uploaded (nothing happens) the led dont blink...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 101 & Genuino 101 (Invalid DFU suffix signature)
Reply #21 - Feb 7th, 2016 at 1:23am
Print Post  
All the debugger does is wait a little but so the serial port comes up and then it allows Serial.begin()

So without the debugger the Serial.begin() might cause a crash because it might not exist.

Try moving your Serial.begin() to after your while loop that waits for Serial to be valid.

Code
Select All
void setup() {
	// start serial port at 9600 bps and wait for port to open:
	//>>>> move to after while{} >> Serial.begin(9600);
	while (!Serial) {
		; // wait for serial port to connect. Needed for native USB port only
	}
	Serial.begin(9600); //<< moved to here
}

void loop()
{
	Serial.println("Hello world");   // send an initial string
	delay(300);
}  



Does this make sense? It is normally how this type of serial/usb port works.
« Last Edit: Feb 7th, 2016 at 2:24pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 101 & Genuino 101 (Invalid DFU suffix signature)
Reply #22 - Feb 7th, 2016 at 1:31am
Print Post  
Another point is that the code while (!Serial) {} will wait until you open the Serial Monitor.

If the Serial monitor is not open then the board will not start.

Do you know how to open the Serial monitor without debug? Icon on tool bar?
  
Back to top
IP Logged
 
sebastien
Junior Member
**
Offline


Posts: 14
Joined: Jan 17th, 2016
Re: Arduino 101 & Genuino 101 (Invalid DFU suffix signature)
Reply #23 - Feb 7th, 2016 at 2:17am
Print Post  
hahaha my bad ..... 
Everything is fine now!
Thx
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 101 & Genuino 101 (Invalid DFU suffix signature)
Reply #24 - Feb 7th, 2016 at 2:18am
Print Post  
Great thanks for the update
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint