|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
respond back to me if you are and explain why ![]() |
|
#2
|
|||||
|
|||||
|
Re: who's going to use eprom
(Raises hand and waves it around like a little kid) I know, but I'm not telling...
Just kidding. It's for auton, so I don't have to wait for the entire HEX file to download. Over and over. I might post my code after this year, but it's my pride and joy at the moment and I don't want it to be a dump-in solution for anyone...not yet... JBot |
|
#3
|
||||
|
||||
|
Re: who's going to use eprom
One of our guys wrote some code that
(a) read key autonomous values from eeprom (b) Provided a serial interface for resetting said values. The idea was to not have to reload the RC just to adjust how far the robot was driving during autonomous mode. |
|
#4
|
||||
|
||||
|
Re: who's going to use eprom
I'm working on something like JBotAlan's, but it isn't finished.
I'm running a modified version of Kevin's code so we're using it for camera/tracking config. I might have some other uses, but I'm moving those to a DOSonChip module. ![]() Why do you want to know about other people's eeprom use? |
|
#5
|
|||||
|
|||||
|
Re: who's going to use eprom
We're using EEPROM for drive calibration and storing arm positions.
|
|
#6
|
||||
|
||||
|
Re: who's going to use eprom
Could someone please explain to me what eeprom is and what the advantages of using it are? I'm just a little confused. Thanks.
|
|
#7
|
||||
|
||||
|
Re: who's going to use eprom
Processor has a small amount of eprom space you can store values in that will remain in the RC even after it is powered down.
|
|
#8
|
|||
|
|||
|
Re: who's going to use eprom
Just remember that EPROM and EEPROM are two different things - the first is Erasable, although only through strong UV light, while EEPROM is Electronically Erasable. The PIC18F has the latter, which is lucky for us
![]() |
|
#9
|
|||||
|
|||||
|
Re: who's going to use eprom
Quote:
To program either, you send it electrical signals. Looking at it another way: Both are non-volatile ROM, but an EEPROM is more like RAM. Don |
|
#10
|
||||
|
||||
|
Re: who's going to use eprom
We've considered it before, but we feel it's just as easy to store all of the values for autonomous and other controls in ROM data and then just use a selector switch on the field.
For those of you using EEPROM; what's the advantage in storing values in there rather than in ROM data? |
|
#11
|
||||
|
||||
|
Re: who's going to use eprom
We've always found that our autonomous modes needed adjustment in timing, distance, or speed settings once we got to competition (different carpet, etc.). It's nice to be able to change those instantly without having to download new code. (If you've ever had to tinker with code on the sideline between finals round matches, you know how frustrating it can be to watch that progress bar move across the screen as the ref's keep telling you "you need to be on the field now"....)
|
|
#12
|
||||
|
||||
|
Re: who's going to use eprom
Quote:
We've never had much of a problem downloading code in time though, so I guess that wouldn't do us much good then. |
|
#13
|
|||||
|
|||||
|
Re: who's going to use eprom
Quote:
IIRC, when you declare a variable as "rom", it is still stored in EEPROM, but the location is allocated by the linker. When you use Kevin's library, you choose the location itself. Data is never stored in the program memory (flash). Also, "rom" variables are reset to default values when the program is downloaded. Meaning you probably shouldn't be mixing the "rom" keyword and Kevin's code. If you're really interested in the details, experiment. Look at the list file after playing with a rom variable. And yes, you can store to a rom variable. Last edited by Astronouth7303 : 09-02-2007 at 00:54. Reason: Open mouth, insert foot. |
|
#14
|
|||
|
|||
|
Re: who's going to use eprom
Quote:
|
|
#15
|
||||
|
||||
|
Re: who's going to use eprom
I wonder if it's possible to erase an EEPROM by exposing it to UV... You would think that it would generate enough photocarriers to screw up its state.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who's going to Waterloo? | Francis-134 | Regional Competitions | 13 | 23-03-2005 09:25 |
| Who's Going to Drexel?!?!?! | fred | Regional Competitions | 23 | 30-03-2004 17:35 |
| Who's going where? | meaubry | General Forum | 6 | 02-11-2002 15:22 |
| Kickoff--who's going?? | archiver | 2001 | 18 | 23-06-2002 22:08 |
| Who's going to Philly? | archiver | 1999 | 6 | 23-06-2002 22:00 |