Loading...
Welcome,
Guest
. Please
login
or
register
.
May 21, 2013, 01:18:47 am
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Hardware
::
Interfacing
:: EEPROM
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: EEPROM (Read 636 times)
0 Members and 1 Guest are viewing this topic.
baum
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
EEPROM
«
on:
January 07, 2011, 03:24:12 pm »
Bigger
Smaller
Reset
In theory, could I load a VERY small program into the EEPROM, and then, at a certain point in my code, load the program?
Ex.
I run my very complex program until a button is pressed. The arduino then loads this program:
Code:
void setup() {}
void loop() {}
(It's my null program, it does nothing and takes up 450bytes of space.)
Logged
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
Coding Badly
Global Moderator
Dallas
Online
Shannon Member
Karma: 116
Posts: 10142
Re: EEPROM
«
Reply #1 on:
January 07, 2011, 03:27:46 pm »
Bigger
Smaller
Reset
Why would you want to do that?
Logged
baum
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
Re: EEPROM
«
Reply #2 on:
January 07, 2011, 03:35:22 pm »
Bigger
Smaller
Reset
Quote
[glow]In theory,[/glow] could I load a VERY small program into the EEPROM, and then, at a certain point in my code, load the program?
I never said I did.
Logged
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
mowcius
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
Re: EEPROM
«
Reply #3 on:
January 07, 2011, 04:12:42 pm »
Bigger
Smaller
Reset
It would be completely pointless... In theory you could make a cannon which fired toasters - not a lot of point to it.
You are better off just making them different looping functions and having the button as an interrupt to run some code to switch between them
Logged
billroy
0
Offline
God Member
Karma: 37
Posts: 974
Get Bitlash: http://bitlash.net
Re: EEPROM
«
Reply #4 on:
January 07, 2011, 04:17:28 pm »
Bigger
Smaller
Reset
Programs in EEPROM? No problem:
http://bitlash.net
-br
http://bitlash.net
http://entropymouse.com
Logged
baum
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
Re: EEPROM
«
Reply #5 on:
January 07, 2011, 04:43:35 pm »
Bigger
Smaller
Reset
Quote
Do you just pull these ideas at random out of thin air?
Yes, I did. I pressurized the air in my house and put into a sealed flask with this:
http://www.sparkfun.com/products/10221
As the air evaporated, the levels were fed from the sensor to my arduino, which output the data as ASCII.
Logged
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
PaulS
Seattle, WA USA
Offline
Brattain Member
Karma: 311
Posts: 35470
Seattle, WA USA
Re: EEPROM
«
Reply #6 on:
January 07, 2011, 05:06:15 pm »
Bigger
Smaller
Reset
Quote
Yes, I did.
Good thing you told us. I was beginning the think you'd pulled them from somewhere else.
Logged
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Hardware
::
Interfacing
:: EEPROM
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...