- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to know how to programe flash through uart? Thanks.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote a short program that reads data into a buffer (over USB, in my case) and then writes that data to the flash using the CFI flash device driver function alt_flash_cfi_write. Check the peripherals handbook on how to use the flash interface. If you don't want to write a whole sector at once (i.e. transfer a whole flash-sector's worth of data) you'll have to use the "fine-grained" flash interface.
Andrew- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Armen,
Did you ever figure out a way to do this? -Nick- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page