Anonymous
Not applicable
Sep 10, 2015
11:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
11:26 AM
I need to calculate the checksum for sections of FLASH memory that contain the program.
How can I read FLASH?
Thanks,
Paul.
3 Replies
Sep 10, 2015
11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
11:52 AM
Use pointer arithmetic, as
uint8 * Mypointer;
Assign your starting address to it and read from as
Sum += *(Mypointer++);
Bob
Anonymous
Not applicable
Sep 10, 2015
12:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
12:17 PM
Easier than I expected 🙂
Thanks, Paul.
Sep 10, 2015
01:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
01:43 PM
This covers the organization of memory, and name of pointers to it -
http://www.cypress.com/documentation/application-notes/an89610-psoc-4-and-psoc-5lp-arm-cortex-code-o... AN89610 - PSoC® 4 and PSoC 5LP ARM Cortex Code Optimization
cydevice.h contains key base addresses. Auto generated, in workspace explorer.
Regards, Dana.