- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
How can i convert a . sof file into a comma-separated list of numbers suitable for inclusion in a C source file, like pof2dat.pl perl utility do with .pof file? and the same thing for .elf file? thank uLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
google for BIN2C.ZIP, you should find it at
http://www.programmersheaven.com/zone3/cat...t1359/17063.htm (http://www.programmersheaven.com/zone3/cat1359/17063.htm) a small tool to generate a c-array from a binary file. for .sof --> .rbf (binary) use I use Quartus->file->convert programming file for .elf --> .bin I use 2 steps first step elf2flash --input=$ELF_FILE --output=$FLASH_FILE --base=$FLASHBASE --end=$FLASHEND --boot=$BOOTLOADER --reset=$RESETADDRESS --flash=$FLASH_ID --verbose second step nios2-elf-objcopy -I srec -O binary $FLASH_FILE $BINARY_FILE -v- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank u very much!
I've downloaded the file and i'm trying. bye
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