Micro Code Studio and Studio Plus


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: Micro Code Studio and Studio Plus

    Hi Richard,

    A little bit frustrating !

    I was not enthusiast about making a double connection from the PC to my prototype but if it does not work correctly I think I am going to choose the MPLAB X solution, despite its complexity.

    Thank you for your advice
    MikeBZH

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Micro Code Studio and Studio Plus

    You have to realise that the "debugging" provided in MCSP is a software/firmware solution.
    Between each of your PBP statements the debugger inserts code of its own to talk to the software running on the PC, it uses the (E)USART to do this. This works fine for some things, not at all for other things since it A) steals execution time away from YOUR code and B) takes up space in program memory (and probably some RAM) which you may or may not have to spare. Apart from trying it once I've never used it.

    If the only "problem" for you is the double connection (programmer AND serial cable) to the PIC you could consider using a bootloader over the same serial line as the debugger.

    Real source level debugging, at the hardware level, has very little impact on the execution and footprint of your actual code and uses the device programmer/debugger (and not a UART connection) but unfortunately MCSP does not support that and you have to resort to MPLAB / MPLABX where it IMHO is just BARELY usable. I've tried it and given up - multiple times - despite written instructions and videos. It seems MPLABX moves too fast for PBP to keep up (not surprising), I mean it IS possible to compile code but the language plugin (syntax highlighter and code folding) doesn't work, used RAM display doesn't work, you can't monitor anyting but BYTE size variables without running thru hoops and last time I tried it I couldn't even set a breakpoint in the code. That doesn't mean you can't - just that I wasn't capable of doing it.

Similar Threads

  1. Micro Code Studio Crashing
    By timmers in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 20th May 2017, 21:54
  2. MPLAB or Micro Code Studio
    By Aussie Barry in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 6th June 2011, 03:51
  3. Micro Code Studio Plus manual
    By marad73 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th June 2006, 21:25
  4. Micro code studio free?
    By Michael in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 17th February 2006, 21:45
  5. micro code studio plus asm error
    By cesurcelik in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th December 2005, 14:14

Members who have read this thread : 1

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