PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    I received two 32bit Whackers today.
    Can I attach them to my PICkit 2 Programmer?
    Yes, jumper J5 will accept your PicKit2, so you can program the device. You should only have to do this about once. All other upgrades of firmware can be handled though the StickOS, using the USB cable.

    Will the following get me started?

    http://www.schmalzhaus.com/UBW32/
    I hadn't noticed before, but it looks like it is preloaded with some other "language". I think you are better off with StickOS though. So I would dowload it from here: http://www.cpustick.com/downloads/St...v1.80c.elf.hex and load it into the UBW32 with your PicKit2.

    And follow the StickOS documentation, located here: http://www.cpustick.com/downloads/stickos.v1.80.2p.pdf

    All above located on this site: http://www.cpustick.com/downloads.htm
    Last edited by ScaleRobotics; - 12th October 2010 at 08:23.
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

    Thumbs down Help

    scalerobotics, I thought that you suggested that J5 will work with the PICKIT USB connector.

    I can not find J5 on the board. I can find J6 but not J5. I downloaded the .pdf file which is a picture of the board. It is sooo messy that I can not find J5 on it either.

    HELP.....

    KEn
    Last edited by Kenjones1935; - 12th October 2010 at 21:54. Reason: TYPO

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


    Did you find this post helpful? Yes | No

    Default I found it

    J5 is the tail end of the board...

    Hmmm.

    KEn

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


    Did you find this post helpful? Yes | No

    Default Now what??

    My PICkit2 Programmer makes the blue LED glow. When I ask for a READ it presents me with a GUI that claims voltage error and the LED goes out.

    Is there a similar document to the MICROCHIP explanation of the PICkit 2 hardware?

    The documentation for this PIC32 chip is 631 pages. That is more than the 500 pages of documentation referenced by the young guy in the video.

    What now, coaches?

    Ken

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


    Did you find this post helpful? Yes | No

    Unhappy Are you all referring to the PICkit2 hardware only?

    The six pin USB connector that I am using is called a PICkit2.

    Are you all saying that you use that connector, but then use MPLAB IDE programmer for to talk to the PIC32 Whacker? I assumed you were using the PICkit2 Programmer.

    Confusion reigns.

    Ken

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


    Did you find this post helpful? Yes | No

    Default Not so confused now.....

    I rediscovered in PICkit2 Programmer the DEVICE FAMILY pull down. There is an entry for the PIC32MX460. I selected that. Low and behold....

    Ain't life grande.
    Ken

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


    Did you find this post helpful? Yes | No

    Default What do I download??

    CPUStick Basic sounds good. Let me guess at what I must do to get it.

    1. Establish the connection between my PICkit2 Programmer and my new PIC32 Whacker.
    2. Download from http://www.cpustick.com/downloads.htm one of the StickOS HEX images. Which image is the correct one for my PIC32?
    3. Load this .hex image into my Whacker board FLASH using the PICkitr2 programmer.

    My observation (from a READ command) is that the 512K of FLASH is blank. This surprised me because I thought the PIC32 Whacker came with embedded software.

    Am I guessing correctly?

    Ken

  8. #8
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    Low and behold....
    Ain't life grande.
    Hey Ken,

    Sorry I couldn't answer earlier. Are you all sorted out, or are there still questions? I think you may have answered yourself on all the above. But just in case:

    Since I pointed you to a hex file, you will not need anything except your PicKit2 to load it into your UBW32. Sounds like you found the J5. Really I don't know where it is either, I just saw it clear as day on the schematic. You would think it might be labeled. I have played a bit with the CUI32, but not the UBW32. The CUI32 is very clearly marked for each pin. Sounds like that may not be the case with the UBW32.

    Too bad it is not silk screened. That would have been helpful. I assume you are looking at this. Which could be a lot clearer. http://www.sparkfun.com/datasheets/D...MX460_v262.pdf

    Are you able to upload the .hex firmware into the device with the Pickit2?
    http://www.scalerobotics.com

  9. #9
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Ken, I am sorry. I gave you the wrong firmware file. That one was meant for a UBW32 with HID Bootloader which apparently came with the UBw32 before we wrote over it.

    Soooooooooo

    Here is what I can only believe to be the right file. If this does not work, we will have to ask for higher help.

    I wish I had the same hardware here, and would not have led you astray.

    Here is the file:
    Attached Files Attached Files
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

    Default I have a second PICWhacker

    In the world of Hi-Tech I always purchase a second one - just in case.

    If I were to switch, what do you suggest be my actions?

    Ken

  11. #11
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    In the world of Hi-Tech I always purchase a second one - just in case.

    If I were to switch, what do you suggest be my actions?

    Ken
    That's right, I sort of forgot about the second one...
    But it does not sound like you tried the firmware I just sent you. As one last try, I would have you stick with the one were working on, and try the firmware I just sent in the previous reply.

    But your right, if that does not work:
    Switch to the untouched one. Download the microchip driver here: http://www.sparkfun.com/datasheets/D...C/UBW32inf.zip and install it into your PC. And only plug the usb cable into it. See if you get a "new hardware detected" message.

    Run the HID Bootloader executable from microchip http://www.cpustick.com/downloads/HIDBootLoader.exe , and see if it can find your UBW32. Then select the first firmware I sent you. This one: StickOS for Microchip PIC32MX4-F512L UBW32 Board Bootloader (v1.80) (.HEX, UBW32 HID bootloader image) with the long name. Let the microchip bootloader try to load the firmware into the untouched one (not even using your PicKit2).

    Let me know how it goes.
    http://www.scalerobotics.com

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


    Did you find this post helpful? Yes | No

    Default One questioin

    I have four USB ports on the back and two on the front of my PC. How do I know into which physical port to plug the cable?

    How does HyperTerminal know?

    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