Archives
-
Is this a BUG??…avrstudio help…
I had written a basic program to STORE data in SRAM and compiled it with the data memory window open. The result was as expected. The data from a register was STORED into the SRAM location. The program was as below….
rogram to store data into SRAM location 0×60
.include “m32def.inc”
.org 0×000
rjmp STORE
STORE:
ldi r16,10
sts 0×60,r16 ;store direct into SRAM
rjmp STORE
Related Forum Messages
- Memory Mapping 1Mb SRAM to LM3S3748
- ATmega Data Storage
- SRAM vs FLASH
- I Need Your HELP! Communicating bewwen PC and SRAM of AVR
- Adc data storing problem
- XMEM, SRAM and Datatype
- How to store constants in SRAM
- Passing Objects Around
- RCM5700 external sram
- How to get more memory location for ADC?
- Memory Management
- How to access LPC2362 SRAM
- Help with SRAM
- Writing to external flash (on the AT90USB1287)
- Not enough space to store data pic 18f2550
- Knight Rider delay subroutine
- Question about atmega32′s SRAM
- How store data of an aplicattion in the non-volatile memory??
- How to store a text file on the Rabbit Wolf 2600
- Accessing flash memory
Dear all, Here i have some doubt please help me. I am interfacing 1Mb SRAM to LM3S3748 processor using SPI protocol. For this i used 4 GPIO pin and configured as SPI protocol. I can able to write and read data from memory location of SRAM separately. My doubt is that in LM3S3748 limited in built RAM is there so i cant store all my ...Very cool that a AtMega8 can handle 8K of program code. But the data that can be stored is limited to 1K. The only solution that I can think of is to proceed to an AtMega 328, which can store 2K of Data. As I am only using only 4K of program code, this seems inefficient. Is there a workaround to use the Flash/EEPROM/SRAM to store more data? I need to store almost 2K of data in the uC. It bugs me that I am using half of the Flash, but the SRAM is full. This is the bottleneck for ...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 ,i am a beginner of AVR. Now I am doing a project. Part of them is about communicating data betwwen PC and microcontroller AVRmega 8515: I want to give two number ,for example ,A=0x001122, B=0x223333 to microcontroller.In microcontroller ,I have already write the algorithm "multiplication",Now I want to send A and B to SRAM (memory of Microcontroller)from PC, and store A and B in SRAM .then I load A and B to register using the algorithm"multiplication" to compute the result of A*B. After that I store the result to SRAM, and then I want give the result stored ...I'm trying to store data received from the internal ADC of an Atmega32. The problem I have is that if I send data to a port to see what I'm getting from the ADC: in r24, ADCL out PortB, r24 there's no problem, but if I want to store them in the memory, and then display the data, I only get 0xFF: Code: ldi r26, 0x60 ;X pointer = r26 = 0x60 ldi r18, 0x50 ldi r19, 0x00 ...Hi, I am using BL1800 and I am trying to store data of two different data-type into SRAM - each with its own block of allocated memory. Mainly, 1000bytes for char and 1000bytes for unsigned long. Can I do that? For the past 2 or 4 days, I have been very unsuccessful. Although my program compiles successfully and uploads into the rabbit without any problem, when it runs, it doesn't read the unsigned long data in the SRAM. At that point, program fails or halts. Any ideas or help will be greatly appreciated. Thank you in advance.Hi all, I want to store some constants in sram. so, i did like Quote .dseg .org ramend a: .dw 0xaabb,0xbbcc but it seems , this way constants are not stored in sram on the other hand if , i did like this Quote .dseg .org ramend a: .byte 4 .cseg ldi r28,low(a) ldi r29,high(a) ldi r16,0xaa st y,r16 then it works Can somebody explain? thanksHi All, I am working on a program that captures an image form a camera and displays it on a screen. The data received from the camera is too big to fit into an array so I am storing it on an external SRAM IC. So I want to take a picture, store it in the SRAM IC, retrieve it from the SRAM IC, and display it to the screen. The screen, camera and SRAM IC all have separate libraries but how can I get them working together? If I create an SRAM object in main() how do I pass ...Hi, A install a extra sram AS7C34096 into the RCM5700 board. The external ram works fine. It can store data, or running code in it. The external sram uses CS1 OE1. I am sure the external sram is OK, if I force the CS_RAM to CS1 OE1 WE1 for "store program in flash", MB2CR is 0xC5 which mean it point to the external sram. But if I change BOARDTYPES.LIB: #if _BOARD_TYPE_ == RCM5700 //the RCM5700 has only 128k of internal RAM available #ifdef _RAM_ #if __SEPARATE_INST_DATA__ #error "The RCM5700 does not support compiling to" #error " RAM when Separate IampD space is enabled." #fatal " Turn off Separate IampD or compile to ...i m using PIC16F877. i had been ask to use potentiometer as analog input(0-5V) for PIC and display a range value(00.00-10.00) on LCD.. may i know that is it for one analog signal input to PIC, there are only 256 location to store the convert result? since every port consist of 8 bits(mean 2^8).. 10/256=0.04 mean that every location store differential value for 0.04? if i want to hv differential value less than 0.04, mean that i need to have memory location more than 256 place,then what should i do? for example, if i hv 500memory location, then one location will be 10/500=0.02 which is more ...Hello, i want store image data on a SRAM. I get for example an jpeg data with a variable size. I store it at the adress 0x60000000 till the size. How does it going on? I have no idea. Best ragards iboHi, I want to store some data in LPC2362's SRAM so that I can use them for future reference. Can anybody please help me in this concern?I need to store pixel data from a camera and read it back after a frame is stored. To do this, I need more memory than is available in the Propeller. Can someone recommend an SRAM chip that's easy to use with the Propeller and stores byte-wide data. I think I can get by with storing less than 256K bytes (320x240x2). One possibility is the Renesas R1LV0808ASB. Any information you have will be greatly appreciated. Thank you for your help and support. JimHello, I currently have a program that collects samples with an ADC and stores the data to SRAM. I would like to be able to store a lot more data. Since the AT90USB1287 comes with two flash chips (of the at45db642d type), I would like to store the data in this flash memory. I can't seem to figure out how to address this memory or write to it. I am writing code in asm. Would someone be kind enough to give me some example code and/or direct me to resources that explain how to access and use flash memory? Thanks.Hi all I am using pic18f2550 that have 255 location in eeprom to store data, my problem is eeprom is full and still i have to save more data. My pcb is done so i can't use external eeprom please help me if there is way to store data in program or flash memory and can be editable in future.Hey everyone, I am freshly new to assembly. I made a knight rider chasing LED program, which works just fine, but the problem I am having is that I would like my delay loop to be a subroutine. The other problem I am having is that I was told to check the carry bit instead of the immediate which really throws me off. Here is my code: Code: .include "m32def.inc" ; include the appropriate definition file .equ NumLED = 8 ;total number of led's .equ First = 1 ;first LED .equ Time = 80 ; this used ...i stored int type data i=2437 in an array's 0 no location but when i read data from that location i got2304.but when i stored 2437 in array's 1 no location i got exactly 2437 while reading. i am talking about atmega32's SRAM. i used avrstudio4 amp proteus.in proteus i used lcd to see the data.what is the prob with that very memory location of SRAMHello all!!! I'm working with software DIGI ESP FOR NET+OS 7.4 for me CONNNET ME with Jtag. I created a website, but I need to store some data from my page in the non-volatile memory of my Connect ME. I can store this data in NVRAM??? how can I store this data??? There is some example that stored some data private in the memory non- volatile???? Message was edited by: isaacDoes anybody know how I can store a text file on the BL2600 Wolf. We have the normal BL2600 Wolf version with the RCM3200 core module. So I've 512K execution SRAM, 256K Data SRAM and 512K Flash Memory. There is no NAND flash memory available.Hi, im new at the whole arduino thing and i seem to have a project which im not sure i can do. The arduino mega 2560 supposedly has 256kb of flash memory for the code but say i dont plan to use it all up, would it be possible to use that memory to store data (say in place of an SD card or something) Or alternatively, can i store data in the EEPROM or SRAM? this is my first use of the arduinos and im not too sure what to do. Thanks in advance.
