What's new

nonosto

Champion
Joined
Jun 5, 2018
Messages
1,812
Reaction score
435
Location
FRANCE
do you have the map about connector I will wire it directly:

ez-pad10.jpg
 

RealMFnG

Legendary
Joined
Mar 27, 2016
Messages
4,870
Reaction score
4,255
Location
NorCal
Also a tip about the order of operations for assembly. You can add all of the SMD components first, but make sure you program the Home/Select emulation chip before you add the button remapping chip. If both are installed before programming the Home/Select chip you will get bus conflicts on the ISP bus and the emulation chip will fail to program. In the event that you accidentally do this anyway, you can still program the Home/Select chip, but you will have to have the JAMMAizer plugged into a cabinet or supergun to power the button remapping chip so it's I/O is floating and won't interfere with your programming operation.
Hey @Arthrimus, if you ever see this post, I am struggling with programming the ATTINY87. Using my Xeltek 610p and an SOIC adapter to program it externally doesn't work right. I am not able to activate the button mapping features.

The question are:
  1. What application are you using to perform the programming of the ATTINY87 in circuit? I am guessing you are using AVRDUDESS based upon your post here for programming the ATMEGA and that you mentioned to me that you use USBAsp.
  2. If not using AVRDUDESS, are you building a sketch in Arduino IDE?
    1. A screenshot of the settings you are using in whatever ap you are using would be tremendously helpful
    2. External or Internal clock?
    3. What frequency?
    4. Fuse settings?
  3. Do the traces get cut on the button mapper before or after the ATTINY87 is programmed?
Sometimes I get errors in AVRDUDESS using USBAsp where the chip can't be detected. Possible that I fried the ATTINY87. No big deal as I have a few of those handy. Just really struggling with programming the ATTINY87. And the ATMEGA is not inserted into the dip socket as I am attempting this.

One a side note, I think I have tried just about everything. Last thing to try is on a virgin board with SMD components installed without the button mapper traces cut. That is the only thing I can think of that could be holding me up since I have tried just about everything else to program the ATTINY87.
 
Last edited:

midwaydj

Student
Joined
Apr 27, 2018
Messages
110
Reaction score
28
Location
Dallas Texas
Curious if anyone can help with this issue.

Trying to install a Brook UFB in my Jammaizer to use on a UMK3 cabinet with a Windows 10 PC. The Brook shows up as a Xbox One controller but when testing the buttons, only buttons HP, Start, Block U,D,L,R work. They register as 1,2,8 UDLR in the Windows controller test tool. I have removed the jammaizer and tested a CPS2 board on the same jamma harness and kick harness, the buttons work fine so I know the cabinet wiring is correct. At least 1 of the jamma buttons are not registering HK (3) and all of the kick harness buttons are not either. Could this be a pinout issue with the 20 pin connector? I was able to successfully connect and register a different Brook board that is in a fight stick and all the buttons work. I have also tried two different computers with the same result.
 

midwaydj

Student
Joined
Apr 27, 2018
Messages
110
Reaction score
28
Location
Dallas Texas
Did this work for you? It sounds like button mapping is probably the source of your problem.
Yes that worked thanks!

Also had another question. I’m not sure if this is an issue with the jammaizer, but I’ve turned down the impedance controls all the way, and on my UMK3 cabinet the brightness is still way high compared to the other jamma boards I’ve used in the cabinet. I’m using the VGA hat with vga cable straight to the pc video card. The monitor is a Hantarex 9110.
 

Arthrimus

Grand Master
Joined
May 18, 2018
Messages
435
Reaction score
1,373
Location
Arkansas
Hey @Arthrimus, if you ever see this post, I am struggling with programming the ATTINY87. Using my Xeltek 610p and an SOIC adapter to program it externally doesn't work right. I am not able to activate the button mapping features.

The question are:
  1. What application are you using to perform the programming of the ATTINY87 in circuit? I am guessing you are using AVRDUDESS based upon your post here for programming the ATMEGA and that you mentioned to me that you use USBAsp.
  2. If not using AVRDUDESS, are you building a sketch in Arduino IDE?
    1. A screenshot of the settings you are using in whatever ap you are using would be tremendously helpful
    2. External or Internal clock?
    3. What frequency?
    4. Fuse settings?
  3. Do the traces get cut on the button mapper before or after the ATTINY87 is programmed?
Sometimes I get errors in AVRDUDESS using USBAsp where the chip can't be detected. Possible that I fried the ATTINY87. No big deal as I have a few of those handy. Just really struggling with programming the ATTINY87. And the ATMEGA is not inserted into the dip socket as I am attempting this.

One a side note, I think I have tried just about everything. Last thing to try is on a virgin board with SMD components installed without the button mapper traces cut. That is the only thing I can think of that could be holding me up since I have tried just about everything else to program the ATTINY87.
I use AVRDUDESS and a USBASP Clone for programming all of my ATMEL MCUs. I can only speak for that but here's the process I use.

Install the ATTINY onto the JAMMAizer, do not install the ATMEGA16 for the button remapping before you program the ATTINY. Open AVRDUDESS, add the Console_Jammaizer_Select_emu.ino.hex file to the flash section of AVRDUDESS, select write. Set the MCU type to ATTINY87. Set the fuses as follows:

L = 0xE2
H = 0xD7
E = 0xFE

Make sure JP6 on the JAMMAizer is not closed. Wire up the VCC, GND, RST, SCK, MOSI, and MISO pads of the programming header to their respective pins on the USBASP.

Hit Program and let it complete and you should be good to go.

After that close JP6 with some solder and you should be up and running.
 

RealMFnG

