6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 5:13 pm

All times are UTC




Post new topic Reply to topic  [ 297 posts ]  Go to page Previous  1 ... 14, 15, 16, 17, 18, 19, 20  Next
Author Message
 Post subject:
PostPosted: Wed Sep 08, 2010 4:23 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Non sequitor here: Electric_eye, how hot does the CPU get when driven at 20MHz?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 08, 2010 5:28 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
kc5tja wrote:
Non sequitor here: Electric_eye, how hot does the CPU get when driven at 20MHz?


No hotter than room temp, right now @78F. The warmest IC is the 2Mx8 SRAM.

It's undergoing no stress test right now though. I was just amazed it ran at all at that speed. The WDC spec's are VERY conservative. I'm sure they tested it under ALL conditions. Maybe if I lived at the equator I wouldn't get away with this speed...

Back down to 5MHz when running from SRAM ATM.
Still having problems with indirect indexed 16K copy using $00 and $01. I even tried to shorten 16K to 4K ($F000-$FFFF), i.e. bring it close to where I was having success copying $FF00-$FFFF without indirect indexed. no luck yet.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 08, 2010 9:11 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
ElEctric_EyE wrote:
kc5tja wrote:
Non sequitor here: Electric_eye, how hot does the CPU get when driven at 20MHz?

No hotter than room temp, right now @78F...Maybe if I lived at the equator I wouldn't get away with this speed...

Sure you would. Just hook up a fan...

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 08, 2010 9:54 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
BigDumbDinosaur wrote:
ElEctric_EyE wrote:
kc5tja wrote:
Non sequitor here: Electric_eye, how hot does the CPU get when driven at 20MHz?

No hotter than room temp, right now @78F...Maybe if I lived at the equator I wouldn't get away with this speed...

Sure you would. Just hook up a fan...


What kind of fan would you recommend BDD? There are many other cooling options available. Water cooled is even better then air... Even better is liquid nitrogen/oxygen. Is this what you were thinking? That will get you down to -273 Celcius.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 08, 2010 10:49 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
If you get it super cold, you'll have to dry the air before it touches the cold board and parts so condensation doesn't produce another set of problems! :lol:


Top
 Profile  
Reply with quote  
 Post subject: !
PostPosted: Thu Sep 09, 2010 1:02 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Right. Thanks. I'm done here for awhile


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 09, 2010 1:33 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
I don't think you'd necessarily need a fan; but maybe a larger heatsink. And, if that kind of cooling WERE needed, a cup with an icecube in it should work fine. After all, such a trick allowed the author of the C128 port of CP/M to complete his work before the Las Vegas CES show in 1984!!

Anyway, I'm glad to hear that the 20MHz operation doesn't contribute significantly to thermal concerns.


Top
 Profile  
Reply with quote  
 Post subject: Fill It 'n Chill It
PostPosted: Thu Sep 09, 2010 4:06 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
ElEctric_EyE wrote:
BigDumbDinosaur wrote:
ElEctric_EyE wrote:
kc5tja wrote:
Non sequitor here: Electric_eye, how hot does the CPU get when driven at 20MHz?

No hotter than room temp, right now @78F...Maybe if I lived at the equator I wouldn't get away with this speed...

Sure you would. Just hook up a fan...


What kind of fan would you recommend BDD? There are many other cooling options available. Water cooled is even better then air... Even better is liquid nitrogen/oxygen. Is this what you were thinking? That will get you down to -273 Celcius.

Hey, I like the idea of liquid nitrogen. Should be able to crank that '816 up to a couple of gigahertz with that kind of cooling, no?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 09, 2010 2:19 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
fachat wrote:
... Maybe you should check whether your assembler optimized the "LDA $0000" to "LDA $00", i.e. from absolute to zeropage addressing...André


M. Kowalski's assembler does optimize this. Changed it from an $AD to $A5 opcode.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 22, 2010 10:19 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
I was ready to abandon this project yet again soon after my last post here. At the time, some problems seemed insurmountable from my lone hobbyists' point of view...

Don't get me wrong, lots of good people have helped me in this forum (also Xilinx' forums) which is one of the reasons I am able to push forward with confidence. But when it comes down to making a circuit work on a piece of error laiden software (ISE 10.1), it becomes downright demoralizing if you don't know how to correct the "problem".

