my code works once !

hi all

I've worked with tcp library with 4.2 version without any problem

now i switched to 4.7 version

when i program my code it works properly (answer my ping)

but when i turn it off and on (reset) it doesn't answer my ping !

thank

Parents
  • "when i program my code it works properly (answer my ping)"

    What, exactly, do you mean by, "program my code"?

    Do you mean downloading it via JTAG, and then starting it with the debugger?

    "but when i turn it off and on (reset) it doesn't answer my ping !"

    So there's something wrong with the Reset in your system!

    When you download and/or start your code via JTAG, the JTAG resets the processor;
    when you just turn off & on, it's all down to your system to apply proper reset conditions...

Reply
  • "when i program my code it works properly (answer my ping)"

    What, exactly, do you mean by, "program my code"?

    Do you mean downloading it via JTAG, and then starting it with the debugger?

    "but when i turn it off and on (reset) it doesn't answer my ping !"

    So there's something wrong with the Reset in your system!

    When you download and/or start your code via JTAG, the JTAG resets the processor;
    when you just turn off & on, it's all down to your system to apply proper reset conditions...

Children
More questions in this forum