Merge pull request #3 from m-liu/master

flash stuff
typo
Fixed Top dma issues in flash model
merged