7 years, 9 months ago.

LPC1768 tcp ip bootloader

Hello all,

I am using an LPC1768 mbed board. I have written a program to receive a firmware (.bin) via tcp/ip from a pc that has a simple c# program. I create a thread that connects to the pc and starts sending the firmware over. So far this has worked and the firmware is received fully ... Prior to that I use localfile system to create a file called fw.bin which appears all CAPITALS for some reason.. in the receiving thread every byte i read from tcp ip i write to the localfilesystem after finishing i reset using mbed_reset() in order for the interface chip to load the new fw.

i can see on my windows pc the file has been created but with 0 bytes in it .

Is there any reason this is happening?

Many Thanks Nart

Be the first to answer this question.