Цитата(Dibor @ Dec 12 2009, 17:36)

оно ругается что нет "stdafx.h"
попробуйте так:
Код
#include <stdio.h>
int main()
{
FILE *fin1 = fopen("Image1.bin", "rb");
if(!fin1)
return -1;
FILE *fin2 = fopen("Image2.bin", "rb");
if(!fin2)
{
fclose(fin1);
return -1;
}
FILE *fout = fopen("Image_16.bin", "wb");
if(!fout)
{
fclose(fin1);
fclose(fin2);
return -1;
}
while(!feof(fin1) && !feof(fin2))
{
fputc(fgetc(fin1), fout);
fputc(fgetc(fin2), fout);
}
fclose(fin1);
fclose(fin2);
fclose(fout);
return 0;
}
Если не поможет - используйте утилиту
SRecord. Прямо с заглавной страницы:
Цитата
split
The split filter may be used to split EPROM images for wide data buses or other memory striping schemes.
unsplit
The unsplit filter may be used to reverse the effects of the split filter.