Hi everyone.
I am just about to do a favour for a friend, which involves a small programming job on a 12F508.
Trouble is, I havent done anything in this field for 4 years or so. Consequently it...
Type: Posts; User: muddy0409; Keyword(s):
Hi everyone.
I am just about to do a favour for a friend, which involves a small programming job on a 12F508.
Trouble is, I havent done anything in this field for 4 years or so. Consequently it...
Your schematic also is not showing a connection between the programmer and negative power (Vss)
I imagine that should be the spare terminal on the program connector?
Which programmer are you using?
Um........That wouldn't blink the led (which is on PB0?) it would just turn it on permanently.
Your main should be something like...
main:
portb.0 = 1
pause 100
portb.0 = 0
pause 100
goto...
Well, always nice for there to be a simple explanation.
I will file that one away for future reference.
Far from being an expert in this stuff, the same thing happened to me a while ago.
The solution was the .HEX file saved to a different location (somehow) than normal, so the programmer couldn't find...
I have used the following on a few occasions quite successfully:
Lets say the switch is on portc.3
SW VAR PORTC.3
WHILE SW = 0 : WEND 'THIS WILL CONTINUALLY LOOP AS LONG...
I think I will leave well enough alone.
Thanks Alain.
Boy o boy.
I finally decided to do something that someone agrees with.
Yep, I will leave well enough alone. I only use the smaller 16F and some 16C chips that all appear to be supported.
Thank you...
Did have 2 versions of MPLAB.exe, 5.49 installed feb 2013 and 5.03 inst mar 2006
deleted the early one and reran the mplab setup then checked the close thing in PBP3 assembler edit.
ALL NOW...
There is no PBP3\MPASM-MPLAB_Setup anywhere.
PBP_MPASM_Connector.exe is in MPASM_suite.
Ran that with no difference in the outcome.
Dammit, I just will put up with the extra mouse-click...
Hmmmm...curiouser & curiouser.
The desktop (XP pro) has the same version of MPASM, installed in 2013.
PBP3 was installed 2 weeks ago.
The programmer does what I want on the PC.
The laptop ...
5.49
Didn't the MPASM suite come with the PBP3 download, only 3 weeks ago? That should have been the latest then?
I does say for win 9x, I want to keep the same version on my Win7/64 laptop and...
I have tried that. It comes up with
Error in parameter "/s".
Dunno what that means.
All seems to be working OK.
Just one more question:
In my old MCS 2.60 when selecting COMPILE PROGRAM the programmer (MELABS usb model) loads up all ready to PROGRAM VERIFY from the programmer...
Admittedly the price may be a worry, but as far as I am concerned, $80 for the programmer is much better than $hundreds of pulling your hair out.
All mine went years ago, so I figure I am in front.
Umm, no, you only have to alter the dropdown contents if you need to change anything.
Before the programming starts, the existing config is read and doesn't change unless you tell it to. So makes...
I know there are heaps of different GLCD controller types around, but surely the gurus at MELabs could toss a coin and pick one that they consider to be the most popular (KS0108?) and do some GLCDOUT...
I have a reasonably easy answer to the configuration method:
Since all of my code is for inhouse use, ie for things I build for my own, or close contacts, I feel I don't really need to go through...
Hic!
Oh, 'scuse me.
Did an uninstall and reinstall.
all now fine.
musta been a hiccup somewhere.
thanks all.
undoubtedly more questions to come...be patient.
What? I gotta go through that every time I get up from the lounge laptop to go out to the workshop PC, and then again when I come back?
Since I last posted I tried installing on my workshop PC. (XP Pro)
Installed OK, but when started it asked for the activation stuff, (the same as happened on the laptop) when entered it came up with...
According to what I can find on the subject, the licence for silver allows 3 computers. It also says something about uninstalling and re-locating to the other computers. Are they serious?
So If I...
ok, A little bit of jiggery pokery looks like its going.
Thanks.
Am now printing on a LCD
ok, looks like I gotta use MPASMWIN, so I unchecked the USE MPASMX in the assembler selection.
MPASMWIN should now be my assembler, so will give it a try.