When you post the complete project here we will be able to check the settings and the source for any inconsistencies. To do so, use Creator 3.0 -> File -> Create Workspace Bundle and attach the resulting archive using ie (chrome still does not work).
I can't post the project here since is for work. Could you tell me what should I check?
I'm trying to make the project again form 0 just adding the parts and the code by parts checking that eveytime I add a part of the application it still can be programmed by bootloader.
Could it have something to do with the USB connection?
I've discovered that when I add a UART to the project and then program the board with the bootloader the app doesn't start.
Then if I add just a timer it works.
Finally I add only the a couple of ADC's and 8 PWMs and it doesn't work so I'm guessing is because of the size of the program.
Do you have any idea of what can be the cause?
I think I will do that but first I might just try to use a UART bootloader to see if I can be able to update the firmware wirelessly using the on board bluetooth which is working as a serial replacement.
Can anyone tell me if the UART bootloader can work at 115200 bps? It seems it can but when I use Cypress UART bootloader software you can only select up to 57600 but you can manually write 115200.
I have had no luck with the UART bootloader using the bluetooth module.
I've tried again with the USB but I can't make it work.
I've attached the simplest bootloader and bootloadable projects. The bootloadable works just fine if you delete the UART that I've added. I know it works because the LED blinks slower with the bootloadable application and also I loose the USB connection until I reboot the board.
There is basically no code so I don't know what the problem can be.
I would really appreciate any help.
Since this my be useful for someone else I will post the solution.
I filed a case and Cypress support team has found the solution.
Turns out there is a bug in PSoC Creator.
The work arround is easy. You just need to do this:
Un-check the option "Store Configuration Data in ECC Memory" available in the 'Systems' tab of the .cydwr file of the Bootloadable project. Now clean and build All projects-> Program Bootloader -> Bootload using the Host Application.
I hope it helps.
I'am also busy with a usb bootloader(able) program. But which host program are you using? I only found PSoC1 usb host program but that is asking for a dld file and not for the .cyacd files.
Am I using the wrong host program?
Btw also my bootloader led is not flashing while the bootloader starts and stops after 20 seconds, which I customized.
I hope you (or someone else) can help me.
You are aware of these example programs in Creator -
Yes I am,
I already have a bootloader and a bootloadable project. It seems that they are working (LED is also flashing when bootloader starts) but I could not find a bootloader host program to upload the .cyacd file to my device.
The only one I found was a host program for .dld files and that is old stuff I think. Do you know if here is a ready to use bootloader hostprogram or do I have to make it myself...
Wel I did a much better search in the Cypress filders and I found a new Bootloader host program.
I used it and ...tada.. the file was correctly uploaded to my PSoC 5 project and was working too.