Micro UK101 Build
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Gosh more reading to do! OK, thanks! Luckily a copy of "Programming the 6502" landed on the doormat this morning, so I'm set. Been a while since I hand assembled machine code. Anyone know the UK10o1's entry point at cold start? Must be same as 6502.
Second EEPROM burn failed with an error. I checked the chip was successfully wiped back to 0xFF before starting. Only difference was a delay setting I put in the burner software. Hmm..
@Lee : I found a radio and have heard interference on LW that comes and goes with the application of power to the circuit, so I guess the clock is OK.
[edit] : More info - the EEPROM programmer keeps bailing out at 0x2000, says there is a write error. I think the chip is borked. The RS232 cable I am using is NULL MODEM (with TX/RX swapped) so I have wired the MAX232 outputs as Pin 2 RX, Pin 3 TX and Pin 5 is GND. No more testing until I can get the EEPROM sorted...
Second EEPROM burn failed with an error. I checked the chip was successfully wiped back to 0xFF before starting. Only difference was a delay setting I put in the burner software. Hmm..
@Lee : I found a radio and have heard interference on LW that comes and goes with the application of power to the circuit, so I guess the clock is OK.
[edit] : More info - the EEPROM programmer keeps bailing out at 0x2000, says there is a write error. I think the chip is borked. The RS232 cable I am using is NULL MODEM (with TX/RX swapped) so I have wired the MAX232 outputs as Pin 2 RX, Pin 3 TX and Pin 5 is GND. No more testing until I can get the EEPROM sorted...
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
EEPROM reprogrammed, still nothing coming out of the serial port.
I think I will have to recheck all the wiring. CPU is getting warm, so it must be up to something. All the other chips are at ambient (or close enough to make no difference).
In the meantime, I bought the bits to builds Lee's NOP generator (including a piezo sounder and LEDs so I can perform the testing suggested). I'm actually quite interested in burning a test program into the rom; with a suitable loop to slow things down I should be able to detect signals on the address / data lines....
I think I will have to recheck all the wiring. CPU is getting warm, so it must be up to something. All the other chips are at ambient (or close enough to make no difference).
In the meantime, I bought the bits to builds Lee's NOP generator (including a piezo sounder and LEDs so I can perform the testing suggested). I'm actually quite interested in burning a test program into the rom; with a suitable loop to slow things down I should be able to detect signals on the address / data lines....
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
micro_brain wrote:
By the way, what sort of scope would I need? I'm scanning ebay looking for a cheap model - what specifications should it have?
I have an old Tektronix 465B here and I'm very happy with it. Well, a 2465 would be great, but they cost a lot more... A Tek 475 (similar to 465, but with 200MHz) would also be a nice option.
so long,
Hias
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
micro_brain wrote:
Am looking at a Tektronics 2213 - should be OK I think, but it is only 60Mhz..
These old analog Teks perform a lot better than most of the new, cheap digital scopes. Digital scopes might be nice to analyze aperiodic and/or single-shot events, but when doing microprocessor stuff the 2 or 4 channels of a scope are quite limiting and you'd be better off using a logic analyzer (with 8-32 channels) instead.
So: a nice analog scope and maybe a logic analyzer some time later is a very good idea IMO.
BTW: be sure to get X10 probes with your scope, X1 probes are only useful if you want to do millivolt low-frequency audio stuff (again, IMO).
so long,
Hias
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
For this kind of troubleshooting, I've used 20MHz dual-trace triggered 'scopes at home and they have been adequate for that (although for a few things I'd like to have something much faster). If you buy a new one, I expect those start at 40MHz or higher today, with a cheaper price than I paid 20 years ago. It is very important that you get a pair of good x10 probes though, which are not cheap if you have to buy them separately. x1 probes will turn a 100MHz 'scope into a 2MHz 'scope!
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Confused. x1? x10? I thought the probes were just wires to connect to the scope's inputs with appropriate connectors. This one comes with two sets (one for each channel), although a tip is missing from one of them Even so, it looks like pretty good value at (currently) £11.50 (+£20 postage). Let's hope no one else bids on it!
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
What do you make of this:
http://cgi.ebay.co.uk/ARM-DSO-Nano-Pock ... 2933wt_824
Probably a waste of money but I thought I'd ask..
http://cgi.ebay.co.uk/ARM-DSO-Nano-Pock ... 2933wt_824
Probably a waste of money but I thought I'd ask..
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
In the x1 setting, the circuit is heavily loaded by the capacitance and transmission-line effects of the probe cable. These not only give invalid readings but also upset the operation of the circuit you're trying to measure. Correcting the problems without introducing other problems requires quite a science in making good probes. There's a very short primer at http://www.probemaster.com/pages.php?pID=14&CDpath=4 .
micro_brain wrote:
http://cgi.ebay.co.uk/ARM-DSO-Nano-Pocket-Sized-Digital-Oscilloscope-New-/280629466420?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item4156d1d534#ht_2933wt_824
Probably a waste of money but I thought I'd ask..
Probably a waste of money but I thought I'd ask..
so long,
Hias
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
micro_brain wrote:
What do you make of this:
http://cgi.ebay.co.uk/ARM-DSO-Nano-Pock ... 2933wt_824
Probably a waste of money but I thought I'd ask..
http://cgi.ebay.co.uk/ARM-DSO-Nano-Pock ... 2933wt_824
Probably a waste of money but I thought I'd ask..
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011