- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I know that ".cy_checksum_exclude" excludes the Emulated EEPROM area from Checksum when using Bootloader. Neither Bootloader nor Emulated EEPROM is implemented, but I would like to use it to assign the address of CySysFlashWriteRow API.
If I specify it with it, Linker will automatically place the address to the end of the program FLASH.
Q1: Is there any particular problem?
Q2: And what is the description of ".cy_checksum_exclude" actually?
Does the following of the Linker Script determine the address?
.cy_checksum_exclude : { KEEP(*(.cy_checksum_exclude)) } > rom
------------------------------------------------------------------------------------------------------------------------------
#define CY_TEST_FLASH_ROW ((uint32)InitParameter >> 7)
...
uint8 rowPattern[CY_FLASH_SIZEOF_ROW];
volatile uint8 InitParameter[CY_FLASH_SIZEOF_ROW] CY_SECTION(".cy_checksum_exclude") __ALIGNED(CY_FLASH_SIZEOF_ROW) = {0u};
...
returnValue = CySysFlashWriteRow(CY_TEST_FLASH_ROW, rowPattern);
...
------------------------------------------------------------------------------------------------------------------------------
map file:
Best regards,
Yocchi
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you let us know why you are not using Emulated EEPROM.
Can you please explain your requirements more clearly.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alakananda-san,
Thank you very much for your reply.
The initial value of Emulated EEPROM cannot be set by Linker.
Initial values can be set in the array definition of CySysFlashWriteRow API.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Someone know?
Best regards,
Yocchi