Hi,
Today I finished my 'own' UzeBox based on Reference design F2 - with some modification - I replaced most of the passives with SMDs and microcontroller with SMD version - AT MEGA 644PA. I just set fuses and wrote Supermario demo from hex file and almost everything worked fine on first try: sound is ok, video is almost ok, gamecontrollers, SD card, except single strange problem:
In video is no green color.
Problem is that on pins 22 - PC3 (GREEN0), 23 - PC4 (GREEN1) and 24 - PC4 (GREEN2) is just no-changing high signal. On all other blue and red pins is valid signal (tested on oscilloscope).
I also unsoldered resistors (R8,R9,R10) from green pins to double check that on each individual pin is just high signal. I also tested PC3,PC4,PC5 with simple 'blink' code, that output on these pins is ok.
Green is missing in all demos and games which I had tested yet (all from hex files on wiki).
Any idea what could be the cause of this problem?
ATMEGA 644PA (SMD)
-
- Posts: 1445
- Joined: Mon Feb 11, 2013 8:08 am
- Location: Brisbane, Australia
Re: ATMEGA 644PA (SMD)
PC2 PC3 PC4 and PC5 are the JTAG interface.
You will have JTAG enabled in the fuses and therefore the MCU wont have use of those pins.
You must program the 644 via SPI in this application.
You will have JTAG enabled in the fuses and therefore the MCU wont have use of those pins.
You must program the 644 via SPI in this application.
Re: ATMEGA 644PA (SMD)
Exactly! Thank you very much, you've made my day!
UzeBox is done and finally working:
UzeBox is done and finally working:
Re: ATMEGA 644PA (SMD)
Very nice pcb! What are those 3 big connector at the front, a full midi interface?
Re: ATMEGA 644PA (SMD)
Very nice home etched PCB.
Re: ATMEGA 644PA (SMD)
3 big connectors are MIDI and 2 gamepad connectors (DIN6 to avoid accidental plugging to MIDI). It is much easier to make round hole than any other shape. DIN connectors also reminds me the old 8-bit czechoslovakian computers (ZX Spextrum clones) where DIN connectors were used for almost every interface.
UzeBox in cheap ABS project box (PCB was designed to fit into it):
UzeBox in cheap ABS project box (PCB was designed to fit into it):
Re: ATMEGA 644PA (SMD)
Good work, looks pro!
Re: ATMEGA 644PA (SMD)
Nice.
Where did you get the plastic case from?
Where did you get the plastic case from?
Re: ATMEGA 644PA (SMD)
I have it from GME (their main branch is next to my office)
http://www.gmelectronic.com/plastic-enc ... t-p622-944
http://www.soselectronic.com/?str=371&a ... name=-km39
I can also publish PCB sketch, as this box is too small for reference design PCB.
http://www.gmelectronic.com/plastic-enc ... t-p622-944
http://www.soselectronic.com/?str=371&a ... name=-km39
I can also publish PCB sketch, as this box is too small for reference design PCB.
Re: ATMEGA 644PA (SMD)
I've attached PCB sketch in Eagle 7.5.
It is optimized for "home production" = toner transfer (no ground planes as big black areas does some problems when removing transfer paper) and most vias are placed outside of components (for wire vias). Parts which were not in the stock in my favorite shop I left THD instead of SMD (some capacitors. optocoupler and voltage regulators). In addition, there are some features, which I found in this forum - socket for WiFi module ESP8266 (version 1, which I had in my drawer) and SPI RAM, which I actually don't have There is extra jumper next to MIDI connector to switch between ESP and MIDI as they share same pin. Before anybody try to reproduce this PCB, please notice that there are some routes between 'legs' of AD725. It works fine for me - I have crisp video with nice colors, but it needs extra care while soldering. And of course the board is double layered, so toner transfer must be done at once for both sides. As I already mentioned it fits into KB 35 ABS project box, where is less than 1mm space above DIN connectors (just luck).
It is optimized for "home production" = toner transfer (no ground planes as big black areas does some problems when removing transfer paper) and most vias are placed outside of components (for wire vias). Parts which were not in the stock in my favorite shop I left THD instead of SMD (some capacitors. optocoupler and voltage regulators). In addition, there are some features, which I found in this forum - socket for WiFi module ESP8266 (version 1, which I had in my drawer) and SPI RAM, which I actually don't have There is extra jumper next to MIDI connector to switch between ESP and MIDI as they share same pin. Before anybody try to reproduce this PCB, please notice that there are some routes between 'legs' of AD725. It works fine for me - I have crisp video with nice colors, but it needs extra care while soldering. And of course the board is double layered, so toner transfer must be done at once for both sides. As I already mentioned it fits into KB 35 ABS project box, where is less than 1mm space above DIN connectors (just luck).
- Attachments
-
- myUZE.zip
- (146.21 KiB) Downloaded 482 times
Last edited by igi79 on Wed Mar 09, 2016 10:50 am, edited 2 times in total.