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.

Sunday, February 24, 2008

Re: [oopic] Re: OOPic R Problem

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 oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
> 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 oopic@yahoogroups.com, "rtstofer" <rstofer@> wrote:
>>>
>>>
>>>> --- In oopic@yahoogroups.com, "oscarhkw" <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.
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>> --
>> ------------------------------------------------------
>> Dennis Clark ooPIC Tech Support
>> www.oopic.com
>> ------------------------------------------------------
>>
>>
>
>
>
>
>
> 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/

No comments: