Micro UK101 Build
I just purchased a Rigol DS1052E (about a month ago) and am Extremely happy with it, Being a digital scope it can record the signals so you can freeze them. small lightweight and wasn't too expensive. I still have a BK 2120 dual trace but haven't even turned it on since I got the Rigol. Granted it is rated up to 50Mhz but there is a mod on the net that shows how to take out the front end filter and make it go to a claimed 400Mhz.. I haven't done the mod as it suits its purpose right now.
I rarely have to look at any signals faster than it goes, for that I pull out my HP service monitor and plug that beast in.
I rarely have to look at any signals faster than it goes, for that I pull out my HP service monitor and plug that beast in.
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
OK. Have built the NOP generator and plugged it into the ROM. With a piezo sounder at pin 15, there is no buzzing at all, but it does click when first connected. Does this indicate anything in particular? I tried several other address lines but same thing, a click. Almost like the lines are high all the time.
Have to check all connections again...
Have to check all connections again...
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
BigEd wrote:
Is that pin15 of the 6502? Is that going to be toggling at an audio frequency? It might be worth trying some higher address lines.
Maybe not all the time though- what happens when the CPU reaches the end of memory 0xFFFF? Does it wrap round to zero?
Yes, it will keep going around. So this isn't a good sign. First stop is perhaps the clock, and then the RDY input, and the RESET IRQ and NMI inputs. They should all be high for normal operation, unless I'm terribly confused.
If that's all OK, then you'd fail to send NOPs in if your databus had contention, which would be the case if you had other devices driving the bus - time to check the chip selects and address decode, perhaps.
Cheers
Ed
If that's all OK, then you'd fail to send NOPs in if your databus had contention, which would be the case if you had other devices driving the bus - time to check the chip selects and address decode, perhaps.
Cheers
Ed
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Quote:
First stop is perhaps the clock, and then the RDY input, and the RESET, IRQ, and NMI inputs. They should all be high for normal operation
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Hi Garth,
D1813-10 - What is it? The push button is the reset switch (has no effect on my board so far as I can see). I am sure the clock circuit is doing something as it is causing LW interference with a nearby radio when turned on. I was not successful in buying the scope from eBay - got outbid whilst on holiday with a very poor mobile broadband signal. Apart from that I should buy a logic probe. And recheck EVERYTHING.
Incidentally, the CPU is a Rockwell R6502AP - I have assumed that this is compatible. I bought it from an eBay seller in the Netherlands. Th elisting states:
1 PC. Rockwell R6502AP 8-bit CPU / MPU R6502P 6502 DIP/DIL
NMOS CPU/MPU 8-bit microprocessor
Brand: Rockwell
Technology: NMOS
Type: 8-bit Microprocessor
Clock frequency: 2MHz
Temperature range: 0 to +70°C
Package: Plastic DIP/DIL 40
Thanks all
JonB
D1813-10 - What is it? The push button is the reset switch (has no effect on my board so far as I can see). I am sure the clock circuit is doing something as it is causing LW interference with a nearby radio when turned on. I was not successful in buying the scope from eBay - got outbid whilst on holiday with a very poor mobile broadband signal. Apart from that I should buy a logic probe. And recheck EVERYTHING.
Incidentally, the CPU is a Rockwell R6502AP - I have assumed that this is compatible. I bought it from an eBay seller in the Netherlands. Th elisting states:
1 PC. Rockwell R6502AP 8-bit CPU / MPU R6502P 6502 DIP/DIL
NMOS CPU/MPU 8-bit microprocessor
Brand: Rockwell
Technology: NMOS
Type: 8-bit Microprocessor
Clock frequency: 2MHz
Temperature range: 0 to +70°C
Package: Plastic DIP/DIL 40
Thanks all
JonB
Last edited by micro_brain on Mon Apr 11, 2011 8:28 pm, edited 1 time in total.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
I mentioned the ABORT\ input, but that's on the '816 but not the '02. WDC's 65c02 has the BE input which I also mentioned, but you don't have that if you have a Rockwell part. I see now I was confusing digidice (who posted this schematic on page 2 of this topic) with micro_brain. My apologies-- I'll have to try harder to get our new members sorted out.
So are the inputs that Ed mentioned getting pulled up now, as they should be? And is the RST\ line high also after the initial quick low pulse? This has to be high also for the processor to run.
Side note: I know "Gareth" (with an e in it) is a common name in the Brittish isles, but my name has no e.
So are the inputs that Ed mentioned getting pulled up now, as they should be? And is the RST\ line high also after the initial quick low pulse? This has to be high also for the processor to run.
Side note: I know "Gareth" (with an e in it) is a common name in the Brittish isles, but my name has no e.
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
Duly noted, Garth - and post edited (I know how you feel - people always spell my name - Jon - with an 'h'.)
I will have to look at the circuit again when I have some time. I reviewed the thread and discovered that the NOP gen should be installed without the ACIA and could go in the RAM socket too (maybe that's best?). Not sure what the thing will do if it's in ROM and the RAM is empty (or vice versa). Will it cycle?
I will have to look at the circuit again when I have some time. I reviewed the thread and discovered that the NOP gen should be installed without the ACIA and could go in the RAM socket too (maybe that's best?). Not sure what the thing will do if it's in ROM and the RAM is empty (or vice versa). Will it cycle?
-
Karatorian
- Posts: 17
- Joined: 13 Mar 2011
- Location: Rindge NH USA
- Contact:
micro_brain wrote:
Not sure what the thing will do if it's in ROM and the RAM is empty (or vice versa). Will it cycle?
However, there's a chance (but no guarantee, floating inputs being iffy), that it'll find a BRK (0x00) at the bottom of RAM and go to the IRQ vector (0xEAEA again). So it might sorta cycle.
Furthermore, if there's any space in the memory map for IO (which I assume there is), a NOP generator (even in both ROM and RAM), won't cycle either. Instead, once it hits the IO space, it'll start trying to execute whatever it finds there. So unless you can hack the address decode select either the RAM or ROM instead of IO, it won't work.
@loop: lda (src),y — sta (dst),y — iny — bne @loop — inc src+1 — inc dst+1 — dex — bne @loop
-
leeeeee
- In Memoriam
- Posts: 347
- Joined: 30 Aug 2002
- Location: UK
- Contact:
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
leeeeee wrote:
Quote:
... the NOP gen should be installed without the ACIA and could go in the RAM socket too (maybe that's best?).
Quote:
Will it cycle?
Lee.
micro_brain wrote:
And the discreet logic chips too?
Normally the data bus is a shared resource, and the RAM, ROM and ACIA wait for a cue -- an address -- from the CPU before they try to put anything on the data bus. The NOP generator breaks the rules; it ignores addresses and never shuts up, "hogging" the bus. That's why you remove the others; they can't talk over the NOP generator, and during this experiment you don't need them anyway. Btw in this case the CPU listens to the bus but doesn't talk -- that's why it's OK to leave it in. Good luck, and have fun!
-- Jeff
- BigDumbDinosaur
- Posts: 9427
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
I don't recall reading it anywhere in the discussion, but have you used a logic probe to:
1) Verify you have a clock pulse at the MPU's Ø2 input?
2) Verify that you have a clock pulse at the MPU's Ø2 output, and if using it, the Ø1 output?
3) Verify that /RESET is high after you've reset the unit?
4) Verify that /RDY and /BE are both high? If either is low or floating the MPU will not do anything for you.
Other things to look for include accidental cross-connects of bus leads, accidental grounds and open circuits, etc. Last but not least, do you know for certain that your MPU is good? If all of the above are good then the thing should run with the NOP generator. You also verified that you correctly wired your NOP generator, right?
1) Verify you have a clock pulse at the MPU's Ø2 input?
2) Verify that you have a clock pulse at the MPU's Ø2 output, and if using it, the Ø1 output?
3) Verify that /RESET is high after you've reset the unit?
4) Verify that /RDY and /BE are both high? If either is low or floating the MPU will not do anything for you.
Other things to look for include accidental cross-connects of bus leads, accidental grounds and open circuits, etc. Last but not least, do you know for certain that your MPU is good? If all of the above are good then the thing should run with the NOP generator. You also verified that you correctly wired your NOP generator, right?
x86? We ain't got no x86. We don't NEED no stinking x86!
-
micro_brain
- Posts: 85
- Joined: 31 Mar 2011
I rechecked the NOPgen, it had a miswire. Darn it. Also, I used the wrong resistors in the XTAL circuit. Dagnammit again.
So, fixed NOPgen & clock circuit. Verified that all data lines are showing correct hi / lo values to spell out NOP value. Ran board with radio nearby and can hear the interference from the clock circuit as before. Still no tones from any of the addr lines.
Will check the lines as suggested (using a multimeter).
In the meantime, have ordered a logic probe, which should be here by the weekend.
Incidentally, the MAX232 output is something like 2.5v on Tx line (assuming it is idle).
I've no way to test the CPU
So, fixed NOPgen & clock circuit. Verified that all data lines are showing correct hi / lo values to spell out NOP value. Ran board with radio nearby and can hear the interference from the clock circuit as before. Still no tones from any of the addr lines.
Will check the lines as suggested (using a multimeter).
In the meantime, have ordered a logic probe, which should be here by the weekend.
Incidentally, the MAX232 output is something like 2.5v on Tx line (assuming it is idle).
I've no way to test the CPU