Announcement

Collapse
No announcement yet.

Help 18f26k22 and icd no work

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

  • #31
    Hello

    OK thank you for your time.

    If I get you informed.

    Comment


    • #32
      Richard, What's unreliable? The ICD or the Boot Loader? I have used the MCLoader ever since MicroEngineering stopped supporting there's. I have never had a problem with it. 100% every time...
      Dave Purola,
      N8NTA
      EN82fn

      Comment


      • #33
        Solved

        All it is working.

        The boot loader, icd and serial communication. okay

        I almost gave up, but has failed me.

        The solution:

        When you change your micro is usually small changes but when you go from the 16 to the 18 series changes are greater.
        These micros have many more features more than 16 series.

        The problem was communication settings for this micro you have to define it well if it does not work.

        for example:

        communication with an external 20MHz oscillator

        DEFINE HSER_RCSTA 90h 'Enable serial port & continuous receive
        DEFINE HSER_TXSTA 20h 'Enable transmit, BRGH = 0
        DEFINE HSER_CLROERR 1 'Clear overflow Automatically
        DEFINE HSER_SPBRG 259 '19200 Baud @ SPBRGH = 0
        BAUDCON.3 = 1 'Enable 16-bit baudrate generator

        !! It does not work well.


        But also it works well: :-)

        DEFINE HSER_RCSTA 90h 'Enable serial port & continuous receive
        DEFINE HSER_TXSTA 20h 'Enable transmit, BRGH = 0
        DEFINE HSER_CLROERR 1 'Clear overflow Automatically
        DEFINE HSER_SPBRG 259 '19200 Baud @ SPBRGH = 0
        TXSTA1.2 = 1
        BAUDCON1.3 = 1

        The boot loader worked for me, but not because icd communication misconfigured being sent to the pc characters are illegible.

        For this micro must pay attention to set up the communication form
        18_ICD_PBPX correct in the file regarding .bas including ports hSer Number 1 or Number 2.

        Well, that's all.
        Thank you for your assistance and time spent.

        a greeting
        Fran

        Comment


        • #34
          Glad you got it working Fran..
          Dave Purola,
          N8NTA
          EN82fn

          Comment


          • #35
            Richard, What's unreliable? The ICD or the Boot Loader? I have used the MCLoader ever since MicroEngineering stopped supporting there's. I have never had a problem with it. 100% every time...
            both
            icd for me now works for a couple of minutes then stalls, after stoping and rerunning icd then works for another couple of minutes .
            its probably my pc , i was just having another look at icd since the upgrade to win10 with w7 it was totally hopeless . I live in hope

            MCLoader is fine for some chips but 16f1825 is totally eluding me

            Comment


            • #36
              Hello

              That's no problem icd.

              Unless in your program, modify the configuration of the USART port or write on pins communication.

              Regards

              Fran

              Comment


              • #37
                Hi Guys,

                I've tried to follow this thread and get a final working UMCloader.exe config files. .ini and .asm .. But nothing is working for me.

                Is there anyway one of you can post or attach both files that are tested to UMCBootload for the 18f26k22 chip? Any oscillator, my board has 20mhz resonator.

                I'm pulling my hair out here. lol

                Thanks,

                Tony

                Comment

                Working...
                X