R
Richard
Guest
Hello, <p>I am working with xilinx microblaze and I am trying to set up my microblaze to communicate with a 128 KB asynchronous SRAM chip (IS63LV1024). So far I have been able to set up the opb_emc (External Memory Controller) to communicate with the SRAM chip. However, I can only write to the SRAM in 4 bytes words. I cannot write byte by byte. Example: <BR>
If I try to write to byte 0x0F10_0001, the whole word at 0x0F10_0000 gets updated instead. <p>================================== <BR>
Before <BR>
0x0F10_0000: 00000000 <BR>
0x0F10_0004: 00000000 <p>Write 0x31 to 0x0F10_0001 <p>After <BR>
0x0F10_0000: 00000031 <BR>
0x0F10_0004: 00000000 <BR>
================================== <p>Now, I am trying to load my program to run in the external memory by setting the program start address in the compiler options. I cannot get the program to run in external memory and it keeps crashing. <p>Is that related to the fact that I cannot write byte by byte in the external memory, or are there some additional settings I need to do in the linker and compiler in order to get my program to run in external memory. <p>I am using Xilinx Platform Studio (XPS) to configure my system. Are there any special parameters that I need to set in the opb_emc to enable byte by byte access ? I could not find any such parameters. <p>Thanks <BR>
Richard
If I try to write to byte 0x0F10_0001, the whole word at 0x0F10_0000 gets updated instead. <p>================================== <BR>
Before <BR>
0x0F10_0000: 00000000 <BR>
0x0F10_0004: 00000000 <p>Write 0x31 to 0x0F10_0001 <p>After <BR>
0x0F10_0000: 00000031 <BR>
0x0F10_0004: 00000000 <BR>
================================== <p>Now, I am trying to load my program to run in the external memory by setting the program start address in the compiler options. I cannot get the program to run in external memory and it keeps crashing. <p>Is that related to the fact that I cannot write byte by byte in the external memory, or are there some additional settings I need to do in the linker and compiler in order to get my program to run in external memory. <p>I am using Xilinx Platform Studio (XPS) to configure my system. Are there any special parameters that I need to set in the opb_emc to enable byte by byte access ? I could not find any such parameters. <p>Thanks <BR>
Richard