PIC18F27Q10 and its support

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
TimBox100
Professional User
Posts: 87
Joined: Wed 2019-03-13 13:26

PIC18F27Q10 and its support

Post by TimBox100 »

Hello team

Just a basic question on the PIC18F27Q10 and its working in a VSM

I'm starting out using the PIC18F27Q10 but due to absolutely no devices available for a month or 2 while I wait, I thought I would do some development in the VSM as it seems to be supported.

My issue is that preliminary simulations of my COFF shows that the stack seems to be playing up. eg As simple Rcall Sub and Return just loops back to Sub over and over.

So my question is, is it usable? Or is there fix I need to apply to get it running properly

Many thanks

Tim B
TimBox100
Professional User
Posts: 87
Joined: Wed 2019-03-13 13:26

Re: PIC18F27Q10 and its support

Post by TimBox100 »

Hi

OK after really digging into this I see that in the CPU register window the interpreted return address is (in my code) 0x00009C which looking at my LST file is the address of the Rcall to the sub/Proc. Hence the looping.

Thanks

Tim B
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: PIC18F27Q10 and its support

Post by Ettore »

Thanks. We'll looking at this. Actually it looks as though the rcall instruction is bugged. The call instruction is correct.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: PIC18F27Q10 and its support

Post by Ettore »

The issue has been fixed out for version 8.16
Kind regards,
Ettore Arena - Labcenter Electronics.
TimBox100
Professional User
Posts: 87
Joined: Wed 2019-03-13 13:26

Re: PIC18F27Q10 and its support

Post by TimBox100 »

Thanks.

Any idea when V8.16 will be released?

Tim Box
Post Reply