This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Saturday, March 29, 2008

Re: [oopic] Re: Question regarding bootloader

>
> Hey Richard. Thanks. That actually did work. I changed the port
> assignment, despite the warnings from the OS, and the change took
> place ok. I didn't even have to reboot. In addition, oopic IDE v.6
> was able to find the serial cable alright, since it was now <= COM6.
> I'll try the rebooting next to see if it stuck.
>
>
>
Dan

I have found that it is necessary to always use the same physical USB
port for my USB to Serial adapter. If a different physical USB port is
used then a different comm port will be assigned. This can also happen
if a different make of adapter is used to the one which was originally
used when mapping the comm port.

Ian

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

[oopic] Re: Question regarding bootloader

--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>
> > Yes, been there, done that. For whatever the reason, on my
> computer, every comport below #9 indicates already in use, even
though nothing is connected to the USB ports. I cannot select a
comport value in the oopic IDE range.
>
> Go ahead and select a port that is '(in use)' like COM4. I
wouldn't select COM1 or COM2 if they physically exist on the computer
as hardware serial ports or internal modems. Up comes a dialog
> complaining about the conflict. Click on Yes to confirm your
choice to hose your system.
>


Hey Richard. Thanks. That actually did work. I changed the port
assignment, despite the warnings from the OS, and the change took
place ok. I didn't even have to reboot. In addition, oopic IDE v.6
was able to find the serial cable alright, since it was now <= COM6.
I'll try the rebooting next to see if it stuck.

> Then close things out and reboot. The USB port will be reassigned
> when Windows restarts.
>
> I know this works because I just changed a USB->Serial adapter on
> COM13 to COM4 which was in use but not connected.
>
> With Hyperterminal, the USB->Serial adapters don't always connect
on the first time HT is started. It isn't unusual for me to have to
> close the instance and start it over.
>
> Richard
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

[oopic] Re: Question regarding bootloader

> Yes, been there, done that. For whatever the reason, on my
computer,
> every comport below #9 indicates already in use, even though
nothing
> is connected to the USB ports. I cannot select a comport value in
the
> oopic IDE range.

Go ahead and select a port that is '(in use)' like COM4. I wouldn't
select COM1 or COM2 if they physically exist on the computer as
hardware serial ports or internal modems. Up comes a dialog
complaining about the conflict. Click on Yes to confirm your choice
to hose your system.

Then close things out and reboot. The USB port will be reassigned
when Windows restarts.

I know this works because I just changed a USB->Serial adapter on
COM13 to COM4 which was in use but not connected.

With Hyperterminal, the USB->Serial adapters don't always connect on
the first time HT is started. It isn't unusual for me to have to
close the instance and start it over.

Richard

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

[oopic] Re: Question regarding bootloader

--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>
> --- In oopic@yahoogroups.com, "dan michaels" <oric_dan@> wrote:
> >
> > --- In oopic@yahoogroups.com, "minghui1984" <minghui1984@> wrote:
> > >
> >
> >
> > My notebook PC has 2 USB ports, and there doesn't seem to be an
easy way to specifiy which COMPORT the USB dongle maps into. Maybe
someone else knows how to do this.
>
> Right click on My Computer and select Properties
> Select the Hardware tab and click on Device Manager
> Right click on the COM port of interest and select Properties
> Select the Port Settings tab and click on Advanced
>
> There will be a drop-down list at the bottom of the dialog that
shows the current COM port assignment. Select a COM port number that
is not in use.
>


Yes, been there, done that. For whatever the reason, on my computer,
every comport below #9 indicates already in use, even though nothing
is connected to the USB ports. I cannot select a comport value in the
oopic IDE range.


> There may be a LOT of COM ports that indicate '(in use)' and you
know they don't exist. These are remnants of USB VCOM ports that are
known but not active. The COM port numbers may be reused if
necessary. In my case there are about 20 VCOM ports left over from
various projects.
>
> For V5 of the IDE, the COM port must be 1,2,3 or 4. Other ports
may be used with V6.
>
> If you are unsure about WHICH USB port to deal with, unplug it and
the device will disappear from the list in Device Manager. Reconnect
the USB device and it will reappear in the list.
>


Yes, but I still cannot set its value into the oopic IDE range.


> All of the above applies to WinXP.
>
> Richard
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

[oopic] Re: Question regarding bootloader

