PBP,MicroCode ICD and EasyPIC4


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    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 " !!!
    *****************************************

  2. #2
    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"

  3. #3
    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 " !!!
    *****************************************

  4. #4
    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.

  5. #5
    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.

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


    Did you find this post helpful? Yes | No

    Default

    Hello Hello Mister_E,

    Yes, I did read your post on that too, but no, I haven't modified the board yet, but I don't think that is the problem. It means I must press the RESET button before I used the ICD.

    I have some positive results this morning when I wake up...in WIN XP control panel | system | hardware | Com Ports, - I slowed down my COM1 to 4800bps baud (8-N-1) No flow control.

    Seems to connect everytime, but slow and *sometimes* freezes.
    I use a simple test program like:

    Code:
    DEFINE OSC 4
    
    Main:
    
    HIGH PORTB.0
    PAUSE 500
    LOW PORTB.0
    PAUSE 500
    HIGH PORTB.1
    PAUSE 500
    LOW PORTB.1
    PAUSE 500
    
    GOTO Main
    
    END
    Hihihihihi......I don't think I need to use the ENABLE DEBUG and DISABLE DEBUG for a simple program! :-)))))

    I will check the XTAL, I have some really cheap ones.

    Possibly my older DELL computer is dying and needs a really big hammer or drop it off a tall building :-)))

    I try some other things and then I give up...

    I don't really need ICD, but just wanted to try it.
    "Never under estimate the powers of an idiot"

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


    Did you find this post helpful? Yes | No

    Thumbs up Hooray!

    Hello Mister_E

    Many thanks for you reply....I lost much hair over this problem, but it is FIXED!

    I'm so stupid...

    Ok here goes...after getting a BIG BIG hammer ready for my computer...I try one more thing.

    My wall plug (errr....americans call it wall wart?) you know what I am talking about, - so it was a switchmode 2A 12V. I put it on my scope and it was really noisy, the crystal was also drifiting quite a bit.
    Soo.......I replaced the plug pack with a nice linear 500mA 12V and replaced the crystal with a nice stable 4Mhz and then viola...it works...ICD on serial port and MicroCode is super happy and back to 2m Serial Cable!

    Hmmm...I had some 'other' hair loosing problems on my board before. Somehow I think it was caused by the switchmode supply. No more switchmode for me...:-)

    I am surprised the PIC still runs really well, even with a switchmode, but looks like other stuff don't like it.
    "Never under estimate the powers of an idiot"

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