USBUART and bootloading

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

cross mob
Anonymous
Not applicable

Hello,

   

I've been reading the documentation, and it seems that the USBFS components can be used both as a UART emulator (USBUART component), or can be configured as a bootloader to place new binaries into the chip.

   

Can both configurations be used at once? E.G: Can I use the USBUART to commuincate via a virtual comport to a PC, while still using it as a bootloader when needed by the user?

   

thank you,

   

bk

0 Likes
3 Replies
Anonymous
Not applicable

My guess is you can configure the USBFS component as a HID Bootloader in the "Bootloader" project and configure the USBFS component as USBUART in the "Bootloadable" project.

   

You need to invoke the bootloader project when you want to update the bootloadable project.

0 Likes
Anonymous
Not applicable

 Is there some more details or a tutorial on something like this?

   

thank you,

   

bk

0 Likes
Anonymous
Not applicable

Bkphat,

   

 

   

You can refer to AN73503 - USB HID Bootloader for PSoC® 3 and PSoC 5 to know how to use the USB HID bootloader.

   

An example USBUART project is available in creator. You can right-click on the USBUART component and open the example project.

0 Likes