Changing target for Bootloader project

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Hi,

   

I'm pretty new to Cypress PSoC and to Creator. I'm learning how to use it and have done some of the examples.

   

I have a project that someone else worked on and I'm trying to change the target device so that I can run it on a 5LP development kit. I was able to change the device and clean up a couple errors from the clock module. I'm still getting an error when I build the project regarding the bootloader. 

   

The error is "pft.M0076: The selected device for the Bootloader and Boatloadable projects must match, but don't. Bootloader is targeting 'CY8C5888FNI-LP210' and bootloadable is targeting 'CY8C5868AXI-LP035'."

   

I've hunted around a lot for a place where I can change the target for the Bootloader but have not been able to find it.

   

To be clear I'm trying to change the target device from  CY8C5888FNI-LP210 to CY8C5868AXI-LP035.

   

Thanks in advance.

   

Mike

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When using a Kit-050LP you do not need a bootloader since on the board is an interface for debugging and programming integrated to.

   


When you want to use a bootloader you need two projects: the BootLoader project that defines what kind of interface the bootloading process will use (besides a couple of other properties)

   

And the BootLoadable which will be run. This project strongly depends on the first and the needed connections (files) are specified in the BootLoadable component. So the next step for you to take should be to find the BootLoader project and change the device, too.

   

 

   

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When using a Kit-050LP you do not need a bootloader since on the board is an interface for debugging and programming integrated to.

   


When you want to use a bootloader you need two projects: the BootLoader project that defines what kind of interface the bootloading process will use (besides a couple of other properties)

   

And the BootLoadable which will be run. This project strongly depends on the first and the needed connections (files) are specified in the BootLoadable component. So the next step for you to take should be to find the BootLoader project and change the device, too.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Bob,

   

Thank you! That is good info. I very quickly found that there was essentially a project within the project called I2C_Bootloader with a separate .cywrk file. I opened that up and set the target device and rebuilt. Now, I can rebuild the master (for lack of a better word) project without errors and download it.

   

 I understand what you are saying though that in this case (using the dev board) I shouldn't even need the bootloader although I'm thinking extricating it might be a project by itself ... maybe not.

   

Anyway, thanks again for your help.

   

 Mike

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Fine to have helped you. You are always welcome.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Additional ref material that may be helpful -

   

 

   

     

   

http://www.cypress.com/?rID=50230     AN68272 UART BL

   

http://www.cypress.com/?rID=41002     AN60317 I2C BL

   

http://www.cypress.com/?rID=57561     AN73503 USB HID BL with GUI Host

   

http://www.cypress.com/?rID=56014     PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders

           

 

   

Regards, Dana.

0 Likes