Sign in

username:

password:



Not a member?

Search oopic



Search tips

Subscribe to oopic



Ads

Discussion Groups

Discussion Groups | | OOPic R Problem

OOPic R Problem - oscarhkw - Feb 23 2:11:58 2008

Hello All,

I bought two OOPic R (firmware B2.2 +) for my research. However, I
found that all boards cannot run the program properly. I used Windows
XP and OOPic 5.01 compiler as a programming environment and followed
the example:

Dim LED as New ODio1

Sub Main()

OOPic.delay = 500
LED.IOLine = 6
LED.Direction = cvOutput

Do
LED =OOPic.Hz1
Loop

End Sub

from the book called "Programming and customizing the OOPic
Microcontroller" in order to test one of the boards but the yellow LED
does not flash after the program being downloaded. I have tried
antoher board. it also has this problem. Also, I did try "cosmic
wedgie" recovery but it still doesn't work. How can I repair those
OOPic boards



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )


Re: OOPic R Problem - oscarhkw - Feb 23 3:54:39 2008

Here is the HEX Code generate from compiler 5.01 for reference:

0000: 0B 80 00 00 0C 00 00 1C 00 00 14 00 00 00 0C 00
0010: 00 00 3E 00 29 01 01 09 00 00 15 00 00 01 00 00
0020: 00 00 2E 00 00 00 00 00 00 00 00 00 1F 00 00 06
0030: 29 00 00 29 00 28 00 29 00 00 00 35 00 00 20 00
0040: 3C 2F 3E 00 00 00 FF FF FF FF FF FF FF FF FF FF
0050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
--- In o...@yahoogroups.com, "oscarhkw" wrote:
>
> Hello All,
>
> I bought two OOPic R (firmware B2.2 +) for my research. However, I
> found that all boards cannot run the program properly. I used Windows
> XP and OOPic 5.01 compiler as a programming environment and followed
> the example:
>
> Dim LED as New ODio1
>
> Sub Main()
>
> OOPic.delay = 500
> LED.IOLine = 6
> LED.Direction = cvOutput
>
> Do
> LED =OOPic.Hz1
> Loop
>
> End Sub
>
> from the book called "Programming and customizing the OOPic
> Microcontroller" in order to test one of the boards but the yellow LED
> does not flash after the program being downloaded. I have tried
> antoher board. it also has this problem. Also, I did try "cosmic
> wedgie" recovery but it still doesn't work. How can I repair those
> OOPic boards
>



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: OOPic R Problem - rtstofer - Feb 23 11:34:09 2008

--- In o...@yahoogroups.com, "oscarhkw" wrote:
>
> Hello All,
>
> I bought two OOPic R (firmware B2.2 +) for my research. However, I
> found that all boards cannot run the program properly. I used Windows
> XP and OOPic 5.01 compiler as a programming environment and followed
> the example:
>
> Dim LED as New ODio1
>
> Sub Main()
>
> OOPic.delay = 500
> LED.IOLine = 6
> LED.Direction = cvOutput
>
> Do
> LED =OOPic.Hz1
> Loop
>
> End Sub
>
> from the book called "Programming and customizing the OOPic
> Microcontroller" in order to test one of the boards but the yellow LED
> does not flash after the program being downloaded. I have tried
> antoher board. it also has this problem. Also, I did try "cosmic
> wedgie" recovery but it still doesn't work. How can I repair those
> OOPic boards
>

Which programming method did you use, parallel or serial cable? If
you used the serial cable and the device programmed successfully (no
errors from the IDE and you watched the download progress bar move
left to right) then the OOPic itself is working.

With the parallel cable, programming will almost always succeed
because the cable programs the EEPROM while holding the OOPic in
reset. Successful programming of the EEPROM says nothing about the
state of the OOPic.

