Searching \ for '[SX] Storing Info in the SX' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'Storing Info in the SX'.

Exact match. Not showing close matches.
PICList Thread
'[SX] Storing Info in the SX'
2007\03\08@180836 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

I need a way to store setting in the SX28.  I can create Data Statements to create the Default, but I want to be able to configure the setup using the serial connection I have.

I am Sending "!CMD" then I will send a Command number and a setting and I want to store it in the SX28 even if power is removed I want it to stay.


Can someone help...Again.. :)

Regards,
Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\08@183433 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

You're going to have to attach an external EEPROM.  SX/B has I2C functions that make using them pretty straightforward.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176750
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\08@190655 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 The flash memory on the SX doesn't work like EEPROM. It requires a high voltage to program (that the SX-Key/SX-Blitz provides).
 There is no way the SX can change it own flash memory.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176754
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\08@192034 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

OK... Thanks...Which EEPROM works well with the SX-28.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176756
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\08@201522 by mgreenn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mgreen wrote:

Any I2C EEPROM should do.  Whatever is large enough for the amount of data you need to store.  The part numbers mostly start with 24LC, then a number like 16, 32, 64, 128, 256, 512, 1024.  This number is the number of bits in the device.  Divide by 8 to get the number of bytes.  The largest current devices are 128K bytes.  The theoretical maximum using the current addressing scheme (8 device addresses, each with a two byte address) is 512K bytes.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176760
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\08@222217 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

If you look in the help file under any of the I2C commands there's a circuit and demo code for the 24LC16, a 2K device that you can get from Parallax.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176775
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@042212 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

OK thanks... I hope the 24LC16 comes in a SMT design.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176808
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@050833 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 You don't say how many bytes you want to store, but I have a bunch of 24C00 EEPROMs.
 They only hold 16 bytes though. I'll mail you some if you can use them.

Bean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176815
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@055244 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

Bean,
Are you serious? Yeah for this project I'm only gonna need a few bytes.

I'll PM you a mailing Address.

Regards,
Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176822
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@061526 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 How many do you need ?
 You don't need to pay me anything for them, I'll just pop them in an envelope.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176824
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@083726 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

Bean,
I don't feel right about taking them... How about 5 or 10... They seem like they are going to be handy.

Thanks for this, If I need more how much are you asking?

Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176843
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@091502 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 I got a reel of several thousand from Ebay for cheap.
 I'll send you a bunch, the postage stamp would cost more than 10 pcs ;)
Bean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176860
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\09@101549 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

OK thanks... :) I'll look for them.

Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m176878
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\10@093509 by Cassonn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Casson wrote:

Most likely this is a dumb question.  Can this sort of external memory allow the SX28 to run a program longer than can fit in the existing memory ? Henry.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177052
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\10@104341 by PJ Allenn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote:

Can this sort of external memory allow the SX28 to run a program longer than can fit in the existing memory?

No, but if your program involves using DATA/WDATA then that all can be stored in an external memory leaving more EE/Flash available.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177069
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\12@070524 by ems1965n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

Bean,
Do  you have sample code that works with these and the SX-28?

Regards,
Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177389
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\12@091812 by robotworkshopn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotworkshop wrote:

Hello Eric,
Have you seen the EEPROM sample code in SX/B on the following post:

http://forums.parallax.com/forums/default.aspx?f=7&m=172860&p=1&ord=a
It may help you get the external EEPROM up and running a bit faster.   You should be able to prototype and test with a DIP version of the chip and then go to a surface mount part for your final design.

Best Regards,
Robert
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177424
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\12@093533 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Details can be found in here: http://www.robotstore.com/download/276568catalyst.pdf
The help file code can be adapted easily -- it looks like the only change is that the 24C00 just uses one address bytes versus two in the 24LC16B.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177428
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\12@093909 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 They are pretty standard. Here is the datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/21178F.pdf
 They are 24LC00T/OT devices and I sent you 50 or so.

 For a write you do:
 START
 SEND $A0
 SEND addr ' 0 to 15
 SEND data ' 0 to 255
 STOP
 For a read you do:
 START
 SEND $A0
 SEND addr ' 0 to 15
 START
 SEND $A1
 READ bytevar
 STOP
Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177430
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\12@095727 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

