Not sure how I can get this resolved so asking the question here
Previous sims have been running fine. I have PIC18F25K80 and a PIC18f1230 running no issues as I said. Fantastic that I can debug like that.
As part of the program work I introduced 2 arrays that pushed the ram used up to 99.8%
Now trying to run the sim its seems to work on run but as soon as I hit pause the whole program just shuts down. Opening its again asks if I want to recover the prog.
I can supply the BAS COFF and hex if need be.
Thanks
Tim
Sim crashes everything on pause
Re: Sim crashes everything on pause
Just to add I can work around it by using a smaller array
Tim
Tim
Re: Sim crashes everything on pause
I have reproduced the issue with a simple test circuit (PIC18F25K80 + PIC18F1230) but only when one of the two mcus are loaded with .bas program not with .cof. If both are loaded with .cof files I couldn't get any issue.
At any rate, it seems the crash is both in VSMDEBUG and in the BASIC loader because of stack around variable corrupted.
I have fixed the issue and now it appears to work with .bas or .cof in any combination but I used my test design. Would be interesting to see what happens with the your.
At any rate, it seems the crash is both in VSMDEBUG and in the BASIC loader because of stack around variable corrupted.
I have fixed the issue and now it appears to work with .bas or .cof in any combination but I used my test design. Would be interesting to see what happens with the your.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
Re: Sim crashes everything on pause
Many thanks Ettore
Moving back to Coff fixed it.
Really appreciate the really fast response
Tim Box
Moving back to Coff fixed it.
Really appreciate the really fast response
Tim Box
Re: Sim crashes everything on pause
Ok, I'm happy but the problem stands for .bas.
Could you please send me your files including Proteus schematic so that I can check if my fixing works with your project ?
If you cannot attach your files to PM please send them to support@labcenter.com
Thank you
Update:
Thanks so much, Dave passed me your files.
I did finally test the bug fix with your project and now it works fine with .bas files as well. The fix will be hopefully in the 8.15.
Could you please send me your files including Proteus schematic so that I can check if my fixing works with your project ?
If you cannot attach your files to PM please send them to support@labcenter.com
Thank you
Update:
Thanks so much, Dave passed me your files.
I did finally test the bug fix with your project and now it works fine with .bas files as well. The fix will be hopefully in the 8.15.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.