SRAM....

Discussion in 'General Programming Discussion' started by erpark, Oct 5, 2014.

  1. erpark

    erpark New Member

    Joined:
    Sep 6, 2014
    Messages:
    2
    Likes Received:
    0
    Hi All,

    I guess I just can't get away from memory issues... does anyone know how to write to the two SRAM blocks in the SAM3X riding on Udoo's back?

    The Atmel and Arduino Due specs mention that they are mapped into main memory, but since they are not EEPROM or flash space I am not sure how to address the two blocks without resorting to unsafely type casting pointers into the mapped space. ie...

    unsigned char *p = (unsigned char *) 0x20000000;

    Can you use PGM_P and then xxx_P() memory functions by any chance?

    Any help would be appreciated...
     
  2. gionji

    gionji Member

    Joined:
    Jun 28, 2013
    Messages:
    38
    Likes Received:
    0
    Hi,

    i never use something similar on udoo SAM3x. Did you found anything on Arduino DUE forum?
    why you need to write the SRAM? :)
     

Share This Page