SCB_Bootloader CY8CKIT-049-42xx Blink Frequency

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        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 !   
0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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,

   

 

   

Bob

0 Likes
Anonymous
Not applicable
        Thanks a lot. Using MiniProg3 modification of bootlaoder was succesful !   
0 Likes