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 After Upload nothing happens (Read 1487 times)
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
After Upload nothing happens
Nov 7th, 2019 at 10:27pm
Print Post  
I am testing W5500 using SDFileList. It runs perfectly under Arduino Ide. When I try to run under VS2019, after the upload, the serial port just hangs. I have th latest VM and VS2019 installed.
Any suggestions
Thanks
Abbott
17:27:10.367 -> Initializing SD card...initialization done.
17:27:10.414 -> Dir - /
17:27:10.414 -> SYSTEM~1/
17:27:10.414 ->      WPSETT~1.DAT            12
17:27:10.414 ->      INDEXE~1            76
17:27:10.461 -> RESULTS.XML            940
17:27:10.461 -> HTML/
17:27:10.461 ->      HMGPAGE.HTM            3640
17:27:10.509 -> LOG/
17:27:10.509 -> done!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After Upload nothing happens
Reply #1 - Nov 8th, 2019 at 11:24am
Print Post  
Is debugging off with tool bar set to "Release"?
« Last Edit: Nov 9th, 2019 at 7:36pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
Re: After Upload nothing happens
Reply #2 - Nov 8th, 2019 at 5:17pm
Print Post  
Thanks.
It looks like there was a serial port baud rate discrepancy between sketches.
BTW
Is there a tutorial on wiring the W5500 to a Mega2650?
Thanks
Abbott
« Last Edit: Nov 8th, 2019 at 7:36pm by Abbott HMG »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After Upload nothing happens
Reply #3 - Nov 9th, 2019 at 2:11pm
Print Post  
When serial debug is enabled the baud rate will be set to 115200 unless 

a) you set a value in "vMicro>debugger>local speed"

or 

b) The .ino code contains something like this:- serial.begin(9600);  (In this case the debugger would use 9600 unless "vMicro>debugger>local speed" has been configured)

I think google is best friend for hardware guides.
« Last Edit: Nov 9th, 2019 at 2:14pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
Re: After Upload nothing happens
Reply #4 - Nov 9th, 2019 at 6:53pm
Print Post  
Thanks
Now I'm fighting the Mega-2560 -- SD Card interface.
I found some articles ... but they did not help my specific situation.
Again -- thanks for all the help.
Abbott
  
Back to top
 
IP Logged
 
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
Re: After Upload nothing happens
Reply #5 - Nov 9th, 2019 at 7:33pm
Print Post  
Back  again.
In release, Sketch does not get past:
Uploading to I/O board
Opening port
Port open

In debug I get the following (this works in Arduino IDE)
error: expected unqualified-id before 'if  SDFileList.ino      57      

Thanks
Abbott
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After Upload nothing happens
Reply #6 - Nov 9th, 2019 at 7:39pm
Print Post  
Quote:
In release, Sketch does not get past:
Uploading to I/O board
Opening port
Port open


Make the serial window wider and ensure the correct baud rate is set.
Make sure the Dtr button is on.

Quote:
In debug I get the following (this works in Arduino IDE)
error: expected unqualified-id before 'if  SDFileList.ino      57   


This suggests you might have a breakpoint with invalid code in it or that the breakpoint is located in a place where it can't be enterprted. The arduino ide does not have debug mode.

I suggest you stick to Release until you have the microcontroller and serial comms in a good or known state.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After Upload nothing happens
Reply #7 - Nov 16th, 2019 at 2:13pm
Print Post  
Rember that if you want to compare with the arduino ide then always switch off debugging to keep things simple and the same.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint