- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey so I wrote another post about using the sflash but I wasn't hearing much so I started playing aroundwith it to see what I could do. I was checking the flash size, and the size function reports that the flash on the CYW943907AEVAL1F is only 8MB. I cheked the datasheet and the part that was populated on the board, and those both agree that the actual flash size is 64MB.
I tried to find where the discrepancy was so I checked out the some code while looking at this article:SFLASH support addition in WICED - I ended up finding the part defined as 8*MBYTE for size. I tried to change it to 64*MBYTE, but this made the board not function at all, but when I changed it to 16*MB the code worked fin and the flash size was reported as 16MBYTE.
can anyone explain whats going on here?
Solved! Go to Solution.
- Tags:
- sflash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are talking about the macronix sflash, that is populated on the CYW943907AEVAL1F EVB, then the size of the sflash is 8MB=64Mb. I don't see how you are getting confused with the fact that MX25L6433F is a 64 Mb part which can also be validated in the part datasheet http://www.macronix.com/Lists/Datasheet/Attachments/7408/MX25L6433F,%203V,%2064Mb,%20v1.6.pdf . As far as WICED SDK is concerned the size is mentioned as MB not as Mb in 43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/spi_flash/spi_flash.c(8*MBYTE). If you are skeptical about the MBYTE and Mbits concept, check the way MBYTE is defined in 43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/spi_flash/spi_flash.h.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are talking about the macronix sflash, that is populated on the CYW943907AEVAL1F EVB, then the size of the sflash is 8MB=64Mb. I don't see how you are getting confused with the fact that MX25L6433F is a 64 Mb part which can also be validated in the part datasheet http://www.macronix.com/Lists/Datasheet/Attachments/7408/MX25L6433F,%203V,%2064Mb,%20v1.6.pdf . As far as WICED SDK is concerned the size is mentioned as MB not as Mb in 43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/spi_flash/spi_flash.c(8*MBYTE). If you are skeptical about the MBYTE and Mbits concept, check the way MBYTE is defined in 43xxx_Wi-Fi/WICED/platform/MCU/BCM4390x/peripherals/spi_flash/spi_flash.h.