Need help with MM3 PS1 Chip

Discussion in 'Modding and Hacking - Consoles and Electronics' started by Marmotta, Nov 29, 2013.

  1. Marmotta

    Marmotta Dauntless Member

    Joined:
    Apr 14, 2009
    Messages:
    755
    Likes Received:
    49
    I have a 5502 model PAL PS1 which I'm trying to mod with a PIC12F629 chip. I'm using a K150 PIC Programmer and Microburn to program the chip and the installation instructions below to install it. I've checked my soldering a number of times, so I'm pretty sure the problem isn't from that, but from something gone wrong with the programming - when I program the chip I get a message stating "The OSCAL value should be in the form of a RETLW instruction [34xx]. Currently [3Fxx]. Do you want this changed?" and I just hit "Yes" and it programmed and verified the chip. The hex file I'm using on the chip is called "MM3eur12f629.HEX".

    [​IMG]

    [​IMG]
     
  2. jinn

    jinn Peppy Member

    Joined:
    Feb 8, 2011
    Messages:
    396
    Likes Received:
    4
    I'm no expert but it seem you are doing everything correct. I really can't see the problem.
    You should PM DragoonC who is Assemblers Residential PSX Modchip Expert.
     
  3. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    Oscal is unique to each chip, you need to read the chip and take note of the existing value (or use software that doesn't overwrite it and leaves it in place)

    If you overwrite Oscal, the internal oscillator will be wrong and code won't work right
     
  4. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    <deleted>

    I obviously can't read today :)
     
    Last edited: Nov 29, 2013
  5. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    Thinking about it, you could set the config to use external oscillator and wire up pin 2 like Mayumi v4 too, as that wouldn't use the internal oscillator and therefore Oscal value doesn't matter
     
  6. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    Google search turns up this informative page, you should read this for more background about what I said above.

    http://picprojects.org.uk/projects/piccal.htm


    For setting for external oscillator, goto fuses then set oscillator to 011 (might be referred to as EC). Then reprogram it and wire up pin 2 as per mayumi v4
     
    Last edited: Nov 29, 2013
  7. Marmotta

    Marmotta Dauntless Member

    Joined:
    Apr 14, 2009
    Messages:
    755
    Likes Received:
    49
    Last edited: Nov 29, 2013
  8. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    link doesnt work, but if its mayumi v4, then sure.

    You need to reprogram the config fuses as per my above edit though.

    Any issues, take a screenshot of the fuses config screen and come back :)
     
  9. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    quite a few. 16f630 does as well off the top of my head
     
  10. Marmotta

    Marmotta Dauntless Member

    Joined:
    Apr 14, 2009
    Messages:
    755
    Likes Received:
    49
    I set the fuses as such and reprogrammed it, but no luck:

    [​IMG]

    I may give up on trying to use the 12f629 - been soldering the chip to the underside of my ZIF adapter to reprogram it as I cut off most of the legs for installation and it's too much hassle. Should have some 12c508a chips coming in the post tomorrow anyway.

    What chips does Mayumi v4 work with? I've found a hex file for it, but no information on which chips to use.
     
  11. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    12c50x

    What other options are in the oscillator list?
     
  12. jinn

    jinn Peppy Member

    Joined:
    Feb 8, 2011
    Messages:
    396
    Likes Received:
    4
    Load the mm3eur hex and don't change the fuse.
    Read and add the correct osc value and flash.
    Try one of these alt power points and wire it in 7 wire mode.
    [​IMG][​IMG]
     
  13. Marmotta

    Marmotta Dauntless Member

    Joined:
    Apr 14, 2009
    Messages:
    755
    Likes Received:
    49
    List is:

    RC CLKGP4 RCGP5
    RC IOGP4 RCGP5
    INTOSC CLKGP4 IOGP5
    INTOSC IOGP4 IOGP5
    EC IOGP4 CLKINGP5
    HS
    XT LP

    If I use a 12c508a and Mayumi hex, would this still need to be set to the correct option?
     
  14. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    Once oscal value is lost, it's lost. You can't just add it


    Mayumi v4 hex has option set in the file. No need to change it
     
  15. jinn

    jinn Peppy Member

    Joined:
    Feb 8, 2011
    Messages:
    396
    Likes Received:
    4
    I figured he might have more than one 12F629.
    From what I have tested with the 12F629 you need to connect to 5V to work properly. It will have issues or not work at all using 3.3V.
     
  16. Zer0-2k11

    Zer0-2k11 Site Supporter 2012,2013,2014,2015

    Joined:
    Jul 18, 2012
    Messages:
    542
    Likes Received:
    20
    I second that.

    Here is a guide i made about a year ago for the DIY'ers using the PRG-019 (MCUmall) and DIY-K series programmers. It should cover everything you need.

    http://www.links-protection.com/l=csxWWu6cdZ
     
    Last edited: Nov 29, 2013
  17. Marmotta

    Marmotta Dauntless Member

    Joined:
    Apr 14, 2009
    Messages:
    755
    Likes Received:
    49
    Awesome. Was looking for something like this online.
     
  18. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    I've always used the normal points, but add a decoupling cap if any issues
     
  19. bart_simpson

    bart_simpson Dauntless Member

    Joined:
    May 13, 2011
    Messages:
    768
    Likes Received:
    18
    This is why people should buy the microchip programmer never had a problem with my good old pic start plus.
     
  20. Bad_Ad84

    Bad_Ad84 The Tick

    Joined:
    May 26, 2011
    Messages:
    8,566
    Likes Received:
    1,309
    This isnt related to the programmer. You can wipe the osccal with microchip programmers too.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page