akshada
Member level 3
Hello friends,
I am doing a project around stm32f103, where i need to load the hex file from remote server using wifi module.
What i did is, my device had less RAM so i connected an external SRAM so that i can dump the incoming hex file(size =60k) directly to the external sram and than to SD card later to the flash.
But i am confused how to direct the received hex file to external sram? can someone help me out.I have the sample code where they are writing the external sram using
void FSMC_SRAM_WriteBuffer(uint16_t* pBuffer, uint32_t WriteAddr, uint32_t NumHalfwordToWrite)
and
void FSMC_SRAM_ReadBuffer (u16 *pBuffer, u32 ReadAddr, u32 NumHalfwordToRead)
Also,my doubt is if it is an random access memory how we are able to read and write sequentially.
Thanks in advance.
I am doing a project around stm32f103, where i need to load the hex file from remote server using wifi module.
What i did is, my device had less RAM so i connected an external SRAM so that i can dump the incoming hex file(size =60k) directly to the external sram and than to SD card later to the flash.
But i am confused how to direct the received hex file to external sram? can someone help me out.I have the sample code where they are writing the external sram using
void FSMC_SRAM_WriteBuffer(uint16_t* pBuffer, uint32_t WriteAddr, uint32_t NumHalfwordToWrite)
and
void FSMC_SRAM_ReadBuffer (u16 *pBuffer, u32 ReadAddr, u32 NumHalfwordToRead)
Also,my doubt is if it is an random access memory how we are able to read and write sequentially.
Thanks in advance.