- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
I try to read the PFLASH section for the verification of the flashed software by the bootloader. The Idea behind is read the Pflash section and calculate the crc for the flashed software image. But there is no any read function in the illd. Could you help me further with this issue?
Best regards
Solved! Go to Solution.
- Tags:
- bootloader
- pflash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't need any special function. It is as simple as:
uint32 value = *((uint32 *)(address));
Macros from IfxFlash_cfg.h might be useful. Please also take a look at this:
https://community.infineon.com/t5/AURIX/How-can-I-read-erased-PFLASH/m-p/317417
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could use the FCE peripheral to generate the CRC for you see the following example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't need any special function. It is as simple as:
uint32 value = *((uint32 *)(address));
Macros from IfxFlash_cfg.h might be useful. Please also take a look at this:
https://community.infineon.com/t5/AURIX/How-can-I-read-erased-PFLASH/m-p/317417