Hi Mike,

Thank you for your quick answer.l will use the readme files as a guide to support this library with my system and I will let you know if I have a problem.

I have another question about this library.
Is it possible to access to the coreSight components of the cortex M in linux(OS that running on the microprocessor cortex A) using CSAL library ?  because I have two architectures within my system archv7_A and archv7_M.

Thank you very much for your time and assistance in this matter.

Best regards,
Karim.

Le mar, mai 9, 2017 à 10:09, Mike Leach
<Mike.Leach@arm.com> a écrit :
Hi Karim,

The CSAL library contains a number of readme files that should guide you in setting up your system for use with the library, plus a number of example applications. Start with the main README.md file in the root project directory.
Run doxygen on the doxygen-config.txt file to build the library documentation  - this will include all the readme files mentioned below.

CSAL uses memory mapped IO to access the CoreSight components in linux, see readme_demos.md for further information. This file also contains instructions for setting up the library for specific platforms and running under linux.

The first task is to create a registration function for your platform  - look at the cs_demo_known_boards.c file. From there you should be able build the example programs. Csls is useful to use first as it will simply list the CoreSight components - which will verify if you have configured your system and the library correctly.

Regards

Mike

> -----Original Message-----
> From: Karim Lamouchi [mailto:lamouchi_karim@yahoo.fr]
> Sent: 07 May 2017 11:27
> To: Mike Leach
> Subject: Fr : CSAL library
>
>
> Hello Mike,
>
> I'm trying to test CSAL library(coresight access library) under linux in
> order to access and configure the arm coresight IP block within a new platform
> based on 2 core A7 and 1 cortex M4.
> In fact I want to extract the generated traces (without using an external
> hardware) in order to decode them in the next step using the opencsd library .
>
> Could you please give me more details about how to use the CSAL
> library and the differents steps that allow me to support it with the new
> platform ?
>
> Is it possible to use this library without DS5?
>
> It is helpful to send me if you have any documents about this library.
>
> best regards,
> Karim.


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.