Check the obvious things first: battery voltage, logic voltage (+5 on
pin 4 of either I2C connector (the white 5 pin connectors) relative to
ground on pin 2. This is a different voltage regulator than the one
that supplies the outer two pins of the IO header. You might as well
check that voltage as well - say adjacent to IOLine 1.

You did install Port95NT.exe before installing the IDE, right?
www.oopic.com/dloadp.html

Richard



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: OOPic R Problem - oscarhkw - Feb 23 12:36:03 2008

--- In o...@yahoogroups.com, "rtstofer" wrote:
>
> --- In o...@yahoogroups.com, "oscarhkw" wrote:
> >
> > Hello All,
> >
> > I bought two OOPic R (firmware B2.2 +) for my research. However, I
> > found that all boards cannot run the program properly. I used
Windows
> > XP and OOPic 5.01 compiler as a programming environment and
followed
> > the example:
> >
> > Dim LED as New ODio1
> >
> > Sub Main()
> >
> > OOPic.delay = 500
> > LED.IOLine = 6
> > LED.Direction = cvOutput
> >
> > Do
> > LED =OOPic.Hz1
> > Loop
> >
> > End Sub
> >
> > from the book called "Programming and customizing the OOPic
> > Microcontroller" in order to test one of the boards but the
yellow LED
> > does not flash after the program being downloaded. I have tried
> > antoher board. it also has this problem. Also, I did try "cosmic
> > wedgie" recovery but it still doesn't work. How can I repair those
> > OOPic boards
> > Which programming method did you use, parallel or serial cable? If
> you used the serial cable and the device programmed successfully (no
> errors from the IDE and you watched the download progress bar move
> left to right) then the OOPic itself is working.
>
> With the parallel cable, programming will almost always succeed
> because the cable programs the EEPROM while holding the OOPic in
> reset. Successful programming of the EEPROM says nothing about the
> state of the OOPic.
>
> Check the obvious things first: battery voltage, logic voltage (+5
on
> pin 4 of either I2C connector (the white 5 pin connectors) relative
to
> ground on pin 2. This is a different voltage regulator than the one
> that supplies the outer two pins of the IO header. You might as
well
> check that voltage as well - say adjacent to IOLine 1.
>
> You did install Port95NT.exe before installing the IDE, right?
> www.oopic.com/dloadp.html
>
> Richard
>

I did install Port95NT.exe already. I tried both methods and no error
message appeared but OOPic boards also cannot work properly.



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: OOPic R Problem - ooPIC Tech Support - Feb 23 16:26:48 2008

Can you give full details of what you did? How do you know that the
build and download was successful? What did the IDE/compiler say when
you did the build, and when you did the download?

thanks,
DLC

oscarhkw wrote:
> Hello All,
>
> I bought two OOPic R (firmware B2.2 +) for my research. However, I
> found that all boards cannot run the program properly. I used Windows
> XP and OOPic 5.01 compiler as a programming environment and followed
> the example:
>
> Dim LED as New ODio1
>
> Sub Main()
>
> OOPic.delay = 500
> LED.IOLine = 6
> LED.Direction = cvOutput
>
> Do
> LED =OOPic.Hz1
> Loop
>
> End Sub
>
> from the book called "Programming and customizing the OOPic
> Microcontroller" in order to test one of the boards but the yellow LED
> does not flash after the program being downloaded. I have tried
> antoher board. it also has this problem. Also, I did try "cosmic
> wedgie" recovery but it still doesn't work. How can I repair those
> OOPic boards
>
>
>



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: Re: OOPic R Problem - ooPIC Tech Support - Feb 23 16:41:37 2008

If you compiled, but didn't download it would look like this. Please
give me a "blow-by-blow" account of every step that you took, compile,
build, download, and any messages that were given. What locale is your
Windows system using?

DLC

oscarhkw wrote:
> --- In o...@yahoogroups.com, "rtstofer" wrote:
>
>> --- In o...@yahoogroups.com, "oscarhkw" wrote:
>>
>>> Hello All,
>>>
>>> I bought two OOPic R (firmware B2.2 +) for my research. However, I
>>> found that all boards cannot run the program properly. I used
>>>
> Windows
>
>>> XP and OOPic 5.01 compiler as a programming environment and
>>>
> followed
>
>>> the example:
>>>
>>> Dim LED as New ODio1
>>>
>>> Sub Main()
>>>
>>> OOPic.delay = 500
>>> LED.IOLine = 6
>>> LED.Direction = cvOutput
>>>
>>> Do
>>> LED =OOPic.Hz1
>>> Loop
>>>
>>> End Sub
>>>
>>> from the book called "Programming and customizing the OOPic
>>> Microcontroller" in order to test one of the boards but the
>>>
> yellow LED
>
>>> does not flash after the program being downloaded. I have tried
>>> antoher board. it also has this problem. Also, I did try "cosmic
>>> wedgie" recovery but it still doesn't work. How can I repair those
>>> OOPic boards
>>>
>>>
>> Which programming method did you use, parallel or serial cable? If
>> you used the serial cable and the device programmed successfully (no
>> errors from the IDE and you watched the download progress bar move
>> left to right) then the OOPic itself is working.
>>
>> With the parallel cable, programming will almost always succeed
>> because the cable programs the EEPROM while holding the OOPic in
>> reset. Successful programming of the EEPROM says nothing about the
>> state of the OOPic.
>>
>> Check the obvious things first: battery voltage, logic voltage (+5
>>
> on
>
>> pin 4 of either I2C connector (the white 5 pin connectors) relative
>>
> to
>
>> ground on pin 2. This is a different voltage regulator than the one
>> that supplies the outer two pins of the IO header. You might as
>>
> well
>
>> check that voltage as well - say adjacent to IOLine 1.
>>
>> You did install Port95NT.exe before installing the IDE, right?
>> www.oopic.com/dloadp.html
>>
>> Richard
>>
>>
>
> I did install Port95NT.exe already. I tried both methods and no error
> message appeared but OOPic boards also cannot work properly.
>
>
>



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: OOPic R Problem - oscarhkw - Feb 24 3:04:17 2008

My windows system is Window XP Professional SP2 (Traditional
Chinese / English) version. Firstly, I use either serial cable or
perallel cable to connect OOPic R with my PC. Secondly, I open
compiler 5.01 and then configure cable and find delay time. After
those inital procedures, I start to program and then click "make and
download" in order to compile and download my program to OOPic R.
Then, the compiler shows the message indicating that the program has
been downloaded successfully but the OOPic board do not have any
response (yellow LED "IOLine 6" do not light anf flash).Could you
help me to fix this problem. I did post part of the Hex Code
generated from compiler on the forum. If you need it for reference, I
can send entire HEX code to you via email.
--- In o...@yahoogroups.com, ooPIC Tech Support
wrote:
>
> If you compiled, but didn't download it would look like this.
Please
> give me a "blow-by-blow" account of every step that you took,
compile,
> build, download, and any messages that were given. What locale is
your
> Windows system using?
>
> DLC
>
> oscarhkw wrote:
> > --- In o...@yahoogroups.com, "rtstofer" wrote:
> >
> >> --- In o...@yahoogroups.com, "oscarhkw" wrote:
> >>
> >>> Hello All,
> >>>
> >>> I bought two OOPic R (firmware B2.2 +) for my research.
However, I
> >>> found that all boards cannot run the program properly. I used
> >>>
> > Windows
> >
> >>> XP and OOPic 5.01 compiler as a programming environment and
> >>>
> > followed
> >
> >>> the example:
> >>>
> >>> Dim LED as New ODio1
> >>>
> >>> Sub Main()
> >>>
> >>> OOPic.delay = 500
> >>> LED.IOLine = 6
> >>> LED.Direction = cvOutput
> >>>
> >>> Do
> >>> LED =OOPic.Hz1
> >>> Loop
> >>>
> >>> End Sub
> >>>
> >>> from the book called "Programming and customizing the OOPic
> >>> Microcontroller" in order to test one of the boards but the
> >>>
> > yellow LED
> >
> >>> does not flash after the program being downloaded. I have tried
> >>> antoher board. it also has this problem. Also, I did try "cosmic
> >>> wedgie" recovery but it still doesn't work. How can I repair
those
> >>> OOPic boards
> >>>
> >>>
> >> Which programming method did you use, parallel or serial cable?
If
> >> you used the serial cable and the device programmed successfully
(no
> >> errors from the IDE and you watched the download progress bar
move
> >> left to right) then the OOPic itself is working.
> >>
> >> With the parallel cable, programming will almost always succeed
> >> because the cable programs the EEPROM while holding the OOPic in
> >> reset. Successful programming of the EEPROM says nothing about
the
> >> state of the OOPic.
> >>
> >> Check the obvious things first: battery voltage, logic voltage
(+5
> >>
> > on
> >
> >> pin 4 of either I2C connector (the white 5 pin connectors)
relative
> >>
> > to
> >
> >> ground on pin 2. This is a different voltage regulator than the
one
> >> that supplies the outer two pins of the IO header. You might as
> >>
> > well
> >
> >> check that voltage as well - say adjacent to IOLine 1.
> >>
> >> You did install Port95NT.exe before installing the IDE, right?
> >> www.oopic.com/dloadp.html
> >>
> >> Richard
> >>
> >>
> >
> > I did install Port95NT.exe already. I tried both methods and no
error
> > message appeared but OOPic boards also cannot work properly.
> >
> >
> >
> >
> >



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: Re: OOPic R Problem - ooPIC Tech Support - Feb 24 16:10:41 2008

There is a known problem with some Chinese and Korean locales, please
set your OS to boot with the English locale and the compiler should work
properly. This isn't a perfect solution, but I know that Scott is
looking into the locale issue, it seems to be related to his development
environment, not the program.

DLC

oscarhkw wrote:
> My windows system is Window XP Professional SP2 (Traditional
> Chinese / English) version. Firstly, I use either serial cable or
> perallel cable to connect OOPic R with my PC. Secondly, I open
> compiler 5.01 and then configure cable and find delay time. After
> those inital procedures, I start to program and then click "make and
> download" in order to compile and download my program to OOPic R.
> Then, the compiler shows the message indicating that the program has
> been downloaded successfully but the OOPic board do not have any
> response (yellow LED "IOLine 6" do not light anf flash).Could you
> help me to fix this problem. I did post part of the Hex Code
> generated from compiler on the forum. If you need it for reference, I
> can send entire HEX code to you via email.
> --- In o...@yahoogroups.com, ooPIC Tech Support
> wrote:
>
>> If you compiled, but didn't download it would look like this.
>>
> Please
>
>> give me a "blow-by-blow" account of every step that you took,
>>
> compile,
>
>> build, download, and any messages that were given. What locale is
>>
> your
>
>> Windows system using?
>>
>> DLC
>>
>> oscarhkw wrote:
>>
>>> --- In o...@yahoogroups.com, "rtstofer" wrote:
>>>
>>>
>>>> --- In o...@yahoogroups.com, "oscarhkw" wrote:
>>>>
>>>>
>>>>> Hello All,
>>>>>
>>>>> I bought two OOPic R (firmware B2.2 +) for my research.
>>>>>
> However, I
>
>>>>> found that all boards cannot run the program properly. I used
>>>>>
>>>>>
>>> Windows
>>>
>>>
>>>>> XP and OOPic 5.01 compiler as a programming environment and
>>>>>
>>>>>
>>> followed
>>>
>>>
>>>>> the example:
>>>>>
>>>>> Dim LED as New ODio1
>>>>>
>>>>> Sub Main()
>>>>>
>>>>> OOPic.delay = 500
>>>>> LED.IOLine = 6
>>>>> LED.Direction = cvOutput
>>>>>
>>>>> Do
>>>>> LED =OOPic.Hz1
>>>>> Loop
>>>>>
>>>>> End Sub
>>>>>
>>>>> from the book called "Programming and customizing the OOPic
>>>>> Microcontroller" in order to test one of the boards but the
>>>>>
>>>>>
>>> yellow LED
>>>
>>>
>>>>> does not flash after the program being downloaded. I have tried
>>>>> antoher board. it also has this problem. Also, I did try "cosmic
>>>>> wedgie" recovery but it still doesn't work. How can I repair
>>>>>
> those
>
>>>>> OOPic boards
>>>>>
>>>>>
>>>>>
>>>> Which programming method did you use, parallel or serial cable?
>>>>
> If
>
>>>> you used the serial cable and the device programmed successfully
>>>>
> (no
>
>>>> errors from the IDE and you watched the download progress bar
>>>>
> move
>
>>>> left to right) then the OOPic itself is working.
>>>>
>>>> With the parallel cable, programming will almost always succeed
>>>> because the cable programs the EEPROM while holding the OOPic in
>>>> reset. Successful programming of the EEPROM says nothing about
>>>>
> the
>
>>>> state of the OOPic.
>>>>
>>>> Check the obvious things first: battery voltage, logic voltage
>>>>
> (+5
>
>>>>
>>>>
>>> on
>>>
>>>
>>>> pin 4 of either I2C connector (the white 5 pin connectors)
>>>>
> relative
>
>>>>
>>>>
>>> to
>>>
>>>
>>>> ground on pin 2. This is a different voltage regulator than the
>>>>
> one
>
>>>> that supplies the outer two pins of the IO header. You might as
>>>>
>>>>
>>> well
>>>
>>>
>>>> check that voltage as well - say adjacent to IOLine 1.
>>>>
>>>> You did install Port95NT.exe before installing the IDE, right?
>>>> www.oopic.com/dloadp.html
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>> I did install Port95NT.exe already. I tried both methods and no
>>>
> error
>
>>> message appeared but OOPic boards also cannot work properly.
>>>
>>>
>>>
>>>
>>>



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )

Re: Re: OOPic R Problem - Andrew Porrett - Feb 24 16:34:44 2008

By development environment, do you mean compiler runtime libraries or
perhaps some GUI toolkit? Just curious.

At 04:00 PM 2/24/2008, ooPIC Tech Support wrote:
>There is a known problem with some Chinese and Korean locales, please
>set your OS to boot with the English locale and the compiler should work
>properly. This isn't a perfect solution, but I know that Scott is
>looking into the locale issue, it seems to be related to his development
>environment, not the program.



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )