- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed Rahmathulla,
Thank you for your answer.
Thanks a lot for successfully solving the above problems under your guidance.
At present, I need to implement a firmware update function. Through reading the document, I have learned about bootlader and Bootloadable. Can I upgrade firmware through IIC only by using bootloader?
If so, which routine should I refer to to implement this part of the function?
Also, I encountered this error while compiling the official routine, and I don't know how to solve it.
Thank you again, you're really great.
Thanks & Regards
Danio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Danio,
CCG4 will support I2C bootloader and you can find the I2C boot files inside the notebook project.
worksapce folder\CYPD4226-40LQXI_notebook\CYPD4226-40LQXI_notebook.cydsn\i2c_boot.cydsn
if you are planning have dual partition for the firmware, you can update the firmware using the other firmware.
else, programs get into bootloader to upgrade the firmware (I2C bootloader).
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Danio,
CCG4 will support I2C bootloader and you can find the I2C boot files inside the notebook project.
worksapce folder\CYPD4226-40LQXI_notebook\CYPD4226-40LQXI_notebook.cydsn\i2c_boot.cydsn
if you are planning have dual partition for the firmware, you can update the firmware using the other firmware.
else, programs get into bootloader to upgrade the firmware (I2C bootloader).
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed Rahmathulla,
Thank you for your answer.
According to your instructions, I use this routine, but can not find the slave device (HPI_IF), do you know what the reason is?
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Danio,
You will get the I2C slave address in the project TopDesign.cysch.
open the HPI_IF block to get the slave address which i have highlighted below.
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed Rahmathulla,
Thank you for your guidance.
In the process of debugging found that I write, read error occurred... Therefore, I would like to confirm the following.
After I write the (0x38) packet as described in the manual, will the component of the PSoC reply with a packet correct?
Thanks & Regards
Danio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Danio,
Sorry for the delay,
Could you please let me know the document which you are referring and mentioned above.
what is the error which you are getting while communicating through i2c?
did you got ack while sending the address?
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed Rahmathulla,
I have successfully solved the problem of appeal, and the execution of CYPD4226 is normal. Thank you for your answering questions these days.
Thank you very much. You're the best.
Thanks & Regards
Danio