Go to Post We also have a " big daddy" hand riveter. In my estimation one could have assembled the George Washington bridge with it. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2004, 09:11
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Access to FLASH ROM in RC?

I know how to put constants in ROM. Is there any way I can put "variables" there? I want specifically to keep calibration parameters somewhere so they don't disappear when the robot is powered down, but are still changeable by the program itself when necessary. I think reloading the program just to tweak a position feedback parameter is a bit klunky.

I expect there's someplace in the PIC I can stash things like that, but I don't know where to look to find out what I need to know in order to do it. Does anyone have some pointers for me?
  #2   Spotlight this post!  
Unread 09-02-2004, 09:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,722
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Access to FLASH ROM in RC?

Quote:
Originally Posted by Alan Anderson
I know how to put constants in ROM. Is there any way I can put "variables" there? I want specifically to keep calibration parameters somewhere so they don't disappear when the robot is powered down, but are still changeable by the program itself when necessary. I think reloading the program just to tweak a position feedback parameter is a bit klunky.

I expect there's someplace in the PIC I can stash things like that, but I don't know where to look to find out what I need to know in order to do it. Does anyone have some pointers for me?
Sorry, you can't write to Read Only Memory.
The way to store your values is to use EEPROM.
Check the thread of EEPROM http://www.chiefdelphi.com/forums/showthread.php?t=22655
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 09-02-2004, 10:58
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Access to FLASH ROM in RC?

Quote:
Originally Posted by Mark McLeod
The way to store your values is to use EEPROM.
Check the thread of EEPROM http://www.chiefdelphi.com/forums/showthread.php?t=22655
Thank you. That is exactly what I needed.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why (not) flash? tchescow Website Design/Showcase 10 04-01-2004 16:29
Green flash charlie_grr Math and Science 7 12-12-2003 15:38
Flash and IE Raven_Writer Website Design/Showcase 9 09-02-2003 12:26
2003 Game Simulator (Flash) Suneet General Forum 9 09-01-2003 19:37
Flash 6 Adam Shapiro General Forum 4 23-12-2002 15:19


All times are GMT -5. The time now is 10:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi