Forum Discussion
Altera_Forum
Honored Contributor
16 years agonios sw development: invalid bmp file produced
Hi, I have encountered a problem while writing to a bitmap file. The code works in the cc compiler but fails to work properly in Nios II IDE. The bitmap file can be written, but the fi...
Altera_Forum
Honored Contributor
16 years agoOne possible way around this problem is to write each structure element to the file one at a time.
Another thing to watch out for is endianess. Off the top of my head, I don't remember what endianess NIOS or BMPs use, but you should double check this. If they are different, you will need to take this into account.