This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,最近我在调试NDK1.92部分,有很多疑惑,望指教:
1.自带例程里有很多函数,可是MAIN函数是空的,所以函数是在哪里调用的呢,形参赋的值是多少怎么看?
2.修改例程,以配合开发板的时候,PHY部分要改什么地方?
1. NDK是基于BIOS的,函数在Task里调用,main函数里基本不用做什么,看一下下面的bios startup sequence.
http://processors.wiki.ti.com/index.php/DSP_BIOS_FAQ#Q:_Is_it_true_that_the_TSK_manager_needs_to_be_enabled_in_order_to_get_the_runtime_update_of_the_Message_log_window.3F
2. 如果PHY不一样的话,有一篇移植文档可以参考。
http://processors.wiki.ti.com/index.php/Guidelines_when_porting_NDK_to_different_PHYs
谢谢解答,c_int00 -> auto_init() ->BIOS_init()->main()- >BIOS_start()->IDL_loop()
那auto_init(),bios_init()这些在哪?在工程里看不到,参考文档里的说明太模糊了
在boot.c源码里。见下面的DSP/BIOS Startup Sequence说明。
http://www.ti.com/lit/ug/spru303b/spru303b.pdf