Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3100: CC3100 sl_FsOpen() returns SL_FS_NO_DEVICE_IS_LOADED (-49)

$
0
0

Part Number:CC3100

I have a number of custom boards containing CC3100 R1 and Winbond Serial Flash (W25Q80 - 8M-Bit). 

I am trying to apply write the patch file to serial flash. This works OK on some boards, but not on others.

Initially, I try to format the flash through the UART interface to the CC3100 and then apply the patch file using the simple link file system through the SPI interface.

The format of the flash appears to be successful, but the sl_FsOpen() returns SL_FS_NO_DEVICE_IS_LOADED (-49)

The process is successful on some boards, but fails on other boards. I get the same results using the UniFlash tool.

I have set up an SPI analyzer between the CC3100 and Serial Flash device, but can see no difference in the commands between the two devices. Signal integrity appears to be good.

My initial thought is that the Serial Flash has some Sector protection preventing the files being written, but I have no way of interrogating the serial flash without removing the serial flash from the board.

I would like to know under what circumstances the sl_FsOpen() function returns (-49) error code and any other assistance that you can give me to resolve this issue.

Steve Tostevin


Viewing all articles
Browse latest Browse all 262198

Trending Articles