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 Release mode doesn't work but Debug does (Read 579 times)
wep
Newbies
*
Offline


Posts: 6
Joined: Jan 30th, 2020
Release mode doesn't work but Debug does
Feb 5th, 2020 at 11:49am
Print Post  
Hi, A program I wrote works great in debug mode but if I switch to release it doesn't work at all.  The board is a Pololu A-Star 328PB.  This has never happened with any other board
I've ever used, any ideas?

Thanks
-Bill
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Release mode doesn't work but Debug does
Reply #1 - Feb 5th, 2020 at 12:10pm
Print Post  
I am sorry but this report does not give any information. You don't say what does not work. You have not shown your code, you have not provided the output requested in yellow above.

It's impossible to know your level of knowlege so initially I have to assume that for your program to work you expect to see some serial output in the serial monitor?

For serial you need to ensure your code has Serial.begin(speed). The speed you choose needs to match the speed shown on the serial monitor status bar. The default is 115200. The debugger adds this code automatically if you have not added it, because it uses serial. Release mode expects that you have done everything needed to run your mcu.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint