Troubleshooting

From Uzebox Wiki
Revision as of 18:04, 4 February 2009 by Uze (talk | contribs)
Jump to: navigation, search

No image and High pitch noise

  • There's nothing in the screen or bunch of random lines/dots appears
  • The sound is a horrible high pitched noise out the speaker


Insure *only* these fuses are written (written fuse=0, unwritten fuse=1):

IF you are using a crystal:

-SPIEN (pre-written in the factory)
-EESAVE
-CKSEL3
-SUT1

IF you are using an oscillator module:

-SPIEN (pre-written in the factory)
-EESAVE
-CKSEL0
-CKSEL1
-CKSEL2
-CKSEL3
-SUT0
-SUT1

EESAVE preserves the eeprom between flash writes (will be useful later on). CKSEL=0111 SUT=01 starts with a full swing oscillator 16K delay+0ms. Mega644s ships with CKDIV8 AND JTAGEN activated and must be uncheked. CKDIV8 internally divides the master clock by 8, so your Uzebox runs at 3.57Mhz. No chance it will generate video with that! Also JTAGEN activates the debug port, which is on the VIDEO DAC port and will screw up some color component if left active.