Andre suggested to perform "Clean Up Files". I've done this many times, but I was petrified to do this because sometimes I would just get an error with no explanation and at this point I would have to reenter the schematic from scratch.

After these past couple months of working with the Spartan 2 FPGA, I've learned to save "chapters" of progress, i.e. many different folders containing project files, each folder with new, updated modifications. Some of these would even crash and I would have to regress to a previous folder, one that could tolerate a "Clean Up Files" and continue on to create a useable JTAG file. I really felt like 1 step forward, 2 steps backwards. You can imagine how frustrating this would be! Many of us have been there more than once, during prototyping. Hobbyist or not!!

Question: Why pursue it?

Answer: I'm hardheaded, stubborn and determined. Eager to learn. And, from experience, I know Xilinx XC9572 CPLD's worked very well in ISE 11.1 in my last iteration. No issues in ISE 11.1 as in ISE 10.1. This one issue only that I've had to deal with, as mentioned in the previous paragraph.

Some advice I can give at this point: If anyone chooses ISE10.1 (you have to if using a Xilinx legacy product like the Spartan 2) for schematic input and are experiencing similar issues, I recommend this thread: ( http://forums.xilinx.com/t5/Old-ISE-Boa ... /m-p/21544 . In addition, I used the schematic file only, from the previously crashed project folder, as a copy source file into the new project. Saves me hours of work, takes less than a minute, and keeps me motivated! Some other file must be defuncting ISE. Thankfully not the schematic file.

My other piece of good news is I have the Atmel ATTiny24 programmed, including fuses, and ready to wire in (Thanks to Daryl!) for a PS2 keyboard interface. My intention is to use a very simple monitor to modify the OS in SRAM so I can quickly reprogram it to experiment with the display.I'm tired of waiting 40 seconds for each "burn" for the 512K EEPROM for a single variable change!!

Last bit of news is the most exciting for me. I have abandoned my lame 4 bit counter idea to copy EEPROM to SRAM to make the 6502 run faster from SRAM. I have also abandoned my idea to entirely copy the 512K EEPROM onto the 2M SRAM.

I have a 1 bit software programmable flip flop controlling phase 2 frequency "on the fly", using a synchronizer similar to Paul Fellingham's? creation: http://6502.org/mini-projects/clock-swi ... ching.html . But here: http://www.design-reuse.com/articles/?id=5827&print=yes to avoid metastability issues inherent inside hi speed FPGA's. Just two more flip flops, and abit more delay after the phase 2 switch which is tolerable.

Once I get it working at top speeds, the intent is to copy as needed any size, at any time, and from anywhere inside a 512Kx8 banked EEPROM to anywhere inside a 2Mx8 banked SRAM while the OS is smoothly running withOUT resetting. Software branches and jumps will still be limited to be within the window size.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 22, 2010 11:04 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
Did you get my email with the diagram? It's a slightly simpler way to accomplish the purpose without glitches. (Not that you have to use it, but I have not gotten any confirmation that you got it.)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 23, 2010 12:04 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Garth, I do see your cycle stretch circuit. Thank you for your help and taking the time to scan it! Looks like it would work if using discrete logic, not sure about FPGA. I will try it out next week! and report back.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 23, 2010 12:25 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Just curious -- maybe this was brought up previously and I just missed it. Any reason for not using the RDY signal to introduce CPU wait-states instead of stretching cycles? Just curious.

If this WAS discussed previously, just PM me a URL to read.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 23, 2010 12:44 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
kc5tja, thank you for responding. It was brought up by Dr. Jefyll a few posts ago, but...

I am unfamiliar with slowing the 6502 down this way. From what little I understand, I could force a hardware RDY state by WAI command, or send a hardware signal straight to the RDY pin?

I'm unsure how to go about this.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 23, 2010 1:10 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
If I didn't have so much on my plate now, I'd try to write up a tutorial. :/

Yes, RDY can be driven externally as well as internally. The idea for the internal drive was to let an external LED illuminate (via buffering) for diagnostic purposes (at least that's what is written in my data sheet). This is why one should use a resistor to feed RDY.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 297 posts ]  Go to page Previous  1 ... 14, 15, 16, 17, 18, 19, 20  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: