micro controllers and eproms... - diyAudio
Go Back   Home > Forums > Design & Build > Parts

Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 16th August 2004, 08:57 PM   #1
alecwek is offline alecwek  Denmark
diyAudio Member
 
Join Date: Jul 2004
Location: dk
Question micro controllers and eproms...

hey does any one know what it would take to program them....i guess some sort of serial port programmer right??.....but what about the code...what would that be in....anyone know articles....
  Reply With Quote
Old 16th August 2004, 09:01 PM   #2
Nisbeth is offline Nisbeth  Denmark
diyAudio Member
 
Nisbeth's Avatar
 
Join Date: Jan 2001
Location: Denmark
Click the image to open in full size.


/U.
  Reply With Quote
Old 16th August 2004, 09:28 PM   #3
alecwek is offline alecwek  Denmark
diyAudio Member
 
Join Date: Jul 2004
Location: dk



ok how about this...can you copy eprommed codes down...for example if you want to mess around with a machine...can you copy the codes to a computer...so that when....as it is innevitable....it f&%s up i can just replace it with a new one...but with the old code....or is this impossible...


i shall use google before asking dumn questions....i shall us go.....
  Reply With Quote
Old 17th August 2004, 11:58 AM   #4
Schaef is offline Schaef  United States
diyAudio Member
 
Join Date: Jan 2001
Location: Cuyahoga Falls, OH
Quote:
Originally posted by alecwek



ok how about this...can you copy eprommed codes down...for example if you want to mess around with a machine...can you copy the codes to a computer...so that when....as it is innevitable....it f&%s up i can just replace it with a new one...but with the old code....or is this impossible...


i shall use google before asking dumn questions....i shall us go.....

Yes you can, if that's what you're looking to do, you'll need an eprom reader and eventually an eprom burner. Both can be found on electronics sites. As to what you can do with it, that depends on what you're trying to do and which controller it is.

In other words, google for eprom burners and readers. That'll get you started.
  Reply With Quote
Old 17th August 2004, 01:16 PM   #5
diyAudio Member
 
jackinnj's Avatar
 
Join Date: Apr 2002
Location: Llanddewi Brefi, NJ
Quote:
Originally posted by Nisbeth
Click the image to open in full size.


/U.

one of the best ways of starting is with a Basic Stamp from Parallax www.parallax.com -- the reason being that programming a MCU isn't that difficult -- oftentime the difficulty arises in the interfaces, whether to use a pull-up or pull-down resistor, setting the analog interfaces. The Stamp software is free, there are several support groups. The windows-based programming environment has great debugging tools.

Once you've developed some expertise in Stamp Applications you can move onto the micro-controllers from Microchip, Motorola, Intel, Atmel, Texas Instruments -- there are even programs which "look like" Stamp Basic.

btw, you should be subscribing to Elektor -- they have several microprocessor based projects every month.

I think you'd be less frustated if you started with a Stamp, got some projects to work, then moved into PICs or AVR's.

Jack
  Reply With Quote
Old 17th August 2004, 01:27 PM   #6
alecwek is offline alecwek  Denmark
diyAudio Member
 
Join Date: Jul 2004
Location: dk
thanks ill look into the stamp....thingy....whats the mager difference...or rather disadvantage....slower processing...or is it just smaller ic that can only run simple code?
  Reply With Quote
Old 17th August 2004, 01:51 PM   #7
diyAudio Member
 
led_zeppelin's Avatar
 
Join Date: Nov 2003
Location: Birmingham
Erm... microcontrollers are great fun and pretty easy...

I cant really speak about the basic stamp, as i've never used it but heard many good words said about it...

I would like to bring Picaxe to the thread!! Revolution education have a great line of microcontrollers.

A little explination.
It took me really quite a while to get a grasp of some of this but i'll put it really simple.

As has been said... programming microcontrollers isn't always so easy... however using flash based mc's makes things alot easier (PIC16Fxxx F for Flash). Programmers can be found for around 40usd$ on the net but they are not always needed.

Geting into pic's in a big way one would require a programmer but as a start, and really quite a good and indepth one, revolution offer a real ace solution.

