Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC16F877A Trigging problem...

Status
Not open for further replies.
I did solve this problem before some time by disable the LVP(Low Voltage Programming usually need for Boot loader), So please make sure your configuration word is set for HV programming (high voltage programming)
 
sure i'll try that too..I like the latest mikroC not the Version 8.1

The difference between the version is that In trial version you cannot configure all the configuration bits as those are available only in registered version. But in order to overcome this problem, you can download the patch version of latest MickroC compiler. I am trying to get this, hope so will be available to me till Monday.

An alternate method is that you have to write a long code in order to configure the bits manually, I don't know the exact syntax of the configuration bit, perhaps the follow may work
i.e
config bit _watchdog$off _LVP$off _HS$on

First method has greater chances to work properly. I have tested it also on 8051.

Regards,
Imtisal
 
The difference between the version is that In trial version you cannot configure all the configuration bits as those are available only in registered version.

Are you sure? As far as I know, the configuration settings are same for demo and full versions. The only difference between demo and full versions is that the demo version is limited to 2k program memory.
 

Yes, I am sure.
In addition to this you can write limited lines of code in demo version.
I tested in hardware. This is only for MikroC.
But when I and my friend try MpLab [in demo version] , it just work fine.

- - - Updated - - -

Some, not all, newer version of mikroC makes problem. But it is suggested to use older version to get exact output in real time.

- - - Updated - - -

Same problem I was facing when I start using Ubuntu 11.0 version. I was unable to install the compiler for a microcontroller. But it work fine with older version of Ubuntu 8.0.
 
I think you're mistaken. Download the mikroC PRO for PIC demo version from here: https://www.mikroe.com/mikroc/pic/
Direct download link: **broken link removed**

Install it. Open it. Create a new project. Then go to the menu bar, click on Project > Edit Project (or press Ctrl + Shift +E). You can see ALL the configuration settings there.

And, the number of lines isn't limited. It's the code size that's limited - limited to 2k program words.

You must also realize that the problem in Ubuntu may not really be because of mikroC at all, but due to Ubuntu and the "emulator" you use. mikroC isn't meant to be run on Ubuntu. Did you run it using WINE?
 

Obviously, Exe file won't dun in UBUNTU till you run it with the help of WINE software.
But anyways, I try it using different compiler. I manage to get full version somewhere and my problem solved.

Thanks :)

Stay Blessed

- - - Updated - - -

Obviously, Exe file won't dun in UBUNTU till you run it with the help of WINE software.
But anyways, I try it using different compiler. I manage to get full version somewhere and my problem solved.

Thanks :)

Stay Blessed
 

problem solved, what i did was press this "read config" button when the programmer had done programming and it worked :D Untitled.png

thank you All for your help :)
 

I think using 10 leds with 220R is not a good idea, the pic has a maximum limit of ampere to taken out.

maximum current.JPG
 

The current that you can draw a microcontroller is limited, For 16f877a as I remember 225mA (total dranw current) using 1k omh will be enough to drive the leds. and low current will be dranwn more stable circuit
 
Also remember that as you start drawing more current, the voltage starts dropping. When you draw more than 15mA, you may notice the output voltage drop to three point something volts.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top