5 Replies Latest reply on Jan 13, 2014 8:10 PM by jobs.f

    send datas from components to sram

    jobs.f

      Dose anybody have the detail cases that sending data from components to sram?Now i want to send the 100 datas from DFB output register to sram.But i wonder how to set the destination(L16).I think i can use the fuction malloc(),just like

         

      int* dst;

         

      dst=(int*)malloc(100);

         

      then, the destination(L16) is  LO16((uint32)dst),isn't it?

         

      but how can i send the datas to the static sram.

         

      Maybe just transform the address like int* dst =0x20008000, is right?