Re: [tuxdroid-user] Programming of 'tuxcore.hex' failed, this file is not a correct hex file for th
Status: Beta
Brought to you by:
ks156
From: Philippe T. <ph...@te...> - 2007-03-18 11:30:37
|
> Original firmware: > :0C1DF000C8000300C9D10100CA000000B7^ > => version command = C8, version = 0.3.0 > > My firmware: > :0C1DF000CA000000C9640000C800030025^ > => version command = CA, version = 0.0.0 ?? > Actually apparently the order of version, revision and author fields was wrong I tried to change global.c to reorder them: const version_t tag_version __attribute__((section(".version"))) = {VERSION_CMD, CPU_NUMBER, VER_MAJOR, VER_MINOR, VER_UPDATE}; const revision_t svn_revision __attribute__((section(".version"))) = {REVISION_CMD, SVN_REV, SVN_STATUS}; const author_t author __attribute__((section(".version"))) = {AUTHOR_CMD, AUTHOR_ID, 0}; Now the file is accepted by tuxup and I could flash the tux but then its behaviour is not correct so there are still other problems and my file is still 20077-byte large instead of 20550. Someone has some suggestions? Phil |