Hi all,
I'm connecting the Mbed to a server where there's a new *.bin file to transfer for Firmware Update via GPRS (cellphone).
The *.bin file was compiled using the online compiler and saved in the server.
Unfortunally the transfer isn't working properly (only 10700 of 10828 bytes are transfered), but that isn't my only problem right now. My problem is when i copy the bytes of the original file (opened using notepad) and paste it into another notepad file (saving as *.bin), and put it in the Mbed, it doesn't work. If i put the original file, it works. The contend of the files are exactly the same.
For example:
I opened the original file that the compiler gives me (*.bin) using the notepad and get the following results (just an example):
^@^@%$&*^@^@[zzxxyy]^@^@^@^@&*(12345)
If I copy those bytes to a new notepad file and save it as "example.bin" and try to run it. It doesn't work, but the original file works.
Any help why this happens?
I'm afraid of this, because later on, when I really can tranfer the file properly from the server, the copied file doesn't run.
Best Regards,
Hi all,
I'm connecting the Mbed to a server where there's a new *.bin file to transfer for Firmware Update via GPRS (cellphone). The *.bin file was compiled using the online compiler and saved in the server. Unfortunally the transfer isn't working properly (only 10700 of 10828 bytes are transfered), but that isn't my only problem right now. My problem is when i copy the bytes of the original file (opened using notepad) and paste it into another notepad file (saving as *.bin), and put it in the Mbed, it doesn't work. If i put the original file, it works. The contend of the files are exactly the same.
For example: I opened the original file that the compiler gives me (*.bin) using the notepad and get the following results (just an example):
^@^@%$&*^@^@[zzxxyy]^@^@^@^@&*(12345)
If I copy those bytes to a new notepad file and save it as "example.bin" and try to run it. It doesn't work, but the original file works.
Any help why this happens? I'm afraid of this, because later on, when I really can tranfer the file properly from the server, the copied file doesn't run.
Best Regards,