- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are using CY8CKIT-062-WIFI-BT running amazon freeRTOS aws_demo application. The IDE is modustoolbox2.0.
We have already implemented ota function and could download a downloadable file from aws cloud. What we have done is use attached code file for allocate a temporary buffer and copy received buffer there.
If we need to download the downloadable file to external flash such as DFU host tool, is it possible? If we can do that just like DFU, which function or API need to implement on aws_ota? Thanks for your help.
BR,
Wayne
Solved! Go to Solution.
- Labels:
-
ispn:39620:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi WaLo,
To access the external memory, you will have to map the address ranges using "sflash_toc_2".
Please refer your linker script for the sflash_toc_2 definition.
Though this example is not entirely what you are looking for, it might help you get started with the external memory access.
Hope it helps.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi WaLo,
To access the external memory, you will have to map the address ranges using "sflash_toc_2".
Please refer your linker script for the sflash_toc_2 definition.
Though this example is not entirely what you are looking for, it might help you get started with the external memory access.
Hope it helps.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I missed to highlight the another example, that you might want to have a look.
https://www.cypress.com/documentation/code-examples/ce220959-psoc-6-mcu-ble-bootloader-external-memo...
This is not a FreeRTOS example. But, certainly useful in SMIF configuration, FYR.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rave,
I have already accessed the external memory successfully by take reference on those two sample code.
Thanks so much.
By the way, we put the cyacd2 file onto amazon cloud, how could we parse the cyacd2 file format?
The cyacd2 size is quite large and include the header each row. How could we only catch the data not include the header?
Thanks.
BR,
Wayne