📄 readme.txt
字号:
Dual core: one application per core approach to programming the ADSP-BF561
--------------------------------------------------------------------
You have created a dual core: one application per core approach for the
ADSP-BF561 processor. In this approach, Each core is treated as a
separate processor, and each project is built individually. Effectively, two
single-core applications are built independently, and run in parallel on the
processor. The shared memory areas, both internal and external, are left to the
developer to arrange for shared, serializable access from each of the cores.
The Shared.c file in the Core A project and the local_shared_symbols.h file in
the Core B project implement the sharing of code and data between cores. If you
selected the 'Include comments in template source code' option, these files
will contain helpful comments about sharing. The code in these files provides
an example of how to share both code and data.
If you selected the 'Add template code to the application' option in the
Project Wizard, your project will contain template code to help you get
started, including a 'main' function for both cores and example code
demonstrating how to share data and code between the two cores. If you did not
select the option, you will need to declare your own 'main' functions. A 'main'
function must be declared for both cores.
To get started with your application, begin adding your source code to a
'main' function in both projects. If you selected the 'Add template code to the
application' option in the Project Wizard, the 'main' functions are already
defined for you. If not, you will need to define your own. If you are defining
your own, you must include a call to the 'adi_core_b_enable' function in your
core A project. This function allows core A to enable core B, and is declared
in ccblkfn.h.
For more information regarding programming for the ADSP-BF561, refer to the
VisualDSP++ 5.0 C/C++ Compiler and Library Manual for Blackfin Processors at
http://www.analog.com/processors/blackfin/technicalLibrary/manuals
Appendix A contains more information specifically targeted at programming
multicore projects.
For an example of the dual core: one application per core approach to
programming the ADSP-BF561, refer to the Rot13 Per-Core example project at:
.\VisualDSP++5.0\Blackfin\Examples\No Hardware Required\Compiler Features\Rot13 Per-Core.dpg
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -