Sponsored Links

PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!
Sponsored Links
Sponsored Links

Closed Thread
Results 1 to 2 of 2



  1. #1
    Sr. Member Transient's Avatar
    Join Date
    Apr 2007
    Posts
    334




    Sponsored Links!

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

    Sponsored Links
    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.
    Best Answer - Posted by ps3linux:

    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
    Code:
    #include <18F2550.h>
    
    
    to
    Code:
    #include <18F2455.h>
    
    
    Then in the fuse setting change the PLL2, to PLL1(4MHZ), PLL3(12MHZ), etc

    after that in the area of
    Code:
    /////////////////////////
    // Bootloader Memory Space
    // Microchip USB HID Bootloader
    #define CODE_START   0x1000
    #build(reset=CODE_START, interrupt=CODE_START+0x20)
    #org 0, CODE_START-1 {}
    
    
    change to
    Code:
    /////////////////////////
    // Bootloader Memory Space
    // Microchip USB HID Bootloader
    #define CODE_START   0x0800
    #build(reset=CODE_START, interrupt=CODE_START+0x20)
    #org 0, CODE_START-1 {}
    
    
    now compile and burn, your code should work properly.

  2. #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.

 

Closed Thread

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • Register, Login or Activate Your Account to post on the forums.

Advertising - Affiliates - Contact Us - PS4 Downloads - PS4 Forums - Privacy Statement - Site Rules - Top - © 2015 PlayStation 4 News