title: Read data from memory
body: <p>I have an API to read data:</p>
  
  <p>ROM_READ_PAGE(BLOCK_NO, PAGE_NO, *READ_BUFFER);</p>
  
  <p>The Page size is 2048 and you can ONLY read WHOLE page at a time.</p>
  
  <p>I know it is just about using C, but my system doesn't run using either of the methods I tried.</p>
  
  <p>For example:</p>
  
  <pre><code>char *readPtr;
  char readBuff[128]; //(Can not use 2048 due to stack overflow)
  
  readPtr = readBuff;
  
  ROM_READ_PAGE(BLOCK_NO, PAGE_NO, readPtr); // SMX doesn't like this and shows some exception
  </code></pre>
  
  <p>Any other idea or if I am missing something important.</p>