- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use nios2-srec2flash to convert .srec to .flash I get the following message:
nios2-srec2flash xxxxx.SREC flash address: 0x00140000 ram address: 0x00040000 max copy size: 0x00040000 This tool must be run from within an SDK directory, or using the --sdk_directory=<dir> switch. My question is how to set –sdk_directory and where the sdk directory locate? Besides, can anybody please to attach a srec_cat software to me? My email is yfggsitp@gmail.com. Thank you very much.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
srec_cat is part of srecord (http://srecord.sourceforge.net/) (on Sourceforge).
A .flash file is (for the most part) an SREC. In fact, the Nios II flash programmer can program SRECs directly, provided the address offsets are from the base address of the device you're programming to. Cheers, slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a (nios2-)srec2flash that's included as part of the installation.. but I found running it in the nios Bash shell doesn't work
( Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at - line 14. BEGIN failed--compilation aborted at - line 14. )
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