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

Comilation & Hex file created but after

Hi I have return a code (my own led_init function) by referring a code on internet, my code is compiled successfully and 0 errors, once I flash my code to development code and starts to debug the resultant output is not achieved, when I starts to debug I found that the Moder registers Output type registers speed register of the particular port is not working ii have stucked here could some one help me out .

  • Do you pay well for guidance?

    Should we collectively guess what is wrong with the code you copied? Compilation errors relate to syntax, not function. Linker errors relate to completeness and closure, not function.

    Do you enable all the clocks required?
    Are the register settings in all the peripherals correct, per reference manual?