You are here

SCB_Bootloader CY8CKIT-049-42xx Blink Frequency | Cypress Semiconductor

SCB_Bootloader CY8CKIT-049-42xx Blink Frequency

Summary: 2 Replies, Latest post by karl_m75 on 22 Apr 2016 06:09 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
karl_m75's picture
6 posts

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 !

user_1377889's picture
9274 posts

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,



karl_m75's picture
6 posts

Thanks a lot. Using MiniProg3 modification of bootlaoder was succesful !

Log in to post new comments.