Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Hy , I used the CY8CKIT-049-42xx Kit example SCB_Bootloader.cywrk and tried to modify the blinking frequency of the LED when entering the bootloader mode. The PWM user module in the bootloader project controls the LED blinking when the bootloader is active. In the UART_Bootloader project is a single PWM user module. Default input clock is 20 kHz, default period of the PWM is 10000 and default compare value is 5000. This gives a blinking frequency in active bootloader mode of 2 Hz. In order to increase this frequency to 4 Hz I've set period of the PWM to 5000 and compare value to 2500. Next steps were: - Build the bootloader project. Then there are new *.hex and *.elf files in the .. SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_493\Debug\ directory. - Open the Bootloadable blinking LED Project. Select it as the active project. Set the path in configuration menu of the bootloadable user module to the the new generated *.hex and *.elf files . - Build the bootloadable project. - Select Tools -> Bootloader Host and select the file .. \SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_493\Debug\Bootloadable Blinking LED.cyacd - Plug the USB cable onto the KIT-049 with SW 1 hold pressed to enter bootloader mode. - Programm the Kit with Bootloader Host - Unplug the USB cable. Plug the USB cable again onto the KIT-049 with SW 1 hold pressed. But blinking frequency is still 2 Hz. What was wrong? Thanks for help !
You cannot re-program the bootloader within the PSoC4 using Bootloader host. Fortunately! The only way to change the bootloader is to use a Miniprog3 or a Kitprog programmer. This is explained in the kit's manual,