1. #1
    Join Date
    Apr 2007
    Posts
    326

    Question How to compile PSGrooPIC for DIY 360 USB SPI (PIC18F2455)?

    I'm trying to compile PSGrooPIC for use on DIY 360 USB SPI, but I am missing something.

    I already have:

    - PCWHD Compiler 4.093
    - PSGrooPIC source files: http://www.ps4news.com/forums/attach...chmentid=22017
    - Updated Fuse settings to 12MHz and changed LED to pin E3

    Compile succeeds and I get a HEX file. I then write that to the device and it appears successful, however it doesn't work.

    Could someone please explain how to properly compile the code so that it will work? I know I can just download a pre-compiled hex, but I'm trying to learn how to do it myself.

  2. #2
    Join Date
    Oct 2010
    Posts
    2
    I would assume that you know the basics for making a project in CCS.

    First unzip the sources somewhere.
    Run CCS, go to project, create, give the path of the unzipped (main.c) file.
    Also in the "include" tab give the path to the unzipped folder.
    press ok.
    In the main.c change the

    [Register or Login to view code]

    to

    [Register or Login to view code]

    Then in the fuse setting change the PLL2, to PLL1(4MHZ), PLL3(12MHZ), etc

    after that in the area of

    [Register or Login to view code]

    change to

    [Register or Login to view code]

    now compile and burn, your code should work properly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in