PicBasicPro+MicroCode studio plus and ICD debugging


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by michel View Post
    Desktop image of MicroCode ERROR
    Looks to me like the fix for your problem is right there in the error message...

  2. #2
    Join Date
    May 2008
    Posts
    19


    Did you find this post helpful? Yes | No

    Unhappy I did try It!

    Bruce told me that I don't need DEFINE LOADER_USED 1. I have tried it with it an doesn't work.

    Is the led supposse to blink when programmed with ICD complile and program?

    Tanks again...

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Bruce told me that I don't need DEFINE LOADER_USED 1. I have tried it with it an doesn't work.
    DEFINE LOADER_USED 1 is only needed when using a boot-loader.

    Is the led supposse to blink when programmed with ICD complile and program?
    No. It should only blink when you are running ICD.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    May 2008
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Breadboard is working

    Hi Bruce!

    I finally got it.....on the breadboard....it's a beginning

    What was wrong:

    On the shematic from Microcode studio plus, took off the link from (db9, pin4) to (max232, pin 8); (max232, pin 9) to resistor 100 Ohms.

    Here is the code:

    DEFINE OSC 4
    trisA.0 = 0


    x var byte
    led var porta.0

    ENABLE DEBUG

    loop:
    x=1 ' Turn on LED connected to PORTA.0
    led=x
    Pause 500 ' Delay for .5 seconds

    x=0 ' Turn on LED connected to PORTA.0
    led=x ' Turn off LED connected to PORTA.0
    Pause 500 ' Delay for .5 seconds

    Goto loop ' Go back to loop and blink LED forever

    DISABLE DEBUG

    End

    NOW I HAVE TO FIGURE OUT THE PCB....

    The 628 transmit only 20 seconds after the power is turned on....
    Attached here is the pcb layout....

    Tanks again Bruce!
    Attached Images Attached Images  

  5. #5
    Join Date
    May 2008
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Welded PCB

    Hi!

    From my pCb attach to the post above....can't find anthing wrong.

    But I get some small voltage on pins than are suppose to be zero...like 0.2 and .3 V...

    And TX doesn't transmit....

    Question: Could it be from melted welding paste left on the board...it's so tight in between pins and nets. Does current goes throught that paste. Don't get reading from Ohmeter.

    Tank you...

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts