Other Parts Discussed in Thread: UNIFLASH
Hello,
I use uniflashCLI for programming purposes and I am not able to format serial flash with proper capacity. The log from command line tool shows:
***** Texas Instruments Universal Flash Programmer ***** > Configuring UniFlash with the following configuration: C:/Users/Piotr Marcinko wski/Projects/pmarcinkowski/bcdevelopment/output/uniflash.usf > Device: SimpleLink Wifi CC3100/CC3200 > Interface: CC3x Serial(UART) Interface > Template XML: C:\Users\Piotr Marcinkowski\Projects\pmarcinkowski\bcdevelopment \output\uniflash_session\templates\CC3xxx_template.xml > Token XML: C:\Users\Piotr Marcinkowski\Projects\pmarcinkowski\bcdevelopment\ou tput\uniflash_session\templates\CC3xxx_token.xml > User setting [com]: 3 > User setting [capacity]: 16M > Executing operation: format > Relevant settings: Capacity: 16M INFO: > Executing Operation: Connect INFO: setting break signal INFO: detecting FTDI for device reset INFO: connection succeeded INFO: getting storage list INFO: > Executing Operation: Init INFO: reading version info INFO: DEVICE CC3200 ES1.33 INFO: reading version info INFO: reading version info Progress (SRAM): 8% Progress (SRAM): 24% Progress (SRAM): 32% Progress (SRAM): 49% Progress (SRAM): 57% Progress (SRAM): 74% Progress (SRAM): 82% Progress (SRAM): 90% Progress (SRAM): 98% Progress (SRAM): 100% INFO: > Executing Operation: Format INFO: Erase storage SFLASH INFO: erase storage succeeded INFO: erase storage completed > Finish Executing operation: format
UniFlash UI application after executing List File System shows:
[13:06:41] Begin ListFileSystem operation. [13:06:42] INFO: > Executing Operation: Connect [13:06:44] INFO: setting break signal [13:06:46] INFO: detecting FTDI for device reset [13:06:47] INFO: connection succeeded [13:06:47] INFO: getting storage list [13:06:47] INFO: > Executing Operation: Init [13:06:47] INFO: reading version info [13:06:47] INFO: DEVICE CC3200 ES1.33 [13:06:47] INFO: reading version info [13:06:48] INFO: reading version info [13:06:50] INFO: > Executing Operation: ListFileSystem [13:06:50] INFO: extracting file system information... [13:06:50] INFO: Serial Flash block size: 4096 bytes [13:06:50] INFO: Serial Flash capacity: 128 blocks [13:06:50] INFO: file start size fail total size filename [13:06:50] INFO: index block [BLKs] safe [BLKs] [13:06:50] INFO: ---------------------------------------------------------------------------- [13:06:50] INFO: N/A 0 5 N/A 5 FATFS [13:06:50] INFO: 0 5 3 yes 6 /sys/mcuimg.bin [13:06:50] INFO: 4 11 12 no 12 /recovery.bin [13:06:50] INFO: 6 23 5 yes 10 /tmp/phy.cal [13:06:50] INFO: [13:06:50] INFO: Flash usage [13:06:50] INFO: ------------------------- [13:06:50] INFO: used space: 33 blocks [13:06:50] INFO: free space: 95 blocks [13:06:50] INFO: memory hole: [33-127] [13:06:50] INFO: > Executing Operation: Disconnect [13:06:51] Operation ListFileSystem returned.
It looks like the serial flash was formatted to 512kB capacity.
I am using UniFlash 3.4,
Thanks,
Piotr