--- In oopic@yahoogroups.com, "dan michaels" <oric_dan@...> wrote:
>
> --- In oopic@yahoogroups.com, "minghui1984" <minghui1984@> wrote:
> >
>
>
> My notebook PC has 2 USB ports, and there doesn't seem to be an easy
> way to specifiy which COMPORT the USB dongle maps into. Maybe someone
> else knows how to do this.

Right click on My Computer and select Properties
Select the Hardware tab and click on Device Manager
Right click on the COM port of interest and select Properties
Select the Port Settings tab and click on Advanced

There will be a drop-down list at the bottom of the dialog that shows
the current COM port assignment. Select a COM port number that is not
in use.

There may be a LOT of COM ports that indicate '(in use)' and you know
they don't exist. These are remnants of USB VCOM ports that are known
but not active. The COM port numbers may be reused if necessary. In
my case there are about 20 VCOM ports left over from various projects.

For V5 of the IDE, the COM port must be 1,2,3 or 4. Other ports may be
used with V6.

If you are unsure about WHICH USB port to deal with, unplug it and the
device will disappear from the list in Device Manager. Reconnect the
USB device and it will reappear in the list.

All of the above applies to WinXP.

Richard


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

Re: [oopic] first time use

What ooPIC are you using? The ooPIC R will have the IOLine labeled as
the actual IO line, the ooPIC S boards you need to cross-reference the
IOline to the physical pin.

DLC

funreido wrote:
> I just starting to use it. I was trying to use first application with
> 220 ohm resistor and led. I got download into eeprom. But the light
> wont comes on. I test it with volt meter and there is no voltage
> output. I test pin 21 and 23 and I see 5 volts output and I use it
> with led and resister. It was working fine. Here is program I use it
> for led.
>
> Dim Fred As New oDio1
>
> Sub Main()
> Fred.Ioline = 7
> Fred.Direction = cvOutput
> Fred = 1
> End Sub
>
> I tried to use 11 for pin 11 or 5 for pin 5. Still not working. What
> did I do wrong? I just same parallel cable and 9 volt cable that comes
> with it.
>
> Reid
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

[oopic] Re: Question regarding bootloader

--- In oopic@yahoogroups.com, "minghui1984" <minghui1984@...> wrote:
>


My notebook PC has 2 USB ports, and there doesn't seem to be an easy
way to specifiy which COMPORT the USB dongle maps into. Maybe someone
else knows how to do this. The dongle may map into a COMPORT value
above what the oopic IDE can handle. When I use control panel, there
are so many USB ports shown, I am also unsure what is going on.

In the end, the easiest way I found to determine the actual COMPORT
value is to use a 3rd party program. I am using the XCTU program
which is intended to work with Maxstream modems. :) It always seems
to find the correct comport automatically. Available on
maxstream.net, and I have a copy here.

http://www.oricomtech.com/download/

I don't know what other people do.

> I think i tried choosing port 5 before i transfer but same problem
> still occurs. Anyway for my laptop its somehow fixed at port 5 as
> default too. i went to the control panel > Systems > Hardware >
> Device Manager > COM PORTS > stating that its COM 5. Is that what u
> meant?
>
> Minghui
>
> --- In oopic@yahoogroups.com, "dan michaels" <oric_dan@> wrote:
> >
> > --- In oopic@yahoogroups.com, "minghui1984" <minghui1984@> wrote:
> > >
> >
> >
> > Hello Minghui. I use a USB-to-RS232 dongle on my WinXP notebook
PC,
> > and the oopic IDE cannot find the serial port automatically
> > using "Tools - Cable Configuration - Find Serial Cable", when
> looking
> > through the dongle.
> >
> > However, if I manually set the IDE to the correct com port value
> > [need to find this using the Windows Control Panael], then
> > downloading works ok. Sometimes, the IDE doesn't download the
first
> > time, but will the 2nd and succeeding times, thereafter.
> >
> >
> >
> > > Hi all, i just bought the ooBot40 which uses the ooPIC III+
ver.
> It
> > was initally working fine, till some point then i started not
being
> > able to detect my serial cable. The error message saying "cannot
> find
> > a serial connected to OOPIC" is displayed. So i was wondering if
i
> > accidentally deleted/replaced the bootloader inside the chip? is
> that
> > possible?
> > >
> > > i was thinking if it's due to the following command.
> > >
> > > Dim PIC As New oOperatingsystem
> > >
> > > Hopefully thats not the in case, any idea to check if the
> > bootloader is still inside, if its gone, any way to put it back
in?
> > >
> > > Thanks alot of any help rendered.
> > >
> > >
> > > Cheers,
> > > Minghui
> > >
> >
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/