VS Arduino
Visual Micro >> Ideas, Suggestions and Related Tools >> Simulator feature as software debbuging ?
https://www.visualmicro.com/forums/YaBB.pl?num=1648546473

Message started by DeeJayOne on Mar 29th, 2022 at 9:34am

Title: Simulator feature as software debbuging ?
Post by DeeJayOne on Mar 29th, 2022 at 9:34am
Hi everyone  :)

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.

Title: Re: Simulator feature as software debbuging ?
Post by Simon@Visual Micro on Mar 30th, 2022 at 10:14am
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.html

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.html

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

Title: Re: Simulator feature as software debbuging ?
Post by DeeJayOne on Apr 3rd, 2022 at 10:37pm
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

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.