Announcement

Collapse
No announcement yet.

Code programing Error al 0000 with dsPIC 33FJ64MC506 and Melabs U2 usb Programer

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

  • Code programing Error al 0000 with dsPIC 33FJ64MC506 and Melabs U2 usb Programer

    Hi
    I have an Melabs U2 USB programer, with the last beta version software.
    I work with dsPIC 33FJ64MC506
    I have the problem with a new chip, but with another old chips the
    programer works ok.
    The programer works programing the only the confiuration bits.
    I test the problem programing individually code and configuration bits but have the same error code.
    I think that the software don´t erase the chip find.
    Please help me with a solution.
    Thanks Very much

  • #2
    Hi cvlaso,

    Are you programming In-Circuit or in an melabs programming adapter?
    What voltage is it powered with? (VDD)

    Do you get a Device ID from it? (Program > Get Target Information)

    Have you tried the Low Voltage Erase option? (Options > More Options > Low Voltage Erase)

    I have the problem with a new chip, but with another old chips the
    programer works ok.
    Are the "New" and "Old" chips the same part number?

    You might try ... Options > More Options > Set Options to Defaults.

    I don't have one here to test right now, but we ordered some samples today from Microchip.
    It may take a week to get them though.
    PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
    Never download a PIC datasheet from anywhere but microchip.com

    Comment


    • #3
      reply Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

      Hi Darrel, thanks for your answer

      Here my answers

      Are you programming In-Circuit or in an melabs programming adapter?
      What voltage is it powered with? (VDD)
      Answer>>> 3,38 volts

      Do you get a Device ID from it? (Program > Get Target Information)
      Answer>>> Yes as you see in the Image_Problem_1 file

      Have you tried the Low Voltage Erase option? (Options > More Options > Low Voltage Erase)
      Answer>> Yes

      I have the problem with a new chip, but with another old chips the
      programer works ok.
      Are the "New" and "Old" chips the same part number?
      Answer>>>> Yes, I bought 50 units last year from Digikey, all of them are from the same film package.


      You might try ... Options > More Options > Set Options to Defaults.
      Yes but I have the same error

      I don't have one here to test right now, but we ordered some samples today from Microchip.
      It may take a week to get them though.
      Ok, thanks veryu much

      Another questions

      I get the target as tou see in Image4

      As you see on Image_3 file the program erase the Code ok, but I don´t know why the program doesn´t erase the Configuration as you see in Image-2

      I obtain another 2 errors as you see in image_5 and 6

      Thanks very much again
      Cristian

      Comment


      • #4
        I don't see the images you are mentioning.
        Did you post them somewhere?
        PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
        Never download a PIC datasheet from anywhere but microchip.com

        Comment


        • #5
          reply1 Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

          Darrel

          I attach the images
          Thanks

          Comment


          • #6
            reply2 Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

            Click image for larger version

Name:	IMAGE_PROBLEM_1.jpg
Views:	1
Size:	19.6 KB
ID:	5187Click image for larger version

Name:	IMAGE_PROBLEM_2.jpg
Views:	1
Size:	19.1 KB
ID:	5188Click image for larger version

Name:	IMAGE_PROBLEM_6.jpg
Views:	1
Size:	19.5 KB
ID:	5189Click image for larger version

Name:	IMAGE_PROBLEM_4.jpg
Views:	1
Size:	19.8 KB
ID:	5190Click image for larger version

Name:	IMAGE_PROBLEM_5.jpg
Views:	1
Size:	19.7 KB
ID:	5191

            Darrel

            I attach the images
            Thanks

            Comment


            • #7
              reply3 Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

              Darrel

              I attach the image number 3Click image for larger version

Name:	IMAGE_PROBLEM_3.jpg
Views:	1
Size:	19.7 KB
ID:	5192
              Thanks

              Comment


              • #8
                Thanks for the images!

                Could you please verify the part number printed on the chip.
                Does it have an "A" at the end? ... dsPIC33FJ64MC506A

                Try changing these two options in the configuration window.
                • Watchdog Timer : Enabled/Disabled by Software
                • JTAG : Disabled
                PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
                Never download a PIC datasheet from anywhere but microchip.com

                Comment


                • #9
                  reply4 Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

                  Click image for larger version

Name:	dspic.jpg
Views:	1
Size:	19.7 KB
ID:	5193
                  Originally posted by Darrel Taylor View Post
                  Thanks for the images!

                  Could you please verify the part number printed on the chip.
                  Does it have an "A" at the end? ... dsPIC33FJ64MC506A

                  Try changing these two options in the configuration window.
                  • Watchdog Timer : Enabled/Disabled by Software
                  • JTAG : Disabled
                  ///////////////////////////

                  I will try your coments and anwer you
                  This is a picture of the chip which I am using
                  Thanks

                  Comment


                  • #10
                    I received the dsPIC's today.
                    All I was able to get were the "A" version.
                    So far, I've not had any problems programming them.

                    Can you check the silicon revision on your parts.
                    Do a Read on them, then go to the View > Memory > Device ID tab.
                    The silicon rev is the second word shown. 0089 is the Device ID.

                    Did you change the config bits I suggested before?

                    Can you send your .HEX file?
                    PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
                    Never download a PIC datasheet from anywhere but microchip.com

                    Comment


                    • #11
                      reply5 Code programing Error 0000 with dsPIC 33FJMC506 and MELABS U2 USB Programer

                      Dear Darrel

                      Last week I was working with two equal pcb´s boards with the same chip.
                      After I didn´t have good results with the first pcb , I build and try to program the second pcb. The second pcb and chip accept in the first time the program without any problem and errors. Then I continue working with the second board because I need to finish my proyect.
                      Anyway I will test the first pcb and chip in the next days, because I need to know wich was the problem with it. I think that the problem was in the core cap or in the vdd line.
                      Anyway now is late, but I will send you tomorow my program and the hex file. I program all my proyects in assembler, because is more easy for me. I´m 51, and when I start the programing assembler was the best.

                      You answers

                      I didn´t changed the config bits.
                      Thanks very much










                      Originally posted by Darrel Taylor View Post
                      I received the dsPIC's today.
                      All I was able to get were the "A" version.
                      So far, I've not had any problems programming them.

                      Can you check the silicon revision on your parts.
                      Do a Read on them, then go to the View > Memory > Device ID tab.
                      The silicon rev is the second word shown. 0089 is the Device ID.

                      Did you change the config bits I suggested before?

                      Can you send your .HEX file?

                      Comment

                      Working...
                      X