Sign in

username:

password:



Not a member?

Search oopic



Search tips

Subscribe to oopic



Ads

Discussion Groups

Discussion Groups | | NO RESPONSE FROM FIRST OOPIC APPLICATION

NO RESPONSE FROM FIRST OOPIC APPLICATION - rjb_fish - Aug 25 11:14:24 2008


NO RESPONSE FROM FIRST OOPIC APPLICATION

I have never programmed a microcontroller before.
I have experience programming computer languages.
I got a OOPic II from a friend who never used it.

The PC is running Windows XP SP2.
The OOPic multi-language compliler is version 5.0.1.
The OOPic II is version B.1.0.
The load appears to complete correctly with the following message:
Successfully Downloaded and verified 49 bytes to EEPROM
The LED never lites up.

The 220k-Ohm resistor was rewired in the opposite direction. No lite.
A different LED and with a built-in resistor were used. No lite.
The LED/resistor were tested on a 9v battery successfully.
The LED/resistor were tested on a 3v battery successfully.
The LED/resistor were plugged into line2 GND and line4 5V
successfully.
The program IOLine was changed, LED/res plugged into the new
pin,program reloaded. No lite.
The I/O pin #s were recounted several times and alternates tried. No
lite.

Disconnected PRG line and attempted to load progam. This fails as it
should.
Added second Dim line and loaded. The byte count is correct as it
should be.
The program was was deleted and retyped. No lite.
The program is as follows.

Dim RedLED as New oDio1

Sub Main()
RedLED.IOLine = 31
RedLED.Direction = cvOutput
Do
RedLED.Value = OOPic.Hz1
Loop
End Sub
If you have any suggestions please let me!

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



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


Re: NO RESPONSE FROM FIRST OOPIC APPLICATION - Ian Drennan - Aug 25 13:45:30 2008

rjb_fish wrote:
> NO RESPONSE FROM FIRST OOPIC APPLICATION
>
> I have never programmed a microcontroller before.
> I have experience programming computer languages.
> I got a OOPic II from a friend who never used it.
>
> The PC is running Windows XP SP2.
> The OOPic multi-language compliler is version 5.0.1.
> The OOPic II is version B.1.0.
> The load appears to complete correctly with the following message:
> Successfully Downloaded and verified 49 bytes to EEPROM
> The LED never lites up.
>
> The 220k-Ohm resistor was rewired in the opposite direction. No lite.
> A different LED and with a built-in resistor were used. No lite.
> The LED/resistor were tested on a 9v battery successfully.
> The LED/resistor were tested on a 3v battery successfully.
> The LED/resistor were plugged into line2 GND and line4 5V
> successfully.
> The program IOLine was changed, LED/res plugged into the new
> pin,program reloaded. No lite.
> The I/O pin #s were recounted several times and alternates tried. No
> lite.
>
> Disconnected PRG line and attempted to load progam. This fails as it
> should.
> Added second Dim line and loaded. The byte count is correct as it
> should be.
> The program was was deleted and retyped. No lite.
> The program is as follows.
>
> Dim RedLED as New oDio1
>
> Sub Main()
> RedLED.IOLine = 31
> RedLED.Direction = cvOutput
> Do
> RedLED.Value = OOPic.Hz1
> Loop
> End Sub
> If you have any suggestions please let me!
>
>
Your program is good and works ok on my Oopic 11+

Check that you are connected to ioline31 and not pin 31. Ioline 31 is on
pin 26 of the 40 pin Connector

Ian

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



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

Re: NO RESPONSE FROM FIRST OOPIC APPLICATION - "...@ - Aug 25 20:43:14 2008

A couple of thoughts, maybe real obvious, no offense.

1. Some OOPics require the programming connector to be disconnect, and maybe aeven a rest pushed to run the program. Something to do with capacitance on the cable on parallel ports, IIRC.

2. The LED may be backwards, typically, the longer leg is goes to the positive, and the shorter leg toward ground, check out http://en.wikipedia.org/wiki/LED for some close ups.

Should look sometihng like this. Pin--Long lead--(O)--short lead--resistor --- GND

Hope this helps.

-Will

----- Original Message -----
From: rjb_fish
To: o...@yahoogroups.com
Sent: Monday, August 25, 2008 8:14 AM
Subject: [oopic] NO RESPONSE FROM FIRST OOPIC APPLICATION

NO RESPONSE FROM FIRST OOPIC APPLICATION

I have never programmed a microcontroller before.
I have experience programming computer languages.
I got a OOPic II from a friend who never used it.

The PC is running Windows XP SP2.
The OOPic multi-language compliler is version 5.0.1.
The OOPic II is version B.1.0.
The load appears to complete correctly with the following message:
Successfully Downloaded and verified 49 bytes to EEPROM
The LED never lites up.

The 220k-Ohm resistor was rewired in the opposite direction. No lite.
A different LED and with a built-in resistor were used. No lite.
The LED/resistor were tested on a 9v battery successfully.
The LED/resistor were tested on a 3v battery successfully.
The LED/resistor were plugged into line2 GND and line4 5V
successfully.
The program IOLine was changed, LED/res plugged into the new
pin,program reloaded. No lite.
The I/O pin #s were recounted several times and alternates tried. No
lite.

Disconnected PRG line and attempted to load progam. This fails as it
should.
Added second Dim line and loaded. The byte count is correct as it
should be.
The program was was deleted and retyped. No lite.
The program is as follows.

Dim RedLED as New oDio1

Sub Main()
RedLED.IOLine = 31
RedLED.Direction = cvOutput
Do
RedLED.Value = OOPic.Hz1
Loop
End Sub

If you have any suggestions please let me!

[Non-text portions of this message have been removed]
------------------------------------



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