I would like to programming SPI flash on Logic PD board. I downloaded OMAP-L138_FlashAndBootUtils_2_40.tar.gz and builded SPIWriter_ARM.
But than I run SPIWriter_ARM I have next problem:
after call
hSpiMemInfo = SPI_MEM_open(DEVICE_SPIBOOT_PERIPHNUM, DEVICE_SPIBOOT_CSNUM, hDEVICE_SPI_config);
I have: hSpiMemInfo.hSPIInfo == 0; and hSpiMemInfo.hMemParams == 0;
and program exit because "File to big..." Why I have this problem?
I use Spectrum Digital XDS100 v2, S7 setup: 5,8 on, another pins OFF
Alexander,
How big is the size of the file that you are trying to write to the Flash? The error message is coming from the function LOCAL_GetAndWriteFileData in the spi Writer and it basically indicates that the file size is greater than the SPI flash Memory size.
Regards,
Rahul
---------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------
Rahul,
I was understood reason of problem. The problem is with DDR access. The dynamic memory allocation, which uses in SPIwriter allocate memory but can't write data to memory. The AM1808.gel can't initialize DDR.