MPLAB & USART

Started by jrem November 8, 2004

Will MPLAB emulate the USART correctly? i.e., if I have the asm set
up for USART, and if I make a transmission, does the TX bit flip on
and off in MPLAB as I step through the program? Also, does PIR1<4>
work correctly in the emulator? Or am I required to debug on
hardware?

I can't seem to find anything in the MPLAB users guide regarding
this. So right now I don't know if I'm headed in the right direction.

Thanks a million . . . John.





--- In , "jrem" <jrem123@y...> wrote:
>
> Will MPLAB emulate the USART correctly? i.e., if I have the asm set
> up for USART, and if I make a transmission, does the TX bit flip on
> and off in MPLAB as I step through the program? Also, does PIR1<4>
> work correctly in the emulator? Or am I required to debug on
> hardware?
>
> I can't seem to find anything in the MPLAB users guide regarding
> this. So right now I don't know if I'm headed in the right direction.
>
> Thanks a million . . . John.

open up mplab go to help/topics/mplabsim/limitations. You'll find
that it doesn't support serial I/O emulation.



Have a look at Debugger/Settings/Limitations

jrem wrote:

 
Will MPLAB emulate the USART correctly?  i.e., if I have the asm set
up for USART, and if I make a transmission, does the TX bit flip on
and off in MPLAB as I step through the program?  Also, does PIR1<4>
work correctly in the emulator?  Or am I required to debug on
hardware?

I can't seem to find anything in the MPLAB users guide regarding
this. So right now I don't know if I'm headed in the right direction.

Thanks a million . . .  John.
 

--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
 

If you want a simulator that does this ( and lots more
like a terminal you can hang on a simulated pic pin to
see what the uart is doing) go to
http://www.oshonsoft.com and download pic simulator
ide , it's great imho you get a generous trial period
but if you are as thrilled as i was you'll shell out
the couple bucks for the software the same day.

I'm not associated with them , just a happy user of
the software

Kind regards
Peter van Hoof --- jrem <> wrote:

>
> Will MPLAB emulate the USART correctly? i.e., if I
> have the asm set
> up for USART, and if I make a transmission, does the
> TX bit flip on
> and off in MPLAB as I step through the program?
> Also, does PIR1<4>
> work correctly in the emulator? Or am I required to
> debug on
> hardware?
>
> I can't seem to find anything in the MPLAB users
> guide regarding
> this. So right now I don't know if I'm headed in the
> right direction.
>
> Thanks a million . . . John. >
>




Try the FED IDE - great simulator at www.fored.co.uk
Paul. ----- Original Message -----
From: "Peter van Hoof" <>
To: <>
Sent: Tuesday, November 09, 2004 12:17 AM
Subject: Re: [piclist] MPLAB & USART >
> If you want a simulator that does this ( and lots more
> like a terminal you can hang on a simulated pic pin to
> see what the uart is doing) go to
> http://www.oshonsoft.com and download pic simulator
> ide , it's great imho you get a generous trial period
> but if you are as thrilled as i was you'll shell out
> the couple bucks for the software the same day.
>
> I'm not associated with them , just a happy user of
> the software
>
> Kind regards
> Peter van Hoof > --- jrem <> wrote:
>
>>
>> Will MPLAB emulate the USART correctly? i.e., if I
>> have the asm set
>> up for USART, and if I make a transmission, does the
>> TX bit flip on
>> and off in MPLAB as I step through the program?
>> Also, does PIR1<4>
>> work correctly in the emulator? Or am I required to
>> debug on
>> hardware?
>>
>> I can't seem to find anything in the MPLAB users
>> guide regarding
>> this. So right now I don't know if I'm headed in the
>> right direction.
>>
>> Thanks a million . . . John.
>>
>>
>>
> >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> Yahoo! Groups Links >
>