- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am having a problem. When i create a bootloader project and include SPI interface (Master). The bootloader does not show me SPI option to select in "Communication component" window.
For better understanding i attached the picture along with this question.
Looking forward for your suggestions.
Best Regards
Awais
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK. That design is not very uncommon.
You have got 3 different choices:
1st a total re-program of your ADC board with data residing on the motherboard.
- gives maximum of flexibility since project can be replaced with any other project
- needs bootloader on ADC board and a .hex file on the motherboard
2nd Program the board directly with a PSoC5 Kitprog-program
- gives maximum of flexibility since project can be replaced with any other project
- needs the KitProg software from Cypress running on Motherboard
- needs a .hex-file to program on the motherboard
3rd Setting only parameters of the ADC project.
- Safest way, only what may be changed will be changed
- requires a user interface with keypad and a display on the Motherboard
- requires protocoll programming on ADC board
- requires a lot of programming at Motherboard
- Very professional look
- Allows you to sell Motherboard separately increasing your sales
Do not focus on interface speed, the differences might be reduced to a few seconds, the total programming cycle will be through within less than a minute, communication is only a part of that time.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to use an SPI Slave communication interface with the bootloader, an SPI Master is not supported.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou Bob for your reply,
But then, this means that i will use bootloader project with SPI slave and bootloadable project with SPI master?
Regards
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the bootloadable can be Master or Slave. Its constrained to be Slave in
bootloader due to direction of data flow, eg. you are downloading a program
to PSOC target.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The bootloadable does not need any communication interface at all, but the bootloader host (that program which has access to the .hex file to be programmed) will be the SPI master.
So the question for your project is: What device do you want to connect to your PSoC to get its firmware updated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, I want to update my PSOC ADC circuit (it includes amplification (PGA), modulation, filtering and conversion stuff) in order to update the gains and every thing based on the data from the outside world. Since SPI is faster, so i need this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Small clarification, the bootloadable is your ultimate firmware, so if it needs
SPI for some other purpose it can be master or slave depending on your
needs. Earlier comment was belief from your comments that you needed
SPI in your target firmware as part of the design.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the "outside world". This can be anything between a PC, or a self-made device communicating with or just re-programming your firmware. For self-made devices it could be of interest how to get the .hex file onto that device.
I think you should at first specify which hardware you want to use, then you can think of how you want to have that done
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou Bob for your reply. I attached my scenario. I want to update my psoc adc via motherboard psoc. What i thought that i made my PSOC ADC (small box) as slave and mother board as master. So this means both will be bootable. Am i right?
If yes, then i am confused with the bootloader project file that i need to make for both boards how do i communicate every thing?
looking forward for your reply.
Regards
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK. That design is not very uncommon.
You have got 3 different choices:
1st a total re-program of your ADC board with data residing on the motherboard.
- gives maximum of flexibility since project can be replaced with any other project
- needs bootloader on ADC board and a .hex file on the motherboard
2nd Program the board directly with a PSoC5 Kitprog-program
- gives maximum of flexibility since project can be replaced with any other project
- needs the KitProg software from Cypress running on Motherboard
- needs a .hex-file to program on the motherboard
3rd Setting only parameters of the ADC project.
- Safest way, only what may be changed will be changed
- requires a user interface with keypad and a display on the Motherboard
- requires protocoll programming on ADC board
- requires a lot of programming at Motherboard
- Very professional look
- Allows you to sell Motherboard separately increasing your sales
Do not focus on interface speed, the differences might be reduced to a few seconds, the total programming cycle will be through within less than a minute, communication is only a part of that time.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou Bob for your valuable suggestions.
I would like to go with 3rd option. Lets see how good i can do with that 🙂
Regards
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content