A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
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: -- ******************************************* 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 |
|
|
|
Hi, I'm use the PIC12F and PIC16F series MCU i will be upgrate to PIC18 Seres. I have make sample program with 18F452. But I have a problem whit OSC select. My program don't work if select XT,HS or HS PLL mode. It work only in RC02RA6 mod but i don't understand why the program not work. I give a example for this progam, if anybody do program for PIC18 series whit ASM help me. Or give me sample program for 18f Series for understand how i can start it.
;******************************************************************** ; __CONFIG _CONFIG1H, _OSCS_OFF_1H & _EC_OSC_1H ;********************************************************************
Gesendet von Yahoo! Mail - Jetzt mit 100MB kostenlosem Speicher |
|
|
|
try not using in line configuration bit definition. Comment
everything out and set the configuration bits trough the interface.
Mauricio Jancic
Janso Desarrollos
Microchip Consultant Program
Member
(54) 11-4542-3519
i...@janso.com.ar
www.janso.com.ar
|