Search found 47 matches

by superg
November 2nd, 2018, 4:54 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Speaking of fuses, there is a way to get the values runtime, more info here:
https://arduino.stackexchange.com/quest ... -my-sketch
This is gcc-avr functionality thus not limited to Arduino btw.
I will incorporate the checks after ATtiny bios patching.
by superg
November 1st, 2018, 11:04 pm
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

rama3 wrote: November 1st, 2018, 1:32 pm Superg: Check here for what you should get with your logic analyzer:
http://www.psxdev.net/forum/viewtopic.p ... 220#p12848
Oh, this is very helpful, thanks! Don't know how did I miss that!
by superg
November 1st, 2018, 7:31 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Hey, not sure this will help but i thought about using the two remaining I/O-pins on the AttinyX5 for that feature. I suggest you read the last few pages of this topic to find out where we are with this and what is the goal. That was already discussed and my current effort is to get BIOS patching w...
by superg
November 1st, 2018, 12:59 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

I'm having troubles enabling bios patching on ATtiny (84 for now). I think it's timing but can't figure out the correct values. I used my logic analyser to monitor A18 / D2 but I'm getting different values every time and it's not clearly visible what's going on without seeing the other address lines...
by superg
October 26th, 2018, 9:06 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Ok it works, the ATtiny45 I used was broken somewhere. Thank you for your help guys! I stuck on the point: Code should have .h for modifying parameters and adding hysteresis parameters in it too. And.. goto in C in 2018? =)) Cheers Oh, goto might be cleaned later, and it's not necessarily bad and t...
by superg
October 26th, 2018, 2:17 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Superg: As I wrote the chip code, I actually wanted to read the fuse settings in the sketch, and display a warning somehow if they were wrong. I think this wasn't possible, or at least not without some trickery. If you happen to know how, this should definitely be added! Once bad fuse settings have...
by superg
October 26th, 2018, 12:05 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Ok.. by using mySerial.begin at 9600 instead of 115200 AND monitoring at 1200, I have my "START" debug print This: Also, what are you fuse settings? The oscillator may be in 1Mhz mode. Add this line to see what is your F_CPU define. DEBUG_PRINT(F_CPU); If you have a discrepancy between ch...
by superg
October 25th, 2018, 12:05 pm
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Kabcorp wrote: October 25th, 2018, 11:20 am Maybe I'm doomed...
When I monitor the pin 2 (PB3) of the Tiny45, I can't get correct values from psnee baudrate (115200 or 500000)
It should be 115200 for the software uart. What do you use to monitor?
by superg
October 25th, 2018, 10:16 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Hi superg, thanks for your reply. It says PSnee 7 is automatic for multiRegion right? If I read I can see only the PSone have to set the region? Is debug via serial possible on ATtiny45/84? Yes, it can be automatic but just for debugging I suggest to force it. You can debug on ATtiny 45 by using ph...
by superg
October 25th, 2018, 9:05 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Hello everyone. I can't get PSnee working, I explain my problem: -I use ATtiny45 with internal 8mHz clock programmed via Arduino UNO as ISP -In the code, I use only #define ATTINY_X5 -Wires are perfectly like diagrams in psnee v7's zip -IC is decoupled with 100nF capacitor (tryed with and without, ...
by superg
October 24th, 2018, 12:14 pm
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

rama3 wrote: October 23rd, 2018, 8:41 pm Do you still know which fuses you set on the Pro Micro? (Should be Atmega328p, right?)
low: 0xF2, high: 0xDB, extended: 0xFD
If you want to replicate that in your boards.txt, don't forget to set f_cpu to 8MHz.
by superg
October 24th, 2018, 9:24 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Can anyone test if "Dance Dance Revolution [NTSC-J]" works with PSNee? That game has modchip detection, swap disc detection and I think parallel port detection :) I can try. Ok, so it didn't work as is but I managed to get it past by reducing hysteresis constant to 10. 21 00 40 98 41 15 0...
by superg
October 24th, 2018, 1:01 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

That's how it should be :) Too bad we never learn how / why an install fails, but a bad bootloader config could definitely be it. Do you still know which fuses you set on the Pro Micro? (Should be Atmega328p, right?) In addition to 8MHz internal oscillator and no bootloader I think I'm setting BOD ...
by superg
October 23rd, 2018, 9:42 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Am able to successfully boot PAL PSOne from Pro Mini 8MHz internal oscillator / no bootloader and it is consistent.
by superg
October 22nd, 2018, 11:08 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Double check your 2 subcode wires or try using a Pro Micro. ATtiny85: I believe that was a bad connection somewhere, I redid everything on a breadboard and it works. ATtiny84: Have to figure out why no SUBQ/SQCK reaches my board I did 3 breadboard configurations with Pro Micro / ATtiny85 / ATtiny84...
by superg
October 19th, 2018, 10:32 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Having some troubles with ATtiny85 on my PSX, doesn't boot disc. Also soldered ATtiny84 board and redefined pins for it, starts and I get debug output but doesn't reach SubQ reading code, probably I'm missing something...
by superg
October 16th, 2018, 4:05 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

i'0m interested in this, how i find schematics for all the consoles? and how i download the files and install them on the arduino? there's a detailed guide? works on this? USB Nano V3.0 ATmega328P Not sure about nano, it might require some pin reassignments. There is a wiki page here: https://githu...
by superg
September 29th, 2018, 1:20 pm
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

#include <SoftwareSerial.h> SoftwareSerial ss(-1, 2, 1); // no RX, only TX and invert logic ss.begin(<whatever_the_baud_rate_is>, SERIAL_8N2); // 8 bit data, 2 stop bits ss.write("SCEA"); // that's it! Quick experiment failed, SoftwareSerial doesn't support second argument SERIAL_8N2, thi...
by superg
September 29th, 2018, 6:44 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

BIOS patching is a weak spot in my implementation. Several people reported issues (for others it just worked). I don't know, maybe manufacture tolerances are too big for the tight timing requirements. This is quite likely even, as the patch has to happen within milliseconds after power on. (But the...
by superg
September 29th, 2018, 3:07 am
Forum: Hardware
Topic: PSNee further development
Replies: 570
Views: 950834

Re: PSNee further development

Readability is definitely improved, and removing the AVR only code is a good touch as well. I'll try the result sometime soon! It could have been even simpler with SoftwareSerial Arduino class if Sony wouldn't change things in PU-22: #include <SoftwareSerial.h> SoftwareSerial ss(-1, 2, 1); // no RX...