SCB_CleanInvalidateDCache_by_Addr not available for E70/V71?

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

Quick question, I can't seem to find the macro SCB_CleanInvalidateDCache_by_Addr() in core_cm7.h (or anywhere for that matter), although it is referenced in Microchip's TB3195 and the ARM documentation. Is it available on the E70/V71?

 

I am not able to to use SCB_CleanInvalidateDCache() as it takes too long for my application.

 

Thanks.

This topic has a solution.
Last Edited: Mon. Nov 11, 2019 - 01:05 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, so I believe SCB_CleanInvalidateDCache_by_Addr() was in v4.2 of CMSIS and I am using v4.0. I found the thread below where morten gives a solution, but I am having the same problem as jstampfl where the packs are all greyed out. If I start a new project from scratch then I can access them and SCB_CleanInvalidateDCache_by_Addr() is available. So I need to figure out why the packs are greyed out.

 

https://www.avrfreaks.net/forum/asf-update-does-not-update-cmsis

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After some fruitless effort, I simply copied SCB_CleanInvalidateDCache_by_Addr() into the core_cm7.h file that was already in my project.