This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uart boot loader

How to dump the code into boot loader section.My objective is i need to do the simple application i.e I want to turn on the LED in the main program.After reset i need to turn off the same LED using boot loader concept.How can i do this?

  • Hello Surendra,

    Then why use a boot loader if you want to turn ON and OFF an LED?

    Regards
    Amit
  • Through boot loader i need to turn off the LED for this i need to write a small application in boot loader program to turn off the LED automatically after pressing the reset switch.I don't want to dump the code by external hardware every time.Just i want to know how the boot loader saves the code into FLASH in micro controller.For this i need to write a small code in boot loader for turn off the LED is it right?
  • Through boot loader i need to turn off the LED  for this i need to write a small application in boot loader program to turn off the LED automatically after pressing the reset switch.I don't want to dump the code by external hardware every time.Just i want to know how the boot loader saves the code into FLASH in micro controller.For this i need to write a small code in boot loader for turn off the LED is it right? 

  • Hello Surendra,

    Strictly speaking boot loader and application should not be confused. The Boot loader gets the application. Of course you can do a host of things in the boot loader besides getting the application image.

    Why would you have to dump the code by external hardware every time. Note that the application code is flashed by the external hardware.

    Regards
    Amit