Hi,
[quote user="janderson duarte"]
Hi, I have read this document, in fact very poorly written,
[/quote]
I beg to differ; these getting started guides helped thousands of people get started with CCS throughout the years. However, given the number of boards and devices being continuously released, it becomes impractical these documents mention every single board/device combination available (the case of your R2812 board).
Is this the board you have? If so, the connection seems to be configured correctly and you found a bug in the GEL file provided for this device. CSM stands for "Code Security Module" and is used to protect the Flash memory from being read by unauthorized sources. The R281x devices do not have Flash, therefore this API call is invalid. I will ask Spectrum Digital (the manufacturer of the board and the provider of this file) to update its sources.
Despite this, the error you see does not affect the code execution and you should be able to run the code without problems. If you want to get rid of this error, you can edit line 40 of the GEL file <r2812.gel> and comment/remove the call to Unlock_CSM();
This GEL file is usually located at <CCS_INSTALL_DIR>/ccsv5/ccs_base/emulation/gel
Regards,
Rafael