We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
As soon as i check-mark TFTP in Net_Config.c, my main program stops executing, even one line of code!
Oh i've included TFTP_uif.c into my project. All compiles fine and burns to LPC 2129 on MCB2100, but even the led routine at the start of main() does not execute.
Any suggestions?
Thanks and regards,
Akshat
Please check your TFTP_Demo example if it compiles and runs.
However have in mind that TFTP needs a file system behind. If you enable the FFS, then you need to provide also a heap of at least 0x800. Othervise the system will hang in pre-main function, trying to execute a semihosting swi. In other words the system is trying to send a message on stderr that the heap size is too small to continue.
And don't forget to uncheck the Use MicroLIB checkbox in Options for Target and use a standard library for FFS aplication. And you also need a correct retarget.c. All that is in the TFTP_Demo example setup correctly.
Franc