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 Simulator feature as software debbuging ? (Read 1421 times)
DeeJayOne
Junior Member
**
Offline


Posts: 12
Joined: Mar 28th, 2022
Simulator feature as software debbuging ?
Mar 29th, 2022 at 9:34am
Print Post  
Hi everyone  Smiley

I'm a newbie here with Arduino and ESP boards.
I have worked in the past on some Microchip devices with the Microchip MPLAB IDE software tool.
A wonderfull feature of this IDE is the Simulator.
I'm asking if this feature exist with Visual Micro and if not, is it plan to add it in a next release ?
PS : debugging can be hardware or software and it seems that Arduino IDE alternative tools I have found on the net use the word "debug" mainly for hardware debugging. So it was not so clear for me.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Simulator feature as software debbuging ?
Reply #1 - Mar 30th, 2022 at 10:14am
Print Post  
Thanks for the questions.

The simulator feature does not currently exist in vMicro. Can you confirm which board/s you would want to use the simulator on so we can investigate adding this in?

The general differences between the debugging types can be seen on the below page:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Differences.htm...

The debugging tools are often hardware based which vMicro fully supports, however we also have a software debugger which requires no wiring and allows far more breaks/traces/hitcounts as well as charts to be produced of your data and IO pins, and debugging over WiFi for ESP8266/ESP32 and WiFiNINA based boards:

Serial Debug Walkthrough Guide: https://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start...

Conditional Serial Debugging: https://www.youtube.com/watch?v=kSxPGl8pEY8
Serial Debug Charting: https://www.youtube.com/watch?v=7LVu__0_jZA

WiFiNINA Serial Debug Over WiFi: https://www.youtube.com/watch?v=mHsZYS24yKE
ESP8266 Serial Debug Over WiFi: https://www.youtube.com/watch?v=kNR06xeKsQ8
ESP32 Serial Debug Over WiFi: https://www.youtube.com/watch?v=1cEPI0N8VPI
  
Back to top
 
IP Logged
 
DeeJayOne
Junior Member
**
Offline


Posts: 12
Joined: Mar 28th, 2022
Re: Simulator feature as software debbuging ?
Reply #2 - Apr 3rd, 2022 at 10:37pm
Print Post  
First, thanks for your reply with all good infos.

Starting with Arduino Uno board, I have tried TinkerCAD Circuits website tool. There is a basic simulator who works fine. As this web tool have a simulator, I thought all other tools should have a simulator. (my mind is a bit too optimistic sometimes !!!)

As the Arduino Uno board is used for beginners and education, I think it should be great to start a simulator function with this "basic" device (ATmega 328).

Otherwise, I will have to work with ESP devices.
I can see, it seems having lot of possibilities for hardware debug with this family (thanks for the links).

And to finish, I'm asking if we could also simulate Microchip 8-bits µC (PIC12 series).

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