VS Arduino
Visual Micro >> Microchip Studio (Atmel Studio 7) >> ESP8266 Exception reporting button not available
https://www.visualmicro.com/forums/YaBB.pl?num=1522169263

Message started by perigalacticon on Mar 27th, 2018 at 4:47pm

Title: ESP8266 Exception reporting button not available
Post by perigalacticon on Mar 27th, 2018 at 4:47pm
I am trying to debug ESP8266 with the VM debugger for the first time and trying to find out how to use the Serial Exception Reporting feature as shown on the webpage http://www.visualmicro.com/page/esp8266.aspx

There is no button shown on the serial monitor when I run the debugger to create the error information in the output window.  I attached the output as an example.  I also attached a pic of the Serial Monitor window.  I am using VM with AS7 and would greatly like to use this feature.


Code (c++):

Exception (28):
epc1=0x40203e12 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0033cc2a depc=0x00000000

ctx: cont
sp: 3fff00d0 end: 3fff0300 offset: 01a0

>>>stack>>>
3fff0270:  40104d00 00000005 3ffe8cf9 3ffef2d4
3fff0280:  401073b0 00000000 00001388 402099d1
3fff0290:  00000000 0033cc00 3fff0348 402099d1
3fff02a0:  3ffe8cf4 3ffeed40 3ffeef20 40205b9e
3fff02b0:  0001a16b 3ffe8cf0 0001a16b 40208e83
3fff02c0:  130033cc 00000000 3ffeed04 4020230c
3fff02d0:  3fffdad0 3ffeed40 3ffeed04 40202a7c
3fff02e0:  3fffdad0 00000000 3ffef2cc 40209160
3fff02f0:  feefeffe feefeffe 3ffef2e0 40100710
<<<stack<<<

ets Jan  8 2013,rst cause:2, boot mode:(1,6)


ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset



AS7_VM_ESP8266_Debug_Issue.PNG ( 22 KB | 3 Downloads )

Title: Re: ESP8266 Exception reporting button not available
Post by Visual Micro on Mar 27th, 2018 at 5:41pm
The atmel version always takes a little longer because it goes through an approval process.

You should really be using visual studio for non-atmel and microchip hardware

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-Additions.aspx

Title: Re: ESP8266 Exception reporting button not available
Post by perigalacticon on Apr 18th, 2018 at 9:54pm
Hi I still don't see this option available, my VM version says 1801.28.0, is this the correct version?

Title: Re: ESP8266 Exception reporting button not available
Post by Visual Micro on Apr 18th, 2018 at 10:20pm
No, 1801 means Jan 2018. 1801.28 means Jan 28th 2018

You should have a flag at the top of the IDE telling you there is an update available.


Title: Re: ESP8266 Exception reporting button not available
Post by perigalacticon on Apr 18th, 2018 at 10:40pm
If I click the flag shown next to the search bar it shows a window titled Notifications and the window shows "Notifications: 0".  Is this the flag you are referring to?

Title: Re: ESP8266 Exception reporting button not available
Post by Visual Micro on Apr 18th, 2018 at 10:47pm
I didn't see you were using atmel studio.

There are a couple of reasons to use Visual Studio instead

1) Esp8266 is not Atmel/Microchip hardware and the Atmel IDE is supposed to be for their own hardware :)

2) The visual micro release notes show which IDE's have been updated with the latest functionality. The atmel updates are less frequent.

Visual-Micro-Product-Version-History-Fixes-and-Additions.aspx


Title: Re: ESP8266 Exception reporting button not available
Post by perigalacticon on Apr 18th, 2018 at 10:55pm
Ok sorry I didn't realize it was all for Visual Studio because the program looked very similar.  I liked the concept of the IDE being specialized for microcontroller programming however, that's why I stayed with AS7.

Title: Re: ESP8266 Exception reporting button not available
Post by Visual Micro on Apr 18th, 2018 at 10:59pm
Makes sense. AS7 is actually Visual Studio. There will be an AS7 update over the next week or so but I don't push it for non atmel/microchip because that is against the atmel studio licensing rules.

However, what users do is none of my business  :)

Title: Re: ESP8266 Exception reporting button not available
Post by perigalacticon on Apr 18th, 2018 at 11:10pm
If I am installing VS to run VM, are there issues with this if VM is already installed to AS7?  Can you run VM on AS7 and VS simultaneously?

Title: Re: ESP8266 Exception reporting button not available
Post by Visual Micro on Apr 19th, 2018 at 11:45am
No issues.


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