The flash based pic's have a useful function that is to be able to re-write their own memory whilst a program is running. This is where revolution program the pic's with a small program called a bootstrap... basically on startup of the pic it looks for a signal on a data recieve pin, which if preasent switches into a program mode, and it programs itself from a 3 wire serial interface... nothing required except some cable, a pc with a serial port and a D style socket.... it connects straight to the port. Rev do their own programming editor which i have found (a level electronics) has more than enough functionality and is not 'childish' in any way. a simple knowledge of the basic programming language is helpful but by using the flowchart program maker and then looking at the generated code, even 15 year olds with a handful of braincells catch on... its a reall good way of learning, and as i say, it still has significant depth to be able to make something useful!

Pic's are available with the bootstrap code programmed for like 2 odd and any help as far as wiring or code comes in the really good pdf help files or you can feel free to email me any questions and as and when i get online i will andswer!

Also... many of these pic's have eeprom data area in them and programming it with the serial interface is as simple as:

eeprom startaddress(bit1,bit2,bit3 etc...)

the pics have upto 256b of eeprom data onboard... but you can buy a i2c eeprom that connects to the pic by 2 cables and you can get upto like a meg of room... which when programming is a rediculous amount of room...

A bit more depth... just for your understanding... pic's run programs that are in hex... usually you use a higher level programming landuage and then compile it into assembler, then hex and download the hex file... but many languages i have found for free are hard for me to get my head around, but i'm getting there slowly!

If you need any help pls email or post, and i'd gladly try to get you set up with something working. I have had immense help from diyaudio regarding my poweramp projects and horn loaded bass cabs, so its about time i shoveled some of my knowledge in, useless as a lot of it may be!!

Cheers

Matt
__________________
DIY, The only way to do it.
  Reply With Quote
Old 17th August 2004, 01:56 PM   #8
diyAudio Member
 
led_zeppelin's Avatar
 
Join Date: Nov 2003
Location: Birmingham
slight amendment....

pics have many wonderful built in features and picaxe support many of them such as 10bit and 8bit analogue to digital, dedicated pwm processor and i2c comms, usart and they throw in commands to make infra red and other cool stuff easy... really, its the best i've found.
__________________
DIY, The only way to do it.
  Reply With Quote
Old 18th August 2004, 12:01 AM   #9
diyAudio Member
 
Join Date: Dec 2003
Location: Montreal
In my synth, there's a 27512 EPROM. I want to put the latest firmware in it and I need an UV eraser if I keep the same chip(And it makes it work slower after). So, I wondered if I could just put a 28512 EEPROM instead of the 27512(So I don't need a UV eraser to erase it if there is a programming error).


Quote:
hey does any one know what it would take to program them....i guess some sort of serial port programmer right??.....but what about the code...what would that be in....anyone know articles....
Just click
here.
There, you will find a lot of cheap DIY eeprom programmers(Don't play with eproms, you need to pay 150$USD to buy a light to erase them or play with UV tubes, which is dangerous, use eeproms instead, if you desing the thing, if it's to replace an eprom, you'll know if yes or not after I'm being replied).
  Reply With Quote
Old 18th August 2004, 11:19 AM   #10
alecwek is offline alecwek  Denmark
diyAudio Member
 
Join Date: Jul 2004
Location: dk
man i love this forum....thanks a lot guys....im now really into the idea...but wait...dyou actually mean i dont need to learn all the hex and binary algibra...i can just us c+ then compile it ....hmm...nice cause binary math is slightly scary......anyway.....im off to start a wonderful new hobby....thanks guys.....
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EPROMS, MOSFETs, and other goodies! ungie Swap Meet 3 6th May 2010 03:07 PM
Micro Jacks and Micro Pins for board-board connection jazzist Parts 1 12th May 2008 03:02 PM
FS/FT EPROMS/PIC Controller Kit/Power Supply dj_oatmeal Swap Meet 1 19th April 2008 03:15 PM
know of good website dedicated for eproms prorms Digital Source 8 4th November 2007 01:29 AM


New To Site? Need Help?

All times are GMT. The time now is 06:44 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2