Usage:
spi init : initialization
spi id : read ID
spi read : Laddr(hex) len(hex)
spi write: addr(hex) len(hex)
spi ea : erase all
spi eb : erase block
spi es : erase sector - start addr(hex) end addr(hex)
spi wp : write protect
- spi wp 1 :enable(1)
spi bwp : SPI block write protect
- protect_blocks(hex) non_protect_blocks(hex)
spi wpb : SPI write protect boundry
spi ver : get Chip Rev
spi info : get flash info
spi rs : read status
spi ws : write status
spi dma : copy data from flash to DRAM by PIU DMA
- flash start addr(hex) DRAM start addr(hex) len(hex)
spi wb : write buffer - spi wb edit addr(hex) len(hex)
spi rb : read buffer - spi_rb addr(hex) len(hex)
spi rdc : read code from SPI flash to DRAM
to_dram_addr(hex) from_flash_addr(hex) len(hex)
- to_dram_addr: dram start address (hex, flash erase size aligned)
- from_flash_addr: flash start address (hex, flash erase size aligned)
- len: total lenght to move data (hex, flash erase size aligned)
spi rdc.p : read data from DRAM to SPI partiton
[dram_addr(hex)] [partition name][offset(hex)] [len(hex)]
- dram_addr: dram start address (hex, flash erase size aligned)
- partition name: The partition name
- offset: offset in partition (hex, flash erase size aligned)
- len: total lenght to move data (hex, flash erase size aligned)
spi wrc : write code from DRAM to SPI flash
from_dram_addr(hex) to_flash_addr(hex) len(hex)
- from_dram_addr: dram start address (hex, flash erase size aligned)
- to_flash_addr: flash start address (hex, flash erase size aligned)
- len: total lenght to move data (hex, flash erase size aligned)
spi wrc.p : write data from DRAM to SPI partiton
[dram_addr(hex)] [partition name][offset(hex)] [len(hex)]
- dram_addr: dram start address (hex, flash erase size aligned)
- partition name: The partition name
- offset: offset in partition (hex, flash erase size aligned)
- len: total lenght to move data (hex, flash erase size aligned)
spi create : create a partition
-spi create [name] [size(hex)]
spi remove : remove a partition
-spi remove [name]
spi rmgpt : remove all partition
spi part : list all partition info
spi ptinit : init partition table
Yazilim alaninda bilgisi olan üyelerimize soru ;Anakartlarda spi ile ilgili olan bu komutlari anakarta dump yazilim icin kullanmak icin kullanmak mümkün müdür?
Ikinci soru bin icerikli dosyalari .xml dosyasina cevirmek icin cok basit seviyede windows ta kullanilabilecek bir program bilgisi olan varsa paylasirsa sevinirim.