Legendary
Joined
Mar 27, 2016
Messages
4,870
Reaction score
4,255
Location
NorCal
I use AVRDUDESS and a USBASP Clone for programming all of my ATMEL MCUs. I can only speak for that but here's the process I use.

Install the ATTINY onto the JAMMAizer, do not install the ATMEGA16 for the button remapping before you program the ATTINY. Open AVRDUDESS, add the Console_Jammaizer_Select_emu.ino.hex file to the flash section of AVRDUDESS, select write. Set the MCU type to ATTINY87. Set the fuses as follows:

L = 0xE2
H = 0xD7
E = 0xFE

Make sure JP6 on the JAMMAizer is not closed. Wire up the VCC, GND, RST, SCK, MOSI, and MISO pads of the programming header to their respective pins on the USBASP.

Hit Program and let it complete and you should be good to go.

After that close JP6 with some solder and you should be up and running.

Phewwwwww. Thanks brother. I had sunk soooooo many hours into this. Will give it a whirl.
 

RealMFnG

Legendary
Joined
Mar 27, 2016
Messages
4,870
Reaction score
4,255
Location
NorCal
Hey @Arthrimus, I keep getting the below error.
  • I have updated the firmware for my USBAsp
  • Ran Zadig to install drivers (tried using both libusbK and WinUSB drivers)
    • Which driver should I use?
  • Ran AVRDUDESS with Force (-F) set or not set
    • Should Force (-F) be set?
  • Double checked my pinout to the programming header
    • Used new dupont wires
    • I even have a breakout header
  • Attempted to program with the USBAsp's jumper set to 3.3v and 5v
    • Which voltage setting should it be set to?
  • Updated arvdude.conf with the ATTINY87/167 cores from here
  • Unjumpered JP6 and tested for continuity (there was none)
  • Ensured the button mapper was not installed
  • Tried programming with and without a jumper cap on JP7
  • Tried programming 4 different units and so doubt it is bad soldering
It is possible that all of these ATTINY87's are fried when I tried to program them in my Xeltek, then installed them. I suppose I can rework them off the PCB and install new ones and try again. But before I do, wanted to ask if there is an issue with attempting to program the ATTINY87 after the units were fully assembled AND the button remapper traces had already been cut.

Do I have to program the ATTINY87 BEFORE the button remapper traces are cut?

Failing that, the only thing I can think of is
  1. A bad batch of ATTINY87s from Digikey or I did fry the ATTINY87s trying to program them externally
  2. My cheap USBAsp(s) from Amazon are at fault (Atmeg8-based)
  3. The silkscreening on JAMMAizer's programming header is incorrect? I metered this out, the header meters out to the correct pinout
Been stuck here for a while brother. FYI, I am using Windows 10, if that matters.

1669580345714.png
 
Last edited:

Arthrimus

Grand Master
Joined
May 18, 2018
Messages
435
Reaction score
1,373
Location
Arkansas
Hey @Arthrimus, I keep getting the below error.
  • I have updated the firmware for my USBAsp
  • Ran Zadig to install drivers (tried using both libusbK and WinUSB drivers)
    • Which driver should I use?
  • Ran AVRDUDESS with Force (-F) set or not set
    • Should Force (-F) be set?
  • Double checked my pinout to the programming header
    • Used new dupont wires
    • I even have a breakout header
  • Attempted to program with the USBAsp's jumper set to 3.3v and 5v
    • Which voltage setting should it be set to?
  • Updated arvdude.conf with the ATTINY87/167 cores from here
  • Unjumpered JP6 and tested for continuity (there was none)
  • Ensured the button mapper was not installed
  • Tried programming with and without a jumper cap on JP7
  • Tried programming 4 different units and so doubt it is bad soldering
It is possible that all of these ATTINY87's are fried when I tried to program them in my Xeltek, then installed them. I suppose I can rework them off the PCB and install new ones and try again. But before I do, wanted to ask if there is an issue with attempting to program the ATTINY87 after the units were fully assembled AND the button remapper traces had already been cut.

Do I have to program the ATTINY87 BEFORE the button remapper traces are cut?

Failing that, the only thing I can think of is
  1. A bad batch of ATTINY87s from Digikey or I did fry the ATTINY87s trying to program them externally
  2. My cheap USBAsp(s) from Amazon are at fault (Atmeg8-based)
  3. The silkscreening on JAMMAizer's programming header is incorrect? I metered this out, the header meters out to the correct pinout
Been stuck here for a while brother. FYI, I am using Windows 10, if that matters.

1669580345714.png
It might be bad microcontrollers. You are getting a garbage device ID so something is going wrong between the programmer and the ATTINY87s. It doesn't matter if the traces for the button remapper are cut or not, and if your pinout is correct there shouldn't be a problem. I would try some fresh ATTINY87s and see what you happens.
 

RealMFnG

Legendary
Joined
Mar 27, 2016
Messages
4,870
Reaction score
4,255
Location
NorCal
It might be bad microcontrollers. You are getting a garbage device ID so something is going wrong between the programmer and the ATTINY87s. It doesn't matter if the traces for the button remapper are cut or not, and if your pinout is correct there shouldn't be a problem. I would try some fresh ATTINY87s and see what you happens.
Thanks boss. I sourced ATTINY87's from 3 places, Digikey, Mouser, some shop overseas. Same funk.

One more question, do any of the other SMD components matter when attempting to program the ATTINY87's? I noticed in your previous instructions, you stated to install all the SMD components first, then program the ATTINY87's with the remapper chip uninstalled. Like do I need to install the resistors for the programming off the board's header to work? Can I program with just the ATTINY87 soldered to the board or by using using a a programmer SOIC adapter?
 
Top