Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Discussion Groups

Discussion Groups | Piclist | flash memory vs EEPROM

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

I2C example? - upand_at_them - Aug 3 23:14:00 2004


I'm interested in using a 16F88 with a couple I2C devices and,
looking through the PIC datasheet, it looks WAY more complicated than
me just writing big-bang routines.

Is there a simple example of using the onboard I2C interface or
should I just write the simple big-bang routines?

Mike






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: I2C example? - Wilson - Aug 4 7:12:00 2004

I2C routines is complicated if you never used it. Try type on Microchip´s
web site "I2C" and you´ll find many applications, routines and detailed
documents about this issue.

Try out !!

Wilson Antonieti Engenharia de Desenvolvimento Tel.: (11) 4223-5117 Fax.:
(11) 4223-5103 Visite nosso site: www.contemp.com.br
PRECISÃO AO SEU ALCANCE!!!
----- Original Message -----
From: "upand_at_them" <>
To: <>
Sent: Wednesday, August 04, 2004 1:14 AM
Subject: [piclist] I2C example? > I'm interested in using a 16F88 with a couple I2C devices and,
> looking through the PIC datasheet, it looks WAY more complicated than
> me just writing big-bang routines.
>
> Is there a simple example of using the onboard I2C interface or
> should I just write the simple big-bang routines?
>
> Mike >
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

flash memory vs EEPROM - rashid husain - Aug 4 9:34:00 2004

Hi All,

A very naive question.
What is the different between flash memory and EEPROM?
What do you install in flash memory and EEPROM?
As far as I know, flash for program code, and variable
in EEPROM or RAM.

tq..

hole

__________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: flash memory vs EEPROM - upand_at_them - Aug 4 10:06:00 2004

It's not a naive question at all. I'm still not sure of the
difference, but I think flash may be a type of EEPROM:

http://www.webopedia.com/TERM/F/flash_memory.html
http://www.webopedia.com/TERM/E/EEPROM.html

Even DigiKey lists the F (flash) PIC parts in their catalog as EEPROM.

Mike

--- In , rashid husain <wfm6453@y...> wrote:
> Hi All,
>
> A very naive question.
> What is the different between flash memory and EEPROM?
> What do you install in flash memory and EEPROM?
> As far as I know, flash for program code, and variable
> in EEPROM or RAM.
>
> tq..
>
> hole >
>
> __________________________________




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: flash memory vs EEPROM - upand_at_them - Aug 4 10:08:00 2004

Also...

I think EEPROM is where geeks take their girl robots.

Mike

--- In , rashid husain <wfm6453@y...> wrote:
> Hi All,
>
> A very naive question.
> What is the different between flash memory and EEPROM?
> What do you install in flash memory and EEPROM?
> As far as I know, flash for program code, and variable
> in EEPROM or RAM.
>
> tq..
>
> hole >
>
> __________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: Re: flash memory vs EEPROM - Trampas - Aug 4 10:29:00 2004

Flash memory requires you to erase a block of memory at a time. EEPROM allows you to erase one location in memory. There will also be different erase/write cycles for each memory.

 

Basically Flash memory is good for data which does not change often, if the data does change often you need some advance algorithms to make sure you do not erase blocks to many times, etc.

 

EEPROM is good for data that does change often as you can erase an write back to same memory location. Again pay attention to the erase/write cycles.

 

Back in the old days you had EPROMs which generally were erased by UV light. Then came EEPROMs which could be erased electrically, then came flash. Originally PICs had code stored on EPROMs now a days the F parts have code in Flash but sometimes people get confused and still say the code is stored in EPROM.

 

Regards,

Trampas

 

 

-----Original Message-----
From: upand_at_them [mailto:u...@yahoo.com]
Sent: Wednesday, August 04, 2004 11:09 AM
To: p...@yahoogroups.com
Subject: [piclist] Re: flash memory vs EEPROM

 

Also...

I think EEPROM is where geeks take their girl robots.

Mike

--- In p...@yahoogroups.com, rashid husain <wfm6453@y...> wrote:
> Hi All,
>
> A very naive question.
> What is the different between flash memory and EEPROM?
> What do you install in flash memory and EEPROM?
> As far as I know, flash for program code, and variable
> in EEPROM or RAM.
>
> tq..
>
> hole
>
>
>
>            
> __________________________________
>


to unsubscribe, go to http://www.yahoogroups.com and follow the instructions





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: flash memory vs EEPROM - Igor Janjatovic - Aug 4 11:27:00 2004

> A very naive question.
> What is the different between flash memory and EEPROM?
> What do you install in flash memory and EEPROM?
> As far as I know, flash for program code, and variable
> in EEPROM or RAM.

RAM - Unlimited number of erase/write cycles, very fast. Used to store
application variables (dynamic data). Data is lost when power goes down.

FLASH - 100.000 erase/write cycles. Used to store application code,
constants, tables and other static data. Slow. Program is stopped while MCU
does self-programming of its FLASH memory (if self-programming is available
on that MCU). Processor can't write its program memory (Flash) and execute
code from that same memory at the same time so writing to Flash is tricky.
Could be used to store calibration data since these values are changed
rarely. Non-volatile memory.

EEPROM - 1.000.000 erase/write cycles. Used to store calibration data and
variables that will not be changed more than 1mil times during expected
product life. You can initiate EEPROM programming without interrupting your
application. When writing is done, there is bit that is set or even IRQ can
be generated. Non-volatile memory.

I'm using RAM for variables, Flash for code, constant and tables, and EEPROM
for calibration data and variables that are not changed so frequently.

