Community
Search
Notices
RC Radios, Transmitters, Receivers, Servos, gyros Discussion all about rc radios, transmitters, receivers, servos, etc.

Basic Stamp and EEPROM Write/Read?

Thread Tools
 
Search this Thread
 
Old 07-27-2003 | 04:29 PM
  #1  
Thread Starter
Junior Member
 
Joined: Jul 2003
Posts: 1
Likes: 0
Received 0 Likes on 0 Posts
From: Denmark
Default Basic Stamp and EEPROM Write/Read?

Does anybody have experience with writing data to and reading data from the Basic Stamp 2 EEPROM?
First I write some data to known positions at the EEPROM. Then I start reading and checking them in the debugging window, but only the first two are correct, and the rest is corrupted. Also in the same moment there are problems with the program execution, it loops without an exit...

Has somebody an idea what is going on?

Thank you in advance.
Petar
Old 07-27-2003 | 06:34 PM
  #2  
Senior Member
 
Joined: Sep 2002
Posts: 1,373
Likes: 0
Received 0 Likes on 0 Posts
From: Rochester, NY
Default Basic Stamp and EEPROM Write/Read?

Unless you end the program intentionally it will automatically loop once it hits the end of code. The Read and Write commands start at the very end of memory and work their way forward (to avoid hitting stored code) If you're reading/writing from an area of the eeprom that has code stored in it you're probably corrupting your program and causing it to tweak. Read the on-line PDF manual, it covers all of this in detail. What are you reading/writing to eeprom for? This will shorten the life of your stamp if you do it too often as there is a finite number of read/writes to eeprom. I would highly recommend adding a serial ram chip to your stamp setup instead of using eeprom. Eeprom is only really useful for extremely long term storage when power may be intermitant.
Old 07-28-2003 | 05:47 AM
  #3  
Senior Member
My Feedback: (5)
 
Joined: Jul 2003
Posts: 2,668
Likes: 0
Received 0 Likes on 0 Posts
From: Tacoma, WA
Default Basic Stamp and EEPROM Write/Read?

Or pick up your STAMP manual... I've got a book that goes through all the commands.
Old 07-28-2003 | 08:55 PM
  #4  
Senior Member
 
Joined: Sep 2002
Posts: 1,373
Likes: 0
Received 0 Likes on 0 Posts
From: Rochester, NY
Default Basic Stamp and EEPROM Write/Read?

The online PDF is the same thing. Though it is nice to have a hardcopy.

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 On



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.