Universal PCB (eventually) thread

Sorry, man, friend of mine has my stick so I cant confirm BC at the moment. I need to get my other upcb built up for my cab, if no one confirms before that I’ll test it.

The PS3 code works great on both the PC and the PS3. All I did was use that code if its connected to a PC or PS3. None of the wiring has changed, and none of the system select select lines have changed. If your cable worked on PC before, it still will.

Out of curiosity (and because I have about 6 2x16 character LCD screens), what would the lcd screen be displaying? A button assignment menu? Button select cable menu? Current system? Something I’m not thinking about?

Any of that, all of that. None of the code is in, so sky’s the limit.

eye wan 2 bi twodils yu-pee-cee-bee nao, how 2 du et?

lrn 2 tipe, den reed frst post in diz thrd

Hey, I updated my stick with version 2.2 and found some weirdness on the PC side. When I press the punch extra button, both extra buttons seem to be pressed, if I press the kick extra button nothing happens :confused:. Also I tried using the programming button functions, which seem to leave the stick confused, replugging in seems to rest it back to normal.

I looked through the code for the extra buttons under program.c, and didn’t see anything off with the normal code, but did see something strange in the remapping. Here’s a BP version with that part fixed; I’d like for you to try it out and let me know if it helps any before I package up a full release.
http://www.marcuspost.com/downloads/upcb/UPCB_23_BP.hex

After its flashed, hold down the first three kick buttons when you plug it in; that will reset all of the mappings to default. Test it out, see how it behaves. Describe what’s happening and I’m sure I can get it fixed and get a corrected firmware to you in short order.

I have 2 upcbs assembled (updated to v2.2). Both work great on pc (joystick and loader mode), but neither one works on psx/ps2 (i used button select) or on xbox. I’ve checked the cables for shorts, etc. Can you recommend a way to troubleshoot this?

Yup, that fixed the mapping problem :woot:. I don’t know if this helps, but whatever button I tried to map to the extra buttons slots, would pickup the wacky behaviour I described before. If I assign the extra button to any one of the normal set they appeared okay.

I just wanted to clarify that the .hex fixed all of the problems, yes? Based on what was changed, it should have, but I just wanted clarification before I package up the release.

The PSX runs at lower voltages than everything else, so make sure the PIC you’re using is the 18LF4550, and not the 18F4550. Otherwise, look in the systemselect.txt file; it shows each of the d-sub pins in the order they’re checked for all cables, along with a list at the top of the PIC pin they’re attached to (RB5, RE0, etc.) Once you’ve verified there are no shorts in the cable, connect the board to a power source or plug it in, and use a multimeter to check the voltages at each one of the pins to see if it is in fact high or low, and compare it to the systemselect.txt. Another option is the Neo-geo test I described on the previous page; when powered with d-sub pin 1 and 9 shorted (RB4 pulled low), it should go into Neo-geo mode, and the output lines will each be high or low based on the inputs; you can check all of the output pins that way.

The mapping issue was fixed with that .hex, but the extra buttons still behaved oddly on PC.

Can you describe what you mean by oddly? If you can tell me how it behaves, I can track down where the problem lies.

Sorry, if I wasn’t being very clear earlier, I’ll try and describe it more carefully. When I go into the Control Panel->Game Controllers->Properties screen for the UPCB, the first 3 kick and punch buttons, plus start and select, all seem to behave normally and each trigger a separate button. When I press the extra punch button, both 6 and 8 buttons are triggered. If I press the extra kick button nothing is triggered at all.

Hope this helps.

Hold the extra punch, tap program, release extra punch. Hold the extra kick, tap program, and release the extra kick. How do they behave then?

The same I’m afraid :sad:.

I also tried swapping the mapping of jab and extra punch around. The extra punch worked as normal, but the jab button pressed down 6 and 8 just like the extra punch button did by default.

Sorry for the delay Doctor P, your perfectly simple explanation took this long to actually sink in; my reading comp skillz suck today. Found it, please give this a try and give me the ok for a release if it meets your needs.

http://www.marcuspost.com/downloads/upcb/UPCB_23_BP.hex

Yup, that’s fixed the extra buttons! Thanks :wgrin:.

Could people here who are successfully programming their stick in bootloader mode tell me what version of Windows they’re using (XP/Vista, service pack installed)?

I’ve tried on 4 systems now, and they all give me the “unknown device” error where I can’t install the bootloader driver. If I delete the inf cache and restart enough times, I can occasionally get it to work, but it’s getting really tiresome to have to reboot and pray 10+ times everytime I want to update the firmware.

Version 2.3 released. Changes:
-Bugfix in PS3USB: Extra0 (Fourth punch) was checked for both R1 and R2, and Extra1 (Fourth kick) was not checked for anything; corrrected so Fourth punch is R1 and Fourth kick is R2.
-Bugfix in button mapping for configurations with extra buttons.
-Added: Holding the three kicks (Short, Forward, and Roundhouse) during startup with any cable will reset all saved mappings to default.