23K256 SRAM: Why not expand Femto to use this?
I’ve been playing with the 23K256 SRAM lately..
It’s really something that should probably become a “standard” as the SD card has in many designs.
I was thinking… (dangerous) Why couldn’t FemtoBASIC use the 32K of SRAM as the workspace for programs? Or has this already been done by Mike Green somewhere? Then the command-base of Femto could be increased to include new video, audio modes, or new commands.
A true 32K basic could be a nice tool to have on the Propeller..
Anyone have some tips on starting points for this?
Related Forum Messages
I connected a 23k256 SRAM to a pic16f84. According to me I am giving the right input to the 23k256 but it is giving noting back on its SO line. Can someone please help me figure out my problem, I already wasted two weeks on this thing. My setup is as follows: Here is the circuit, as you can see the SO of the 23k256 was connected to an ossiloscope and always stayed at high inpediance rather than giving an output. This shows the outputs given by the pic16f84, (it is not the actual ossiloscope image, but its nearly the ...On the topic of FemtoBASIC versions, Mike Green said at one time that Femto BASIC was derived from Tiny BASIC. Is there a minimal command version that "most resembles" one of the original Tiny BASIC versions, such as the one included with the HYDRA CD, and if so, where can it be found? I have interest in all versions for the new Propeller COSMAC ELF II emulator project.I am providing this as a working example of accessing the Microchip 23K256 SRAM chip using a 28X2 Picaxe chip. This chip has 32768 x 8bit Bytes available. I had to slow down the SPI but that might be due to the wiring using long leads etc.I've been thinking about doing something like this for several years. Every so often there is some discussion on this forum about using multiple memory chips in parallel. When the CS came out I purchased some extra 23K256 SRAM chips. I figured I'd want to learn how to use the 23K256 chips that are on the C3 so I might as will have some extra for other Propeller projects. I also wanted more memory to use with my machine vision project so I attempted an eight chip/bit SRAM driver. I stacked the eight DIP chips on top of each other and soldered the common ...Hi, I would like to store data in a 16kByte SRAM. When the memory of the SRAM has for example reached 10kByte it must send it to a FLASH sd- memorycard of 1GB. Meanwhile the SRAM is still storing new data in the SRAM cells. Does someone knows if reading and writing simultaneously in SRAM is possible ? And is there a maximum write/erase cycle for SRAM? (not mentionned in ATmega datasheet) Thank you !Hi all, Have anyone connects 23K256 to a 5V system? I connects it with voltage deviders as below : POWER : 3.3V regulator (Vcc) --- gt 23K256 23K256 (SDO)----------gt MCU (SDI) |2k2-----------------lt MCU (SDO) 23K256 (SDI)lt------------------ | 3k3---gt GND |2k2-----------------lt MCU (SCK) 23K256 (SCK)lt------------------ | 3k3---gt GND |2k2-----------------lt MCU (MEM_CS) 23K256 (MEM_CS)lt------------------ | 3k3---gt GND The read write doesnt seems to be stable. With 100 read/writes, unit are able to sucessfully read / write only 30% without error. Programmed it to read/write byte by byte.... and sequencially. Both gave me same errors at times. Any solutions? ThanksPROPELLER COLOR BASIC V2 - (A major fork off FemtoBASIC) Final home for updates. (This project is nearing completion.) https://docs.google.com/folder/d/0B3...FB5V25rQjltV1k Hardware Requirements: Demoboard or QuickVGA+ -:- VGA, Keyboard, amp Audio (optional SD amp Wii Classic Controller) This software would not have been possible without help and contributions from: - Mike Green (FemtoBASIC) - Tomas Rokicki (FemtoBASIC, amp FSWR) - Marko Lukat (Despair amp Hope VGA driver) - Pat Daderko (Wii Controller driver) - Johannes Ahlebrand (TinySynth) - Michael Park (Edit) A complete list of commands is being generated, but some hightlights include: PLOT, NOTEON, NOTEOFF, REDEFINE. Advanced: Copy the BASIC.BIN and BASEDIT.BIN to your SD card ...Hi. I'm using a SRAM memory that runs 23k256 SPI communication and I have some communication problems at the time of writing and reading data. I made a test program that first order type multiple characters and then reads them and sends them via USB to PC, I visualize the characters with TERA TERM program and see that several characters do not match those that mainly have written. That's a problem because the application memory I can not have many failures of writing and reading. Food memory with the power supply of 3.3 V of mbed, and one SCK-SCK, MOSI-MOSI, ...I am trying to connect the SPI SRAM 23K256 with PIC16LF877a, double checked everything about the connection and the codes,still no result... The following is the test code I am using..I appreciate if anyone could find out what's the potential problem: PIC16LF877A 23K256(32Kbyte RAM) CLEAR DEFINE OSC 4 ; System speed DEFINE LOADER_USED 1 ; ; Define LCD registers and bits DEFINE LCD_DREG PORTD ; DEFINE LCD_BITS 4 ;width of data path DEFINE LCD_DBIT 4 ;data starts on bit 4 DEFINE LCD_RSREG PORTE ; DEFINE LCD_RSBIT 0 ; DEFINE LCD_EREG PORTE ; DEFINE LCD_EBIT 1 ; INCLUDE "MODEDEFS.BAS" ; CS VAR PORTA.5 ; Chip select pin SCK VAR ...I am testing a board that has external SRAM. Apparently the SRAM is relatively sensitive to the soldering heat from the manufacturing process, and so careful testing must be done to check integrity of SRAM for newly manufactured boards. What is the best (bare-metal) way to test SRAM? I have a driver that initialises the SRAM for read/write access. My first thought is to run tests such as: 1) Set all bits in SRAM to 1, and check that the SRAM was properly written. 2) Write the digits of Pi in SRAM, and check that the write was done properly. ...Hi Experts, On the LPC1668, there are totally 64kB of SRAM, 32kB of main SRAM, and two 16kB AHB SRAM. Is it possible to use the 32kB main SRAM as heap, and 8kB on one of the 16kB AHB SRAM as stack? If yes, how can we do that? Thanks very much! Regards, JessamineI had a need in a project for a fast easy external memory. Microchip's 23K256 is ideal. I looked at Spi Library and Spi RAM Library from the arduino playground. What I really wanted was to have the ram accessible continually from my code. I did not want to pass address and length each time I stored or retrieved data. My class has four functions: writestream: Setup the SRAM in sequential write mode starting from the passed address. Data can then be written one byte at a time ...I'm looking for a small, 32KB or so SRAM device that two MCUs can read or write (at two different times; I don't need simultaneous reading/writing.) It would be good if it used a serial interface as well. The problem I'm trying to solve is sending data between two devices without the other device having to pause to receive this. I would transfer an audio sample into the buffer, then the other chip, as required, would read the audio out, and do something with it. I've found serial SRAM's like Microchip's 23A256/23K256, however, they seem to have a single serial ...I have an STM32 dev board with some external SRAM. I would like to execute my code from that external SRAM, but my processor only supports booting from the Flash, internal SRAM or System memory (a part of the internal SRAM). What is the easiest way to run code from an external SRAM? Notes: I load code with OpenOCD through JTAG, and I use GDB.Hi, This is a bit of a general question, but I have done research and saw an article here (http://www.avrfreaks.net/index.php?module=Freaks%20Toolsampfunc=viewItemampitem_id=318) about interfacing SRAM to an AVR, but it's rather not good, b/c it involves too many chips. I browsed through mouser.com on SRAM chips that SPI/I2C interface supported. Ok, see many of them, but which ones are good for AVR, that I would like very much if people in this forum have some suggestions, even sample code, etc. And I saw the avr-lib FAQ to know how interact with SRAM from a compiler point of view. This helps a lot ...Hi, Can someone please expalin to me how the Arduino decides on flash or Sram? e.g. I have written a 4k program to the atmel328P which has 32k flash, 2k Sram amp 1k EEprom. The IDE shows the amount of flash available but the code runs in Sram. I need some clarification on this isue. Thanks.Many of you have seen my post on the K^2, my video game console i have been designing, well now I think I have a general idea of how I am going to do it and would like some more advice. Once again thank you to all those who have helped me so far. Here is the list of how i now plan to do it: K^2 video game console Current ideas: .ATMega328P as CPU .Boot Loader Loads Games from SD Card and writes game file to Flash of first avr and tile data file to eeprom of second avr ...Hi Im looking for SRAM even 1 kb would do, preferably SPI . So any of you guys know of any chips easily available. Microchip 23k640 SRAM SPI would be perfect but i cant find it anywhere. RegardsI want to interface SRAM with ATMEGA-128. By searching google I have found some references in which the size of SRAM is: 62256 (32K x 8-bit). Is it possible to interface more than (32K x 8-bit) SRAM like 64K ? If possible then what is the that SRAM/CMOS RAM? And if not possible then please elaborate it.For our prototypes we used STMicroelectronics SRAM 4Mbit, 512Kx8, 55ns (M68AW511AL). Now it is getting near production I find that they have stopped making that memory. Lots of other companies make equivalent SRAM, but can I assume it is going to work ok? Our application requires an access time of 60ns to the SRAM, so within the SRAM spec. In an ideal world I'd get one of the new types and prototype with it before ordering, but lead times are so long at the moment. So I want to place an order (1000 units) for our production run asap. Is that a bad idea? Thanks, Jim
- 23k256 SRAM —- wierd problem —-has anyone made it work?
- FemtoBASIC Tiny BASIC Version
- Adding Memory for working variables via 23K256 or 23K640 SRAM
- My attempt at 23K256 SRAM drivers. Includes 8-bit version.
- SRAM vs FLASH
- 23K256 Serial Ram error
- PROPELLER COLOR BASIC (was VGABASIC)
- Problems with the 23k256 SRAM memory
- Problem with connection to SPI SRAM 23K256
- Testing the integrity of SRAM
- About the usage of SRAM
- SRAM class using 23K256
- SRAM which two chips can read/write
- Running executable from external SRAM
- Good SRAM chips and/or tips for AVR (ATMEGA8 and so on)?
- Flash vs Sram
- K^2 ideas update
- SRAM Chip with SPI
- More than 32K RAM with ATMEGA-128
- Is all SRAM created equal?