Data Not Reflect in Shared Memory between 2 Cores (STM32 H745 - M7/M4)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-01 3:11 AM
Hello Community,
I am using STM32H745 controller in one of my project.
I am trying to send data from M4 core to M7 core using SRAM. To test the same I am increment a variable and writing to 0x10040004 location from M4 and reading the same location (also 30040004) in M7 at every 1 minute. However the variable do not reflect every time in M7.
Below are the M7 logs from for the reference.
1 Minute timer timeout
devCount: 88 [0x10040004]
tDevCount: 87 [0x30040004]
1 Minute timer timeout
devCount: 88 [0x10040004]
tDevCount: 87 [0x30040004]
1 Minute timer timeout
devCount: 90 [0x10040004]
tDevCount: 89 [0x30040004]
Please let me know, If I need to configure anything for shared memory.
Thanks and Regards
FYI:
We have also tried below solution but still got failure :sad_but_relieved_face:
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-19 6:32 AM
issue was resolved by Disabling Data cache by simply commenting SCB_EnableDCache() API from main.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-19 6:32 AM
issue was resolved by Disabling Data cache by simply commenting SCB_EnableDCache() API from main.
