PBP,MicroCode ICD and EasyPIC4


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31

    Default PBP,MicroCode ICD and EasyPIC4

    Hello to all,

    I have the EasyPIC4 Development board and I have built quite a few projects on it with PBP2.47
    I also use MicroCODE studio Plus, and I have updated to the latest version 3.0.0.5
    I never used ICD and wanted to try, but for unknown reason the MicroCODE Studio ICD works quite erratically. You have to try and connect at least 10-15 times before
    it connects, then it hangs...

    For most projects I use a 16F877A or the 876A. To test it, I made a simple 2 LED blinky program to try.
    As the user manual states, it is important with the Defines for oscillator ...(I tried 4(XT) and also 20(HS))

    It sometimes connects and plays through the code sequence, but after 1min it freezes...

    So I tried the following...

    1)Buy shorter serial cable 1 metre
    2)Configure serial port from 19200 to 9600baud in Control Panel 8-N-1 (No flow control)
    3)I changed motherboard serial port COM1 to PCI serial port card COM3 and COM4 (I use it for my plotter)
    4)I checked all jumpers on my DEV board Serial is on RC7 (RX) and RC6 (TX)
    5)I read Mister_E comments on pressing the reset button on board before connecting.
    6)I also used TRISC to make input and output pins for serial...

    The COM ports all work well and are true RS232 levels...

    Hmmm, I am lost. Any suggestions?
    "Never under estimate the powers of an idiot"

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by exelanoz View Post
    ..

    Hmmm, I am lost. Any suggestions?


    Of course one !!!

    Did you contact Mikro Elektronica ???

    Their Forum : http://www.mikroe.com/forum/

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Feb 2006
    Location
    Australia, Gold Coast
    Posts
    31


    Did you find this post helpful? Yes | No

    Talking Hmmm.....still lost

    Quote Originally Posted by Acetronics View Post
    Of course one !!!

    Did you contact Mikro Elektronica ???

    Their Forum : http://www.mikroe.com/forum/

    Alain
    Bonjour Alain,

    Yes!!! I agree, good suggestion....but....mikroelektronica cannot help me with PBP and microcode studio....I just use their board. I don't have any mikroelektronika compilers...
    "Never under estimate the powers of an idiot"

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Question

    Hi,

    But ...

    I'm not sure the Easy Pic boards are "something else than MKB" compatible. Especially for ICD ...

    I think "DJ Kiwi" alias Mr E has used this board ... may be he knows much more about it than me !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As far as i'm aware of... the on-board ICD run only with their own Compiler and IDE.

    Maybe i missed something thought. If i find something i'll post it here.

    MicroCode ICD worked well for me... well for the really few times i used it. Did you tried to use ENABLE DEBUG and DISABLE DEBUG 'round the code section you want to debug?

    If you're using any Interrupts, the ICD may react weird indeed. Hence why i would suggest you to use ENABLE DEBUG and DISABLE DEBUG only around the code section you want to look at.

    As i said, i didn't use it really often.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    but... mmm did you also modified your board as i suggested (http://www.picbasic.co.uk/forum/show...9&postcount=21) ?

    Not sure if this could be one part of the problem...
    Last edited by mister_e; - 1st October 2007 at 23:47.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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