I am trying to develop an app that requires the communication between two cores. My question is, I have built two different images for two different cores (Cortex-M3 and Cortex-M4) in axf format. I also have FVP model that includes two cores (Cortex-M3 and Cortex-M4). My question is if I can use DS-5 debugger to run the two images (axf file) and debug them after I import the FVP model to DS-5?
Thank you for your input in advance.
Hi, Ronan,
Thank you very much for your reply. That makes sense to to use shared memory to sync two cores. I mean it is a way to do it.
I understand FVP timing is not accurate. I am wondering how about relative performance comparison, is it enough to judge the quality of model. For instance, there are two slightly different designs, would it make sense to compare their FVP performance to determine which design is better?
Best Regards,
Shulan
FVPs are not really suitable for performance analysis. The best you can get is a comparison of number of instructions, but if running the same code on two different designs, this should be the same. It won't take into account any bus traffic roadblocks etc.
You could consider the MPS2 board, which allows you to build an FPGA image of your system. This won't help with the multi-core system in your case.
Sorry I don't have a single perfect answer :-(