Searching \ for '[PIC]: Query wrt MPLAB simulation' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'Query wrt MPLAB simulation'.

Exact match. Not showing close matches.
PICList Thread
'[pic]: Query wrt MPLAB simulation'
2000\11\17@103852 by s.m.brady

picon face
Hi,

I am running some simulations using interrupts on the 17c44 using MPLAB.

due to not been able to look at my inputs on PORTB, I have changed them to
outputs to control the different operations.
I am forcing an interrupt when the bits on portb change.
this all works fine except that we have noticed when RBIF =1, the program
continues for another 2 commands before jumping to the interrupt.
Is this a peculiarity with MPLAB or will also this occur when I use the pic?

If this does occur, is there a way to prevent it happening?


thank you


Sharon

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2000\11\17@205435 by Dan Michaels

flavicon
face
Sharon Brady wrote:
>Hi,
>
>I am running some simulations using interrupts on the 17c44 using MPLAB.
>
>due to not been able to look at my inputs on PORTB, I have changed them to
>outputs to control the different operations.
>I am forcing an interrupt when the bits on portb change.
>this all works fine except that we have noticed when RBIF =1, the program
>continues for another 2 commands before jumping to the interrupt.
>Is this a peculiarity with MPLAB or will also this occur when I use the pic?
>
>If this does occur, is there a way to prevent it happening?
>

Hello Sharon,

I noticed your query to piclist lanquishing for an answer all day,
and also perceive you are not a regular [???]. Now, I personally
have never used the 17C44 nor have I ever used MPLAB, so do not
pay any attention to what I am going to say <grins>. Usually,
however, if someone/anyone says something/anything on piclist,
it will wake up the resident "experts" and they will hop in and
make all the necessary corrections. So here goes:

1 - Don't use MPLAB simulator - it's more trouble than it's worth.

2 - Besides that, the simulator is no darn good for simulating
   "real-time" events, such as RS-232 or other interrupts.

3 - You cannot do interrupts on the 17C44 anyways.

4 - Besides that, the d/s says there will always be a "latency"
   for external interrupt events, and for 2 cycle instructions, the
   latency "could" be one cycle longer [this probably means, "if"
   the interrupt occurs during execution of a 2-cycle instruction].

5 - Why use a processor that no one on piclist knows anything about?

6 - Pay no attention to that man behind the curtain [who is telling
   you things here he knows nothing about].

7 - Where are all the piclist "experts" anyhow? --> Hello !!!!

best regards [and hope you get a correct answer],
- Dan Michaels
Oricom Technologies
http://www.users.uswest.net/~oricom
===================================

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2000\11\18@051749 by Ajay Nagarkar

picon face
hi i know that mplab is really useless for real time
events .. usart etc.
so which simulator do i use ?
do help me !!
ajay

--- Dan Michaels <oricomspamKILLspamUSWEST.NET> wrote:
{Quote hidden}

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\18@135447 by Olin Lathrop

face picon face
> 1 - Don't use MPLAB simulator - it's more trouble than it's worth.

You are making an over-arching statement that could lead people away from
what can be a very useful tool.  I've worked with many different processors,
and although I definitely have some issues with MPLAB, I think it is overall
a pretty decent tool.

> 2 - Besides that, the simulator is no darn good for simulating
>     "real-time" events, such as RS-232 or other interrupts.

I/O is one of the shortcomings of the MPLAB simulator (although this is well
addressed with the ICE-2000).  But you can get useful work done with MPLAB
for this purpose anyway.  Instead of trying to model the serial bit stream,
you set a break point where the code reads from the UART register and
substitute whatever byte value you want.

> 3 - You cannot do interrupts on the 17C44 anyways.

Exuse me!?  And where did this pearl of wisdom strike you from?  See section
5.0 "Interrupts" on page 21 of the data sheet.

> 5 - Why use a processor that no one on piclist knows anything about?

And how would you know that all 1,800 subscribers to the PIC list know
nothing about this processor?  Even then, that is a very weak reason for
picking one processor over another.  The primary source of information about
any processor should always be the data sheet.  I've never used the 17C44
myself although I have used other 17 series parts.  It took all of a minute
to look up the data sheet and verify that this processor does indeed have
interrupts as I thought.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, EraseMEolinspam_OUTspamTakeThisOuTembedinc.com, http://www.embedinc.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\18@153204 by Scott Dattalo

face
flavicon
face
On Sat, 18 Nov 2000, Ajay Nagarkar wrote:

> hi i know that mplab is really useless for real time
> events .. usart etc.
> so which simulator do i use ?
> do help me !!
> ajay

Well, for windows there's UMPS and for Linux there's gpsim. Neither supports the
17Cxx, but the latter supports 18cxxx.

gpsim supports real time stimuli. For a rather sophisticated example you can
check out the LCD module interface:

http://www.dattalo.com/gnupic/t.gif
http://www.dattalo.com/gnupic/lcd.html

Scott

PS. I use gpsim.

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2000\11\19@161847 by Dr. Chris Kirtley

flavicon
face
Dear all,

I'm using MPLAB and I think it's great! One thing I would say, though,
and I'm glad of the opportunity to raise it, is that the 5.1 version of
the software on the Microchip site didn't work for me. I'm using 3.0
instead.

Anybody else noticed this? Or did I maybe do something wrong when I
installed 5.1?

Just noticed that the current version is actually 5.20, so maybe they
fixed the problems?

Chris
--
Dr. Chris Kirtley MD PhD
Associate Professor
HomeCare Technologies for the 21st Century (Whitaker Foundation)
NIDRR Rehabilitation Engineering Research Center on TeleRehabilitation
Dept. of Biomedical Engineering, Pangborn 105B
Catholic University of America
620 Michigan Ave NE
Washington, DC 20064
Tel. 202-319-6247,  fax 202-319-4287
Email: kirtleyspamspam_OUTcua.edu
http://engineering.cua.edu/biomedical

Clinical Gait Analysis: http://guardian.curtin.edu.au/cga
Send subscribe/unsubscribe to @spam@listprocKILLspamspaminfo.curtin.edu.au

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...