Error in data bus while writing
Posted: Mon May 11, 2020 12:12 pm
Hi everyone, I'm bulding a simple computer with a Rockwell 6502P, but I'm having problems with the writing process.
I connected the 6502 to an arduino and to a w27c512 EPROM to test it. I loaded the code for load the accumulator with memory and then push it into the stack.
When it's time to write the memory, the R/W pin goes LOW, the EPROM is set in high impedence state (because of the A15 pin goes LOW), but the data bus of the 6502 seems to remain in high impedence state or reading state.
In fact, the arduino reads in the data bus the same byte of the previous instruction, and if I put a 10Kohm resistor as pull-up on each line of the bus, the byte read is FF.
The pin that I connected to the Vcc are: IRQ, NMI, VCC, RES, SO, BE.
PHI2 frequency is 10Hz.
RDY is connected to Vcc with a 1Kohm resistor.
What can I do? Could be the chip bad?
Thanks.
I connected the 6502 to an arduino and to a w27c512 EPROM to test it. I loaded the code for load the accumulator with memory and then push it into the stack.
When it's time to write the memory, the R/W pin goes LOW, the EPROM is set in high impedence state (because of the A15 pin goes LOW), but the data bus of the 6502 seems to remain in high impedence state or reading state.
In fact, the arduino reads in the data bus the same byte of the previous instruction, and if I put a 10Kohm resistor as pull-up on each line of the bus, the byte read is FF.
The pin that I connected to the Vcc are: IRQ, NMI, VCC, RES, SO, BE.
PHI2 frequency is 10Hz.
RDY is connected to Vcc with a 1Kohm resistor.
What can I do? Could be the chip bad?
Thanks.