Jun 26, 2020
02:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 26, 2020
02:25 AM
Hi,
I'm trying to debugging the example E_Eeprom_xmc1_example_xmc1300 without success. When I start the debugger, I get an exception to the default handler ( b .) and I dont know why. What I'm doing wrong? I saw that the exception is comming when the software is trying to read the flash memory into the function XMC_FLASH_ReadBlocks:
To be more exactly by the datatransfer von pointer *address to *data. It seems as the pointer would have a wrong address. Can help me anybody to solve this problem?
I would appreciate some help a lot.
Thank you
Pablo
I'm trying to debugging the example E_Eeprom_xmc1_example_xmc1300 without success. When I start the debugger, I get an exception to the default handler ( b .) and I dont know why. What I'm doing wrong? I saw that the exception is comming when the software is trying to read the flash memory into the function XMC_FLASH_ReadBlocks:
void XMC_FLASH_ReadBlocks(uint32_t *address, uint32_t *data, uint32_t num_blocks)
{
uint32_t word;
uint32_t block;
XMC_ASSERT("XMC_FLASH_ReadBlocks: Starting address not aligned to Block",
((uint32_t)address & FLASH_BLOCK_ADDR_MASK) == 0U)
for (block = 0U; block < num_blocks; ++block)
{
for (word = 0U; word < XMC_FLASH_WORDS_PER_BLOCK; ++word)
{
*data = *address;
data++;
address++;
}
}
}
To be more exactly by the datatransfer von pointer *address to *data. It seems as the pointer would have a wrong address. Can help me anybody to solve this problem?
I would appreciate some help a lot.
Thank you
Pablo
- Tags:
- IFX
2 Replies
Jul 08, 2020
12:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2020
12:02 AM
Hi guys,
I finally found the problem. I've toaken the wrong link file.
Thank you for reading.
Pablo
I finally found the problem. I've toaken the wrong link file.
Thank you for reading.
Pablo
Jul 23, 2023
03:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 23, 2023
03:49 PM
I'm having the same problem, but I don't understand what 'taking the wrong link file' means??? I'm using the generated linker file...