Back to the beginning


Closed Thread
Results 1 to 40 of 49

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: Back to the beginning

    Quote Originally Posted by AndyFreestone View Post
    Yet another hapless response - HOW.

    I am using MicroCodeSudio. It does not automatically launch IDE.
    All yours, Henrik. Have fun!!!
    Why pay for overpriced toys when you can have
    professional grade tools for FREE!!!

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


    Did you find this post helpful? Yes | No

    Default Re: Back to the beginning

    I am using MicroCodeSudio. It does not automatically launch IDE.
    Finally, we're getting somewhere..... First of all MicroCodeStudio IS the IDE.

    Select View->Compile and program options and make sure the correct path where PBP3 is installed is specified there. If not, click Find Automatically and let it search for it.

    Then Click the Compile in the toolbar. (The IDE (MicroCodeStudio) will now launch the compiler (PBP3) which will compile the program and the launch the assembler which will assemble the compiled program into a .hex file. That file will be in the same folder as you saved your source file/program. It's that .hex file you should program into the PIC.

    If you don't see the compile button click View->Toolbars and check and make sure that Compile and Program is enabled, the button should now appear.

    /Henrik.

    EDIT: I guess you've seen the install video that's on the MELABS site? If not, here it is.

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default Re: Back to the beginning

    Tell microcode studio where pbp compiler and mpasm resides.

    Type in your program, then click compile, then start whatever programming software came with your development board.

    That software will use the hex file from compile to program your pic.

    Robert

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Back to the beginning

    Well "Thank you Everyone". I know how frustrating it can be with newcomers. I've finally managed to get MikroBasic-Pro to generate a hex file and have managed to get my 18F45K22 to actually respond.

    I've got ONE HELLOVA way to go but I can now get started.

    I never managed to get PBP3 to generate code that the PIC would work with. I'd prefer to use PBP3 as its more like what I am used to. MikroBasic Pro is like learning Basic all over again.

    BUT, as they say, you can learn BASIC in ten minutes - MikroBasic-Pro might take a few days.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Back to the beginning

    In the UK 18F45K22 for less than £2.00 GBP. How do MicroChip make any money? 12F609's are less than 45p each.

    I've just bought a bunch of PICs all brand new from RS-Components.

    2 x 12F509
    2 x 10F200
    5 x 12F629
    5 x 16F684
    5 x 16F506
    2 x 16F722
    2 x 18F45K22

    Total cost incl P&P less than £14.
    Last edited by AndyFreestone; - 7th April 2013 at 18:57.

Similar Threads

  1. Beginning USB How to/Whats needed to use it.
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 11th April 2013, 21:11
  2. Missing chars at beginning of LCD display
    By jimbostlawrence in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 20th November 2009, 00:13
  3. 12F629 beginning
    By Davidpower in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 1st October 2007, 22:37
  4. Program returns to beginning at interupt
    By BGreen in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 25th April 2005, 11:20

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