- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I've been using the altera app hexout2flash (in c:\altera\quartus41\sopc_builder\bin) in order to generate flash files, with the appropiate commands to erase the flash and relocate the code. The fact is that I tell the program that my base is 0x20000 and the size is 0x2000, it generates: e20000 e30000 e40000 r20000 I think it shouldn't include the line e40000, asi it is erassing part of the code that exceeds the size 0x2000. I've taken a look at the code, an I think that in: for ( my $offset = 0x0; ($offset < (($sofsize & ~0xFFFF) + 0xFFFF)); $offset += 0x10000) { push @eraselines_list, sprintf("e%08x", $baseAddr + $offset); } , the for should go until ((($sofsize - 1) & ~0xFFFF) + 0xFFFF)); Isn't it? I've changed and it works ok for me. Maybe for future releases may be corrected... Thank you aLexLink Copied
0 Replies
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