PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    MPLAB should work with any PIC. What is it not doing?

    Assembly???
    Hang out here
    http://www.piclist.com/techref/piclist/index.htm
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default It did not like the ASM code

    I gave MPLAB IDE some .asm code created by MicroCode Studio. It claimed too many errors. That was many months ago. I'll try again.

    Ken

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    In the Project drop down from the tool bar - select language toolsuit, select:
    Microchip MPASM Toolsuite

    That should then compile ASM generated by PBP.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Yes, but....

    That's the way I have been compiling.

    When I cut and paste a .asm that was created by the compiler into the MPLAB IDE application window it refused to assemble. I think there are some idiosyncrasies that I need to learn.

    Ken

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Maybe the wrong PIC was selected?
    Toolbar-Configure-Select device
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default PICKIT 2 Programmer Application??

    I've built my first solderless proto using a 40 pin 16F887.

    As far as I can tell I have duplicated the actions that up until now have worked. The PICKIT 2 Programmer "Check communication" says "PICKIT 2 found and connected" "PIC device found"

    However when I click the Write button using the 40 pin PIC, the PICKIT 2 Programmer application says "Programming failed at program memory address LOCATION 0x000002"

    Any ideas?

    Ken

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Some possible causes. Maybe...
    Are both VDDs and VSSs connected?
    Do you have capacitors across both VDDS and VSSs?
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Smile It's working

    No sure what was wrong. Maybe a solderless connection was not tight.

    Got a couple warning windows about voltage must be 4.5v.
    Strange since the power is coming from my PC via the USB port. Then that went away. Got a couple of red "Code Protect" statements. Had to restart the application to get ride of them.

    Twice in a row it loaded my .hex file successfully. Good!! Now to adding sonars, SN7404 and the DPDT relay.

    Thanks for the support. It really helps!

    Ken

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 11:26
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 16:24

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