Creating Bootloader Host Application through Visual Studio and unable to program a .cyacd file

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

cross mob
SaKu_3221121
Level 1
Level 1
First like received

We are using the Bootloader Host application that is provided by the PSOC, below is the link,

https://www.cypress.com/documentation/application-notes/an73503-psoc-usb-hid-bootloader

In the Visual Studio application, after we load the .cyacd file and click program on the gui, we are getting error bootloader_ERR_DATA (0X04u) /*the data is not of a proper form*/

The dll used for Host application is created by referring the document attached (001-73503_AN73503_PSoC_USB_HID_Bootloader.pdf).

We are using PSoC 5LE and kit is CY8CKIT-059 PSoC 5LP.

0 Likes
1 Solution

Please find both the working PSoC Creator project and the Bootloader Host C# code attached. When you open the PSoC Creator project, follow these steps:

(1) Set the active project to the Bootloader

(2) Build the project

(3) Copy the path to the bootloader hex file

(4) Set the active project to Bootloadable

(5) Open the configuration dialog of the Bootloadable component

(6) Under dependencies, point to the bootloader hex file

(7) Build your project

(8) Program your device

Once programmed, connect the USB cable to the USB port and press reset. Run the bootloader host application and you should see the device connected. Point to the cyacd file generated by the Creator project and click Program. It should work successfully. Let me know your observations.

Regards,

Dheeraj

View solution in original post

0 Likes
9 Replies
This widget could not be displayed.