Project: Digital Fuel Injector Pulse Width Analyzer
Digikey, arrow, and mouser for electronic components.
Unfortunately, most of the brand-named programmers are $200+. I have found that ebay offers the best bang for the buck, as long as you research the parts to be sure they are supported. Unfortunately, my programmer is not currently on ebay (Genius NSP Serial port version).
As this is purely hobby, I have been reluctant to invest in the higher dollar commercial products. I instead have sought the contributions of other hobbyists and those vendors who offer free development tools with their products. Xilinx has the ISE Webpack (free) for their CPLD and FPGA's. Atmel has a CUPL compiler for the GAL's (free). There are many free assemblers for the 65C02. And Atmel has an integrated assembler and simulator for their AVR's (free).
Again, I went to ebay to find very cheap programming adapters for the Xilinx and AVR parts. These are not high quality with all the bells and whistles, but they do allow for the basics. I could not have developed the SBC-3 without tools such as these.
Daryl
Unfortunately, most of the brand-named programmers are $200+. I have found that ebay offers the best bang for the buck, as long as you research the parts to be sure they are supported. Unfortunately, my programmer is not currently on ebay (Genius NSP Serial port version).
As this is purely hobby, I have been reluctant to invest in the higher dollar commercial products. I instead have sought the contributions of other hobbyists and those vendors who offer free development tools with their products. Xilinx has the ISE Webpack (free) for their CPLD and FPGA's. Atmel has a CUPL compiler for the GAL's (free). There are many free assemblers for the 65C02. And Atmel has an integrated assembler and simulator for their AVR's (free).
Again, I went to ebay to find very cheap programming adapters for the Xilinx and AVR parts. These are not high quality with all the bells and whistles, but they do allow for the basics. I could not have developed the SBC-3 without tools such as these.
Daryl
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Quote:
I'm planning on using the same ADC I used 10 years ago, an ADC0820. It is half flash, half successive approximation like your Maxim, 'cept it's made by TI, TLC0820. Price is about 1/5 of what it used to be. Only $3 from Mouser...
Quote:
I've overclocked MOS6502's rated at 1MHz to 4MHz. But I am anticipating problems going for...
Quote:
Oh I hear you dude. upload the matrix from OS EEPROM to the memory decode RAM. How sweet, but the chipcount on MUXin the address and data of the RAM, is it worth a try? I am thinking yes, especially if you could have a dynamic memory decode which would change under certain conditions.
Quote:
One question though since I am planning to run the CPU at full speed 14 MHz. How much of a prop delay is acceptable for memory mapping logic?
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
GARTHWILSON wrote:
What I hate about the PICs is their processor. The 6502 and '816 are way ahead in that regard.
I reckon a single 18F4620 ($5.21 ea.) could do everything - this is the kind of job they excel at - its contains the equivalent of at least one VIA (depends how you use the ports), an ACIA, an A/D converter, 64K Flash ROM and 3.5K RAM and can do 8-9 MIPS on a 10Mhz crystal with the PLL enabled. The development IDE is free, as is the student version of the C compiler. A PICKit 2 programmer/real-time debugger is $49.99 with a demo card to practice on and integrates with the IDE.
The most expensive item in the whole project will be the display. A 320x240 GLCD module is going to set you back ~$100.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
The price is up to about $72, but here is the newer verison (USB) of my programmer:
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0276553584
A better device list and programming software can be found in this auction (same device):
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0302029423
They do come from Asia, and the support is not very good, but for the price, you cannot do much better. This one even programs some of the AVR's directly!
Daryl
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0276553584
A better device list and programming software can be found in this auction (same device):
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0302029423
They do come from Asia, and the support is not very good, but for the price, you cannot do much better. This one even programs some of the AVR's directly!
Daryl
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
The 65C02 simulator can be used to verify your code, for the most part. The I/O support will not be exactly the same as your final system. You will also need an assembler to convert your source code to binary. I used the TASS assembler to write the SBC-2 and SBC-3 System Monitors and used my Genius Programmer to write all of the EEPROMs.
As an alternative, try Michal Kowalski's IDE, found here:
http://home.pacbell.net/michal_k/6502.html
It has a simulator and built-in Assembler and can generate the binaries as well.
Yes, the programmer's software can load and write any binary file to an E(E)PROM.
Daryl
As an alternative, try Michal Kowalski's IDE, found here:
http://home.pacbell.net/michal_k/6502.html
It has a simulator and built-in Assembler and can generate the binaries as well.
Yes, the programmer's software can load and write any binary file to an E(E)PROM.
Daryl
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
8BIT wrote:
...I used the TASS assembler to write the SBC-2 and SBC-3 System Monitors and used my Genius Programmer to write all of the EEPROMs.
8BIT wrote:
...As an alternative, try Michal Kowalski's IDE, found here:
http://home.pacbell.net/michal_k/6502.html.
It has a simulator and built-in Assembler and can generate the binaries as well..
http://home.pacbell.net/michal_k/6502.html.
It has a simulator and built-in Assembler and can generate the binaries as well..
BTW, I am going to try to update my purpose intro if it will still let me edit. My handwriting can be hard on the eyes, especially after a long day at work... Today I got some 4x4 per inch graph paper, and all future schematics will be abit more professional. Wish I could have gotten 16x16 per inch...
Also, I'm going to stick to standard memory addressing (I.E. use a 138 for 8Kx8, and 2 154's for I/O ports), forget the esoteric for now, and use the F series for the speed. And, even though that Maxim equivalent part for the 0820 is 2x the price at $6 each, a megasample/sec is worth the price. Thank you all for your input.
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
BitWise wrote:
...The most expensive item in the whole project will be the display. A 320x240 GLCD module is going to set you back ~$100.
Tass runs on a PC but assembles 6502/65C02 assembly files (ASCII Text) into binary files. These binaries are read by the programmer software, running in Windows, and sends it to the target device. The end result is a programmed EPROM.
More freeware - check out ExpressPCB.com. They have a free schematic and PCB layout CAD program. It is designed to create PCB's that they manufacture for you. However, the schematic program can export to a Bitmap file. That's how I generate most of my SBC-2 and all of my SBC-3 schematics. Its not hard to learn and you can create your own parts if they do not already exist in the libraries.
Daryl
More freeware - check out ExpressPCB.com. They have a free schematic and PCB layout CAD program. It is designed to create PCB's that they manufacture for you. However, the schematic program can export to a Bitmap file. That's how I generate most of my SBC-2 and all of my SBC-3 schematics. Its not hard to learn and you can create your own parts if they do not already exist in the libraries.
Daryl
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
ExpressPCB seems to be expanding. Last time I was there about 6 months ago, they were offering 3 boards for $65, and didn't have that software available. Now they're down to $51 for 3 boards, and that schematic program is quite good. Much better than drawing on paper, and about 5 times faster. 
Gonna check out the assemblers, in a couple days, after I catch up on schematics. Thanks alot for that info Daryl. That programmer is coming from Hong Kong, probably going to be a couple weeks eh?
Gonna check out the assemblers, in a couple days, after I catch up on schematics. Thanks alot for that info Daryl. That programmer is coming from Hong Kong, probably going to be a couple weeks eh?
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
The last time I looked into it which was definitely more than six months ago, they did offer their own software free, but the drawback for me was that they would not accept gerber files from any other software. You could only use theirs. For our company work, I use CAD that puts out industry-standard gerber and excellon files. I rather keep using that for a few reasons. It takes a long time to not only get really proficient at a particular CAD software package, but also to learn its quirks and how to get around them (since none of the software packages are perfect), learn how to do things that aren't in the manual, etc.. My CAD also does not run under Windoze
.
Of all the schematic-capture software packages I've tried, I have not liked any of them though, so I keep doing schematics by hand only. I got very proficient and fast at OrCAD at my last place of work, but hated it. It had more bugs than an ant hill (although they might not be a problem for a casual user).
Of all the schematic-capture software packages I've tried, I have not liked any of them though, so I keep doing schematics by hand only. I got very proficient and fast at OrCAD at my last place of work, but hated it. It had more bugs than an ant hill (although they might not be a problem for a casual user).
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Not that it maters, but I have used ExpressPCB since 2001. Somewhere between SBC2 v2.3 and v2.5, the schematic portion was born. That puts the date somewhere between 2002 and 2003.
As far as easy, full-featured, and portable go, its not the greatest. However, it is FREE to use. Somehow, that makes it a good tool in my book.
Just my opinion though, I certainly respect the opinions of others as well.
Daryl
As far as easy, full-featured, and portable go, its not the greatest. However, it is FREE to use. Somehow, that makes it a good tool in my book.
Just my opinion though, I certainly respect the opinions of others as well.
Daryl
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Can you guys help me out? Do you see any problems?
EDIT: Tested
EDIT: Tested
6502.org wrote:
Image no longer available: http://i207.photobucket.com/albums/bb73/ultimateroadwarrior/MemoryMapping.jpg
Last edited by ElEctric_EyE on Sun May 24, 2009 7:58 pm, edited 1 time in total.