ADC read before bootloader

HI, 

    I am working on a application which has an requirement, that I need to read the current value if it is above threshold value then I need to turnoff the control. Here my query is ,is there any way to do that task before entering to bootloader. Main reason for that is ,anyway bootloader will take certain time to boot(which is less only) the application at that time I don't want my device to get damage.so just curious to know can achieve that functionality, if yes then please share the reference. 

Parents Reply
  • Hi,

     

    Shikamaru said:
    no actually, you can say someone is giving me analog signals, here am reading those values( ADC ), if it crosses my threshold i will turn of controller itself.

    Understood.

    But, why do you want this in the bootloader? Starting up and jumping to the application is not a costly procedure in terms of time.

    If your mcuboot has serial output enabled, it might take time just to physically print the debug log, but those you can disable by changing mcuboot's config (CONFIG_LOG=n)

     

    Kind regards,

    Håkon

Children
No Data
Related