1 Reply Latest reply on Aug 2, 2016 4:11 AM by hima

    Dual bootloader application

    shyam.sundar.m.r

      Hi all,
      I have attached a test code for Dual bootloader application.
      SCM master and SCM slave are the two bootloadable application.
      SCM master when executed will toggle single GPIO line (blink a single LED).
      SCM slave when executed will toggle two GPIO line (blink a two LEDs).

         

      If the GPIO line is read high, then the Bootloader should start the SCM master application immediately.
      If the GPIO line is read low, then the Bootloader should start the SCM slave application after the wait timeout.

         

      When I program the SCM master application (through PSoC creator), irrespective of the GPIO line status, the bootloader starts SCM master application. If the GPIO line is read high, then the Bootloader starts the SCM master application immediately.If the GPIO line is read low, then the Bootloader starts the SCM master application after the wait timeout.

         

      Similarly when I program the SCM slave application (through PSoC creator), irrespective of the GPIO line status, the bootloader starts SCM slave application. If the GPIO line is read high, then the Bootloader starts the SCM slave application immediately. If the GPIO line is read low, then the Bootloader starts the SCM slave application after the wait timeout.

         

      Why is the behavior not as per the expectation?
      Which hex file should I program to make sure that the flash has bootloader, SCM master and SCM slave images.