Usually, that's how it goes...

Regards,
Igor





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: I2C example? - Kees Stenekes - Aug 5 8:26:00 2004

Mike,

Writing i2c-master routines in bit-bang is not so
hard, but writing i2c-slave routines is a hell of a
job. I succeeded my own projects with multiple
12f629's as slaves and a 16f628a as master, but I have
to confess that my slave-routines are 'polling' and
not interrupt-driven. I've been working on an
interrupt-version, but I did not succeed so far.
If you want, I can send you my routines (assembler).

Greetings,

Kees Stenekes

--- Wilson <> wrote:

> I2C routines is complicated if you never used it.
> Try type on Microchip�s
> web site "I2C" and you�ll find many applications,
> routines and detailed
> documents about this issue.
>
> Try out !! >
>
> Wilson Antonieti Engenharia de Desenvolvimento Tel.:
> (11) 4223-5117 Fax.:
> (11) 4223-5103 Visite nosso
> site: www.contemp.com.br
> PRECIS�O AO SEU ALCANCE!!!
> ----- Original Message -----
> From: "upand_at_them" <>
> To: <>
> Sent: Wednesday, August 04, 2004 1:14 AM
> Subject: [piclist] I2C example? > > I'm interested in using a 16F88 with a couple I2C
> devices and,
> > looking through the PIC datasheet, it looks WAY
> more complicated than
> > me just writing big-bang routines.
> >
> > Is there a simple example of using the onboard I2C
> interface or
> > should I just write the simple big-bang routines?
> >
> > Mike
> >
> >
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com
> and follow the
> instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
>
__________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

LCD Noise problem - R Ramesh - Sep 14 6:05:00 2004

Hi all

I m using 16F877 Controller and the LCD display in my system ,my other process in the system effects the display oftenly.

Can I use an buffer ( line driver between LCD and Microchip),When i check with the Osciloscope i saw all the singmal amd control line & power line of the LCD has some  noise.Due to this noise the display collapse( shift by one character) after few hrs then need to restart then its ok,

thanks,

ramesh

 

 





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Noise problem - Leon Heller - Sep 14 7:11:00 2004


----- Original Message -----
From: R Ramesh
To:
Sent: Tuesday, September 14, 2004 12:05 PM
Subject: [piclist] LCD Noise problem Hi all
I m using 16F877 Controller and the LCD display in my system ,my other
process in the system effects the display oftenly.
Can I use an buffer ( line driver between LCD and Microchip),When i check
with the Osciloscope i saw all the singmal amd control line & power line of
the LCD has some noise.Due to this noise the display collapse( shift by one
character) after few hrs then need to restart then its ok,

What type of LCD display are you using?

You really need to find the source of the noise. I doubt if a buffer would
help.

Leon
--
Leon Heller, G1HSM
http://www.geocities.com/leon_heller





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: LCD Noise problem - Vincent Clerc - Sep 14 8:50:00 2004

Hello Leon,

Did you put some bypass capacitors in your design.
Each time you perform an action, your parts will sink current. If the
power supply has no 'reserve' to provide the current that is suddently
required, the Voltage will drop in accordance.

If you already have Bypass Cap, try to enlarge the capacity.

Also check for routing of your board. What you describe could also come
from cross talk between asynchronous functions running in parallel.
You should avoid data tracks routed in parallel of clocks or power
tracks.
Also avoid rapidly changing signal tracks routed under critical
components.

Don't forget that the activity of a board 'can' indirectly be monitored
trough it's power lines for example.
Do not under estimate the cross talk (both capacitive and inductive
coupling) between wires.

One last thing, which is quit the same as putting some bypass capacitor,
try to filter the power line, before and after the regulators.
If capacitors are insufficient, try to use a little inductor in line
with the VCC.

Good luck,

Vincent

IDTECT
115, rue Réaumur - 75002 - PARIS
Tel : 01 55 34 76 64
Fax : 01 55 34 76 75
www.idtect.com -----Original Message-----
From: Leon Heller [mailto:]
Sent: mardi 14 septembre 2004 14:12
To:
Subject: Re: [piclist] LCD Noise problem
----- Original Message -----
From: R Ramesh
To:
Sent: Tuesday, September 14, 2004 12:05 PM
Subject: [piclist] LCD Noise problem Hi all
I m using 16F877 Controller and the LCD display in my system ,my other
process in the system effects the display oftenly.
Can I use an buffer ( line driver between LCD and Microchip),When i
check
with the Osciloscope i saw all the singmal amd control line & power line
of
the LCD has some noise.Due to this noise the display collapse( shift by
one
character) after few hrs then need to restart then its ok,

What type of LCD display are you using?

You really need to find the source of the noise. I doubt if a buffer
would
help.

Leon
--
Leon Heller, G1HSM
http://www.geocities.com/leon_heller

to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
Yahoo! Groups Links




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: LCD Noise problem - mohana sundaram - Sep 14 20:05:00 2004

Dear Ramesh,

Try putting iUF tantulum byepass at pin 1 and pin2 of
the LCD Display.

mohan
--- R Ramesh <> wrote: > Hi all
>
> I m using 16F877 Controller and the LCD display in
> my system ,my other process in the system effects
> the display oftenly.
>
> Can I use an buffer ( line driver between LCD and
> Microchip),When i check with the Osciloscope i saw
> all the singmal amd control line & power line of the
> LCD has some noise.Due to this noise the display
> collapse( shift by one character) after few hrs then
> need to restart then its ok,
>
> thanks,
>
> ramesh >
>
> ---------------------------------
_______________________________




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )