Part Number: AM4376
Hello,
I have processor_sdk_rtos_am437x_6_03_00_106.
I want to work on TI RTOS.
How would i port C:\ti\pdk_am437x_1_0_17\packages\ti\starterware\examples
into rtos template?
Regards,
Vrund
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.
Part Number: AM4376
Hello,
I have processor_sdk_rtos_am437x_6_03_00_106.
I want to work on TI RTOS.
How would i port C:\ti\pdk_am437x_1_0_17\packages\ti\starterware\examples
into rtos template?
Regards,
Vrund
Hello,
Can you tell me how to do that for example ADC ?
Library addition i know. need to do that in linker->library.
But where do i get those libraries?
Regards,
Vrund
Please refer to these FAQs for more information:
Hello,
I have gone through the faqs.
I am been able to create projects but for starterware ADC there is no library to do that.
I am still not clear how would i use those starterware adc and nand example project.
Regards,
Vrund
Hello,
I have gone through the faqs.
I am been able to create projects but for starterware ADC there is no library to do that.
I am still not clear how would i use those starterware adc and nand example project.
Regards,
Vrund
Hello Vrund,
Sorry for my delayed response. I was out last week. You can figure out which libraries are used in the adc example by looking at the build log.
First, do a make clean:
C:\ti\pdk_am437x_1_0_17\packages>pdksetupenv.bat C:\ti\pdk_am437x_1_0_17\packages>cd ti\starterware C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake adc_app_volt_measure -s PLATFORM=am43xx-evm SOC=am437x PROFILE=debug clean # Making am43xx-evm:a9host:debug:board... # Making am43xx-evm:a9host:debug:utils... # Making am43xx-evm:a9host:debug:soc... # Making am43xx-evm:a9host:debug:dal...
Here it shows that 4 libraries are used: board, utils, soc, dal.
Then you can build the adc example:
C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake adc_app_volt_measure -s PLATFORM=am43xx-evm SOC=am437x PROFILE=debug
Here each of those 4 libraries will be built. They are all located under C:\ti\pdk_am437x_1_0_17\packages\ti\starterware\binary. For example, board library is C:\ti\pdk_am437x_1_0_17\packages\ti\starterware\binary\board\lib\am43xx-evm\a9\debug\gcc\libboard.a.
You can add these libraries and the adc example source code to your BIOS template project.
Regards,
Jianzhong
Yes,
It is getting complied in RTOS template project after removing default template files.
1) Is it possible to do it for IDK am4376 board?
2) I have understood that even we are building for evm am4376, UART and ADC pin mux setting is same for idk4376 and evm 4376. so if i run above code (as mentioned above) on idk it should work. is it correct?
3) similar fashion i am trying for nand app
C:\ti\pdk_am437x_1_0_17\packages>pdksetupenv.bat
C:\ti\pdk_am437x_1_0_17\packages>cd ti\starterware
C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake nand_app_read_write -s PLATFORM=am43xx-evm SOC=am437x PROFILE=debug clean
C:\ti\pdk_am437x_1_0_17\packages\ti\starterware>gmake nand_app_read_write -s PLATFORM=am43xx-evm SOC=am437x PROFILE=debug
Added board,util, soc, dal and device library from binary folder.
# Making am43xx-evm:a9host:debug:example_utils...
# Making am43xx-evm:a9host:debug:nand_lib...
# Compiling am43xx-evm:a9host:debug:nand_lib: nand_lib.c
# Compiling am43xx-evm:a9host:debug:nand_lib: nand_lib_gpmc.c
#
# Archiving am43xx-evm:a9host:debug:nand_lib
#
# Making am43xx-evm:a9host:debug:board...
# Making am43xx-evm:a9host:debug:utils...
# Making am43xx-evm:a9host:debug:soc...
# Making am43xx-evm:a9host:debug:dal...
# Making am43xx-evm:a9host:debug:device...
but shows below error.
nand/read_write/subdir_rules.mk:9: recipe for target 'nand/read_write/read_write_app_main.o' failed
../nand/read_write/read_write_app_main.c:56:10: fatal error: example_utils_mmu.h: No such file or directory
Regards,
Vrund
1) Is it possible to do it for IDK am4376 board?
2) I have understood that even we are building for evm am4376, UART and ADC pin mux setting is same for idk4376 and evm 4376. so if i run above code (as mentioned above) on idk it should work. is it correct?
The IDK EVM and GP EVM are two different boards. You should have separate pin mux setting and separate board libraries. You can start your pinmux design from existing pinmux config in the PDK:

nand/read_write/subdir_rules.mk:9: recipe for target 'nand/read_write/read_write_app_main.o' failed
../nand/read_write/read_write_app_main.c:56:10: fatal error: example_utils_mmu.h: No such file or directory
You'll need to add the folder for this header file to the compiler include path.