Thanks for the reply.
I have changed the libraries settings according to your advice (with some changes accordingly).
I'm Trying to modify the firm ware to read an entire packet ( or segment) since I need the information in the header.
I have modified the firm ware to at first read a small fixed string stored in the modified firmware.
I built it without any error.
When I flashed it, the shield error (red) led turned on continuously, and the shield did not work .
It may be the configuration as you mentioned ( must be release).
But, please what is the difference between release, debug, and debug 512 ??
Also, If you have any documentation about the SPI driver, I would be grateful.
I was track macros and functions of the firmware to understand communication procedure between Arduino and UC3 but it was not easy job.
I'm now have a general idea about the driver work, but I need details.
Briefly; Can I add new commands to the firmware??