Stand Alone Bootloader Host

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

cross mob
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

 I am new to the PSOC. For the last few years my conpany has used Microchip devices but due to recent 20 week lead times, we are looking at migrating our products to Cypress PSOC 5LP devices.

   

One issue is enabling customers to perform field updates. I note the Bootloader Host built into the Creator software and wonder if there is a stand-alone version available? Preference would be one withsource code in say VB.NET where we can put our own branding onto the form.

   

Preference for bootloader would be via USB or Serial UART port.

   

Thanks in advance.

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

Welcome in the fascinating world of PSoCs!

   

Ready-made bootloader interfaces are UART, USB and I2C, but you may write your own one. Look here:

   

http://www.cypress.com/?rID=41002

   

http://www.cypress.com/?rID=57561

   

http://www.cypress.com/?rID=50230

   

The host part has to be written by you to have your logo displayed.

   

 

   

Bob

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

 Bob,

   

So are you saying the only bootloader host available is the one integrated with the Creator and each company who want their customers to be able to upload in the field need to each write their own version of bootloader host from scratch?

   

Are most of the current users getting their customers to install creator to give their clients to be able to upload new code or rolling their won?

   

Which document explains the commands and process we need to communicate with the bootloader form the PC?

   

I must have been spoilt with the Microchip device as there were several third party Bootloader hosts and source available (We used the TRACE systems one).

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

You probably misunderstood me. I tried to say, that you have to write your host yourself which usually is a C#-program, reading the Hex-file and transmitting it to the interface. Nothing very complicated.

   

 

   

Bob

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

Have a look here: http://www.cypress.com/?app=forum&id=2492&rID=89713

   

 

   

Bob

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

Take a look at this -

   

 

   

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

   

 

   

Includes a GUI ap, and discusses customization.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Thanks Dana,

So the AN comes with the CyUSB.dll and Bootloader_Utils.dll which are both Windows dynamic link libraries. Are there similar .so files for use with Linux based systems?

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

 Thanks Dana,

   

I ran up the Bootloader Host source provided for Visual C# and it compiles ok and I can make the changes I need without having to roll my own from scratch.

0 Likes
Anonymous
Not applicable

 Hi all.

   

i have seen you are talking about programming a psoc through a c# application, 

   

somebody says that this is possible reading the hex file, i want to ask something about it,

   

i have seen a programm with the application notes, where you can convert a hex file to a .c file

   

in that .c file you can see a large vector. is that  the information i have to send? if the answer is yes, i can send it 

   

through a serial port like in the UART example in the notes?

   

 

   

I'm new in this world so please forgive me i f i'm saying something without sense.

   

 

   

Best regards.

   

 

   

oscar.

0 Likes
Anonymous
Not applicable

I implemented a bootloader transport based on raw CANbus frames for use on one of our products.

   

Added the host support to https://github.com/arachnidlabs/cyflash

   

Since commit f57187751 it also includes the relevant C code on target side (PSOC3 tested only). The C code is GPL licensed; as far as I'm concerned it may be included as "official" transport by Cypress.

   

Right now it must be used as "custom interface", I've been too lazy to add all the bells&whistles, besides not being really confortable with C# and windows stuff.
 

0 Likes