Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 3 months ago.
problem with compiler hex file download
hi there, I am using the online compiler and have a problem that appears to come and go where the downloaded hex file sometimes is corrupted. It usually downloads at about 320KB but occasionally it downloads at 32KB and that file does not appear to be a hex file, but rather a binary of some sort. 10X compression going on? Has anyone encountered this before? thanks! -Tyler
what I expect: ":020000040000FA :10000000C0070000D1060000D1000000B1060000CA :1000100000000000000000000000000000000000E0 :100020000000000000000000000000005107000078 :100030000000000000000000DB000000E500000000 :10004000EF000000F9000000030100000D010000B6 :1000500017010000210100002B0100003501000004 :100060003F01000049010000530100005D01000054 :1000700067010000710100007B01000085010000A4 .... "
what I am getting: "@ bbbb¡b£b¥b¥b©¥b¥bM¥b¥b9¥b¥b¥b¥b¥b¥b¥bm¥b¥bA¥bI¥b¥b¥bðøðºø 0È8$-¢Fg«FTF]F¬BÑð¬øF>̶F&3BÐû¢F«F3CGtzz#$%&:ÓxÁûØRÓ0ÁÕ`pGµn)Ñð¢ÿ½p)Ñðaù½f)Ñðiù½e)Ñðdù½g)Ñð_ù½a)ÑÀFÀF½h Ó#Ci)ÑðÎø½d)ÑðÉø½u)ÑðÄø½o)Ñðoø½x)Ñðù½é)Ñðø½ä)Ñðø½õ)Ñðø½ï)Ñðbø½ø)Ñðù½hÛ Ó#Cc)Ñð°þ½s)Ñð³þ½ã)Ñð½þ½ó)ÑðÀþ½ ½µÀFÀFðüð¶ù !ðø@`` !ðoøà`ðøðÌý½ ðfüðþFÿ÷ÞÿðôýðúpµFFFàÌÅ>.úÒ.ÓÌÅ>.ÓÌÅ6à!x)pdmvùÒp½Hh! C`HGHGþçþçþçþçþçþç$@Á`µFFFð ÿ½´Iµªðÿ¼¼°G , ´µKª{DiFð×þF iFðåþ F¼¼°GÝ ÷µ%u)h¦Ððþ(Ú@B¦à hÕ¦àIÕ¦%àðþ$$7àð3û019Ud(øÑ+F2F!Fð-þþ½-+ øµF Õ"L|Dà L|D4F!$5à 6¦]nTI2C FCóÑ"Fx#$Õp/Ð)Ð2#ðûýø½2#ùçpµF F!Fhð¾ý#F)F Fÿ÷Çÿp½ÒÓÛËÀç0´h $h#C`#Ãa0¼#µçÞtóµF ° b FáhG(rÐ%(Ðbh¡h«àYO&D FáhG (FÛ1-Òx 8x(ÐCðç°Õ C àaF a*- Ð(Fðý('Ð0=¸ aàºÈa FáhG/FÑài(Ú Cà !iHC@08a FáhGFðØü(ïÑ/ "
eh?
What OS and browser are you using?
posted by Sam Grove 12 Sep 2014I am using OSX, and have tried both Safari and Chrome, same result
posted by Tyler Arnold 12 Sep 2014I'll try to reproduce. Can you try to enable betamode and let me know if the same thing happens? http://mbed.org/betamode
posted by Sam Grove 12 Sep 2014sure I can try that. Also, things magically started working consistently again. I am not sure if anything changed.
posted by Tyler Arnold 12 Sep 2014Keep me posted. I'll still look at thing over the next few days.
posted by Sam Grove 12 Sep 2014I was experiencing the same thing last night. Some builds would work and then a string of builds would fail. Eventually I managed to get a few occasions that the build failed and then without any code changes other than adding/removing a blank line I would get a successful build, each time I replicated this I did a file compare and the only difference was the following 4 bytes
0000001C: 24 00
0000001D: D3 00
0000001E: FF 00
0000001F: EF 00
The 0 bytes are from the failing binary. I had the same result with IE and Chrome.
posted by Chris Taylor 13 Sep 2014Looks like the post processing hook to add a NVIC checksum either fails doesn't run. Thanks for the details. Gonna track this down.
posted by Sam Grove 13 Sep 2014I saw similar behavior, it would be fine for a while, I make an innocuous change, the new hex would be bad, I went back and touched some files and got it to build a good hex again.
posted by Tyler Arnold 13 Sep 2014Just wanted to +1 this issue, I'm experiencing the same problem often.
posted by Prashant Vaibhav 15 Sep 2014