You are here

PSoC 3/5 UART Bootloader Solution | Cypress Semiconductor

PSoC 3/5 UART Bootloader Solution

Summary: 25 Replies, Latest post by danaaknight on 16 Apr 2014 04:00 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
user_26804380's picture
User
26 posts

Some time ago i was working on a project and we only was able to make the PSoC device programable through UART, no other interfaces such I2C or USB was avaliable, so i decide to develop the solution to get the PSoC programable through UART and it is working, now you can program PSoC 3 and 5 devices through UART.

People interested in this solution can contact me at: andrex289@hotmail.com

Customization to other interfaces such as SPI is avaliable.

kiku's picture
Cypress Employee
64 posts

Hi Victor,

Nice to hear !! We are now coming up with an App Note for Creating Custom component with bootloader in 2-3 weeks, after which you can use any Communication protocol device for bootloading..

Regards,
Kishore.

user_26804380's picture
User
26 posts

Hey Kishore! That is great! at the time i was working on the UART Component with Bootloading capabilities there was not many info so it was very dificult to learn about porting the communication api and customizer interfaces from the scratch, but now i have a UART Component with bootloading capabilities.

I also have a bootloader host program written in C and we have tested it running on linux to bootload the firmwares to PSoC through UART, it is working very good. Ethernet Bootloading project using external chip is proposed also for our devices.

I hope next version of PSoC Creator comes with many components and PSoC 5 becomes commercialy avaliable soon.

Regards,
Victor Andres

hitesh sidhani's picture
User
1 post

Hi... i am presently working on psoc3. i want to interface uart with my pc and send data from pc to psoc3 n shows that data on lcd.

i had tried the code on the cypress website of 'simple 8bit uart interface' but it is not working. so please help me by sending the

code or by guiding us for the same...

 

 

With Regards,

Hitesh Sidhani

 

 

U2
uday's picture
Cypress Employee
569 posts

Hi Hitesh,

Can you tell us what issue you are facing. Which PSoC3 board are using, what settings had you made on the board. Can you start a new thread instead of digressing of from the actual Bootlader topics here.

-Udayan

StefanL's picture
User
6 posts

We are looking at doing the bootloading over UART as well.

1. Does Cypress have a UART bootloader example/component (or will they soon)?

2. Can the UART (bootloading component) be used for the bootloading function and then once control passes to the bootloadable project for normal user Input / Output?

3. I see AN60317 (I2C Bootloader) but what is the Application Note # for creating custom components?

Thanks,

Stefan

user_26804380's picture
User
26 posts

 Hi,

 

Here is the link for the UART Bootloader component:

 

www.4shared.com/file/HjCL5iWf/UARTBLcywrkArchive01.html

 

I did this component about 6 months ago, first version was for PSoC Creator Beta, this version is for PSoC Creator Production version but i think it will work also in Beta version too.

The first version for the bootloader host program was make in ANSI C for linux, you can find it here:

www.4shared.com/file/gvEmn55k/serial-psoc.html

 

I was working on another version for windows, linux and mac in QT Creator, i didnt finish this project, only the GUI is completed, and i think some part for detecting serial ports avaliables in the PC but code for transfering the PSoC program was not finished, anyway is not difficult to implement you can check in the code for linux and port it. For the people interested here is the code:

www.4shared.com/file/DTGLHnWp/BootloaderHost.html

 

Regards,

Victor Andres

U2
uday's picture
Cypress Employee
569 posts

Victor, thanks for sharing this !

StefanL's picture
User
6 posts

I got this to work but with some effort. I was not able to rename the component without getting compiler errors and changing the library location or importing into another project was hit or miss.

I was hoping that Cypress would come out with a natively supported UART bootloader in SP1... but obviously that did not happen.

Are there plans for Cypress to support UART or other protocols than the currently supported I2C and USB?

 

Stefan

U2
uday's picture
Cypress Employee
569 posts

Since there many people have shown inclination towards having UART based Bootloader, the same is being evaluated and you can expect a UART based Bootloader support from Cypress soon.

user_66945721's picture
User
256 posts

Hey guys,

I'm an undergrad student from BITS Pilani,heading the on-campus CUA Initiatives.We're trying to build a custom PSoC3 board,and that project could get a real boost from a simpler programming interface,like UART via a custom UART bootloader,because that'd eliminate the need for seperate MiniProgs or FX2LP Programming ckts.

Just for details,the board we're designing will be a bare-bones PSoC3 solution.It'll be just the chip,the required capacitors and a programming header,with as many pins as possible,broken out to headers.Even power will be provided by off-board supplies.The aim of this exercise is to create simple PSoC3 boards that can be produced in small batches for wider reach of this tech among our students.

Future versions include the support for 'Expansion board' style hardware addons(eg: Serial Port,DC/Stepper Motor Control etc)

Coming back to my original point,Whats the status on the Cy support on this UART Bootloading business?

Log in to post new comments.