Announcement

Collapse
No announcement yet.

PIC16F84A-PLEASE HELP ME

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PIC16F84A-PLEASE HELP ME

    My firs programing was the pic16f84a and I have some erors during programing
    I have made clock with single 7 segmen displey but in programing I have erors, I have JDM programmer and winpic800 software during program j read erors,here is picture with this erors
    my next qwestion is how meny times can j erase and program the pic16f84a
    Sorry for my bed english
    Please help me
    best regards too all
    Attached Files

  • #2
    Originally posted by macobt View Post
    My firs programing was the pic16f84a and I have some erors during programing
    I have made clock with single 7 segmen displey but in programing I have erors, I have JDM programmer and winpic800 software during program j read erors,here is picture with this erors
    my next qwestion is how meny times can j erase and program the pic16f84a
    Sorry for my bed english
    Please help me
    best regards too all
    Hi,
    I'm not sure it's your case, I think you're running the software on win XP , right ? If so... I remember that if you run similar programming software on windows XP you'll be on troubles cause of the limited access you have at output ports in the XP scenario.

    I remember that many of these programs need external (tiny) software to deal with ports in XP.

    Some programming softwares detect at installation if you're running from XP and advise you by default to install a particular port access software to solve the issue. But not all of them.

    An example of what you may need...is about PortTalk... you may need software like this installed too.

    Kind regards,
    Max

    Comment


    • #3
      use IC-prog and driver for XP.

      Comment


      • #4
        heloo max
        I have XP and with two softwares I try to program the pic,and in two softwares I read some erors.
        What is your sugestion to do,which software can I install
        here is my pictures with new erors
        And how can I check my pic16f84a that is ok(not burned)
        best regards marjan

        Comment


        • #5
          here is pictures with my erors
          Attached Files

          Comment


          • #6
            Originally posted by macobt View Post
            here is pictures with my erors
            Hi,
            the warning is about the file... you can ignore it.

            The error is about verify and shows everytime what you read back from chip's memory is different from what expected (the binary content of the intel HEX file shown in the center).

            Now, it's really frequent you read such errors when programming hardware doesn't work properly or the software can't use properly the pc hardware like e.g. a serial port.

            You must switch to another programming software (like icprog you already use, with his .sys file in the appropriate system directory... where dlls are located too to make it easy - it's like this: c:\windows\system32\icprog.sys where "c" is your actual system drive letter...) or add appropriate driver/layer to enable port access I/O.

            PS: sometimes the error is not due to software or port access... could be programmer+port_hardware that fails.

            Some ports doesn't provide e.g. enough current or appropriate levels for JDM programmer and similar stuff, expecially when they are homemade stuff.
            Sometimes instead you have speed problems related to port software and so could need setting lowest speed (e.g. 19200 or even less) : that's expecially true for old PCs and homemade programmers and could relate also to cable lenght: more the cable more the noise that will pick-up and mix with useful signals... so at higher transfer rate this will give more troubles.

            Kind regards,
            Max

            Comment


            • #7
              thanks max for answer and J am gona set the sofware
              and my other qwestions is how can I check my pic16f84a that is ok(not burned)

              regards maco

              Comment


              • #8
                Originally posted by macobt View Post
                thanks max for answer and J am gona set the sofware
                and my other qwestions is how can I check my pic16f84a that is ok(not burned)

                regards maco
                Hi,
                it's not easy test.

                The usual test one can make to see if the MCU is OK (at least if seems ok) is about loading a simple program that flashes leds on outputs... but that way you can only see if outputs seems to work.

                You put 1 led at each output with a limiting resistor (e.g. 330ohm).

                This was also David Tait's strategy in one earlier programmer to check if device was programmed or not.

                That is, anyway, not a 100% integrity test.

                Kind regards,
                Max

                Comment


                • #9
                  I have often got the "verify test failed" message but the pic was programmed OK. Just try it...

                  Comment


                  • #10
                    I have made a another hardwere progrmer and same erors
                    max I dont anderstend the (c:\windows\system32\icprog.sys) what I have to do
                    And this time I try it with 3 difrent softwares,same **** erors
                    here is picture of ICPROG,hardware settings,and when I chose hex file I recive mesage(the file does not contain a device ID value) then I pres ok ,and read second mesage (privilegion instruction) and the final is software icprog is frozen,blocked
                    here is the pictures
                    regards maco
                    Attached Files

                    Comment


                    • #11
                      Originally posted by macobt View Post
                      I have made a another hardwere progrmer and same erors
                      max I dont anderstend the (c:\windows\system32\icprog.sys) what I have to do
                      And this time I try it with 3 difrent softwares,same **** erors
                      here is picture of ICPROG,hardware settings,and when I chose hex file I recive mesage(the file does not contain a device ID value) then I pres ok ,and read second mesage (privilegion instruction) and the final is software icprog is frozen,blocked
                      here is the pictures
                      regards maco
                      Hi,
                      don't know, maybe it's a bug in that version of software.

                      The icprog.sys you must copy in that place (system32)

                      Kind regards,
                      Max

                      Comment


                      • #12
                        I have never used this particular software, but apparently there is a way to check that your programmer is working correctly, by selecting Settings > Hardware from the menu in IC-prog.

                        Comment


                        • #13
                          My freind told me that my pic16f84a is burned,now I am go to buy a new pic and I am trying again to prograam,do you have any sugestion before I try again.
                          regards to all

                          Comment


                          • #14
                            Hello,

                            A couple of things that might cause problems.

                            1 Is your chip PIC16F84 or PIC16F84A? The "A" makes a difference.

                            2 How are you configuring your programer? Are you programing the PIC in the code protection mode? This will lock the chip so you cannot read or write to it.

                            3 Very important and often over looked is the power supply for the programer. Does it have enough voltage (V> +14vdc) or noisey and unfiltered?

                            Good luck
                            Mark

                            Comment


                            • #15
                              hello mark
                              first thank you for your answers
                              I program the pic with programmer(here is picture)
                              And where is that protction mode,because every time when J like to program the pic,the first mesage is(the file does not contain a device ID value)and I have PIC16F84A,and program software is icprog,and I try with winpic800 and same erors and programing faild at 0000h that is the final mesage
                              I think that my pic is burned(not for sure)
                              regards to all
                              Attached Files

                              Comment

                              Working...