This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TFTP

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

Parents
  • 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

Reply
  • 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

Children
No data