Obviously you never got to mess with the RC65C02.good old days with Z80. That was one cool 8 bit CPU.
Do you have a signal at the clk pin? Is the reset pin at 5vdc while running? I have a old 8085 based adaptec controller board. (scsi to smd interface) but it needs a little help (shorted 7805) to get going. From a quick look at circuit traces, the reset circuit uses a tl7705 with a 4.7K resistor from vcc to pin 5 (tl7705) tied to pin 36 (8085) for the reset signal generation.Perhaps some one can help me... nothing works :-(
I'm pretty sure I have my ROM and UART wired up correctly but I can't get it to do anything.
I thought it was my code but when I logic probe the circuit I notice that all the data and address lines are tri-stated, and the latched address [0-7] is all logic zero.
Hitting the reset button does nothing.
I have all the interrupts grounded, should it not start running at 0x0000?
![]()
RESET IN:
This pin resets the program counter to 0 and resets interrupt enable and HLDA flip-flops. The CPU is held in reset condition until this pin is high. However the flags and registers wont get affected except for instruction register.
I'm not sure what that would accomplish... I already have the SOD pin going on and off (although with no delay) and that runs in an infinite loop.Make a test program which sets the LED on followed maybe 1 ms afterwards by an off state then goes into an infinite loop. If it's your program, the code will run fine; if it's your reset circuit, the LED will be blinking.
Seems a software bug to me stopping at 17 and not some random number every time but we need the program listing to be sure.Ok so I've made some progress, after fixing the reset circuit and a few pins that needed to be grounded (do'h) I've got a looping program that blinks the SOD pin on and off.
Now I wrote a program to output data on my UART and it works... almost.
It is supposed to output a null terminated string that is 38 characters long and then halt.
For some reason it only outputs 17 of those characters and then goes into a halt state. I don't think its my software because when I null terminate the string before 17 characters it prints fine... it just seems to die.
I kind of suspect that its the reset circuit still because sometimes it prints a few less characters if I tap the reset button fast and don't hold it down. But I followed what the data sheet asked for.
I've attached the latest schematic. Any ideas what could be going on?
Ah yes I think I figured it out.Seems a software bug to me stopping at 17 and not some random number every time but we need the program listing to be sure.
It looks like you need add logic for the C/D pin on the usart to read status for hardware polling.Ah yes I think I figured it out.
I think its because it keeps writing to the UART's buffer faster than it can send its data out so I need to make sure it waits for the buffer to have room before it sends out more data.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
|
Address decoding - Intel 8085 | Digital Design | 10 | |
V | Intel 8085 microprocessor | Programming & Languages | 36 | |
V | Intel 8085 microprocessor | Microcontrollers | 40 | |
R | intel 8085 microprocessor and 8155 PIA | Homework Help | 3 | |
S | Intel Microprocessors 8085 & 8086 | Homework Help | 1 |
by Duane Benson
by Aaron Carman
by Duane Benson