Thanks all... It was a little odd in reading an Address... Thanks for clearing that up.


Bean... Thanks for everything.


Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m177432
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\16@091127 by egprenticen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, egprentice wrote:

Bean,
I'm wondering if I sent you some stamps to cover postage, would you be willing to send me some of those 24LC00T/OT devices?
If so, send me an email to (egp at egp dot net) with your snail mail address, and I'll send you some stamps and my snail mail address.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m178516
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\16@093645 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Send me a private message with your mailing address.
Just consider it a early birthday present ;)
Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m178523
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\16@094743 by egprenticen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, egprentice wrote:

Thanks, Bean, that's very generous of you. I sent you a separate email with my snail mail address.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m178526
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@084640 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

OK I believe that I jumped too Quick... I laid out my circuit and etch a board with the SX and a 24C00 Eeprom... I'm, guessing it's not working because I don't have Pull up resistors on the SCL and SDA line... Would this be a good assumption?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m179816
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@091528 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Yes, I2C requires pull-ups (usually 4.7K) on the SCL and SCA lines.  The idea behind I2C is that the transmitting device pulls the line low, the pull-up handles the high.  That way if two devices transmit at the same time there is no electrical problem (as there would be if the transmitter drove the line high).

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m179820
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@091901 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

That's what I thought... Darn!!! All of those darn holes drilled.   Hahahaha  Thanks for confirming that.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=176744#m179822
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@092050 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Eric,
 Depending on many factors you MIGHT get away with just enabling the internal pull-ups on the SDA and SCL pins.
 I don't recommend depending on it, but with some devices it does work.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=176744#m179823
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@105624 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

I'm using the SX48 with one 24C00 that you sent me... I will try that. Good Idea as usual.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=176744#m179845
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@152310 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

I am Using a 24C00 and I have SDA Connected to RD.4 and SCL Connected to RD.5 on the SX48
I am trying to run this code.


An LED will flash if the Code written to and returned from the EEProm is the same.


I don't have external Pull up resistor connected only the internal.


Should the Code below work? If so I'm going to have to redesign my circuit.


Thanks in Advance,
Eric



DEVICE          SX48, OSCHS2, BOR42
FREQ            4_000_000

ID  "24C00"

Pullup RD.4
Pullup RD.5

Sample Var Byte

PROGRAM Start NOSTARTUP
Start:
I2CStart RD.4
I2CSend  RD.4,$A0
I2CSend  RD.4,0
I2CSend  RD.4,128
I2CStop  RD.4
Pause 50                

Do
I2CStart  RD.4  
I2CSend   RD.4,$A0
I2CSend   RD.4,0
I2CStart  RD.4
I2CSend   RD.4,$A1
I2CRecv   RD.4,Sample,1
I2CStop   RD.4

If Sample=128 Then  
    Toggle RD.7
 Pause 100
Endif
Loop


---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=176744#m179905
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@173329 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Check your connections.

And I think your NAK bit is set incorrectly -- on the final byte read it should be 1, not 0 as in your listing.

And... it is very dangerous to embed "magic numbers" -- including pin numbers -- into your listings; HUGE bug generator.  Try this version:

DEVICE          SX48, OSCHS2, BOR42
FREQ            4_000_000
ID              "24C00"
SDA             PIN     RD.4
SCL             PIN     RD.5  
Led             PIN     RD.7

sample          VAR     Byte

PROGRAM Start NOSTARTUP
Start:
 PULLUP SDA
 PULLUP SCL
Main:
 I2CSTART SDA
 I2CSEND  SDA, $A0
 I2CSEND  SDA, 0
 I2CSEND  SDA, 170
 I2CSTOP  SDA
 PAUSE 10
 DO
   sample = 0
   I2CSTART SDA
   I2CSEND  SDA, $A0
   I2CSEND  SDA, 0
   I2CSEND  SDA, $A1
   I2CRECV  SDA, sample, 1
   I2CSTOP  SDA
   IF sample = 170 THEN
     TOGGLE Led
     PAUSE 100
   ENDIF
 LOOP
 END

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=176744#m179932
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\21@184214 by ems1965n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

I am usually careful about my wiring, but I totally missed a ground jumper.  Ugh!  Works now...I could just slap myself silly now!!!!

Thanks Jonny
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=176744#m179941
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...