工具与软件:
您好、TI 专家
我希望准确测量从加电到 SBL、再到应用程序启动的时间。 我该怎么做?
但我不太明白如何测试它。
MCU_PROZ_OUT 至 MCU_RESETSTATz、需要0.63ms。 如何测试它?
ROM:从 OSPI 加载 INIT + SBL 需要12.36ms。 如何测试它?
?有任何文档 我可以在 tda4vm 电路板上使用哪个测试点?
祝你一切顺利
伊森
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.
工具与软件:
您好、TI 专家
我希望准确测量从加电到 SBL、再到应用程序启动的时间。 我该怎么做?
但我不太明白如何测试它。
MCU_PROZ_OUT 至 MCU_RESETSTATz、需要0.63ms。 如何测试它?
ROM:从 OSPI 加载 INIT + SBL 需要12.36ms。 如何测试它?
?有任何文档 我可以在 tda4vm 电路板上使用哪个测试点?
祝你一切顺利
伊森
您好!
[报价 userid="555442" url="~/support/processors-group/processors/f/processors-forum/1453628/tda4vm-precise-boot-time-measurement |MCU_PROZ_OUT 至 MCU_RESETSTATz 需要0.63ms。 如何测试它?请参阅以下步骤。请告诉我们这是否有帮助。
******************************Boot Performance test procedure************************
step 1:
Build sbl_boot_perf_cust_img_mcu1_0_release.tiimage by using the following command.
make BOARD=<board_name> sbl_boot_perf_cust_img -sj
you can find the image in <pdk install path>/pdk/packages/ti/boot/sbl/binary/<board_name>/cust/bin/
step 2:
Build sbl_baremetal_boot_perf_<board_name>_mcu1_0TestApp_release.appimage by using the following command
make BOARD=<board_name> CORE=mcu1_0 sbl_boot_perf_test -sj
you can find the image in <pdk install path>/pdk/packages/ti/boot/sbl/example/k3MulticoreApp/binary/<soc_name>/
step 3:
Change the boot switch settings to UART bootmode.
step 4:
Flash uart flash programmer (below commands are suitable for linux PC)
sudo <path to uniflash tool>/uniflash_8.0.0/dslite.sh --mode processors -c /dev/ttyUSB* -f <path to uniflash tool>/uniflash_8.0.0/processors/FlashWriter/<board_name>/uart_<board_name>_flash_programmer_release.tiimage -i 0
example:
sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f <path to uniflash tool>/uniflash_8.7.0/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0
step 5:
Flash sbl_boot_perf_cust_img_mcu1_0_release.tiimage at 0x0
sudo <path to uniflash tool>/uniflash_8.0.0/dslite.sh --mode processors -c /dev/ttyUSB* -f <pdk install path>/pdk/packages/ti/boot/sbl/binary/<board_name>/cust/bin/sbl_boot_perf_cust_img_mcu1_0_release.tiimage -d 3 -o 0
example:
sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f <pdk>/packages/ti/boot/sbl/binary/j721e_evm/cust/bin/sbl_boot_perf_cust_img_mcu1_0_release.tiimage -d 3 -o 0
step 6:
Flash tifs.bin at 0x80000
for j721e : sudo <path to uniflash tool>/uniflash_8.0.0/dslite.sh --mode processors -c /dev/ttyUSB* -f <pdk install path>/pdk/packages/ti/drv/sciclient/soc/V1/tifs.bin -d 3 -o 80000
example:
sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f <pdk>/packages/ti/drv/sciclient/soc/V1/tifs.bin -d 3 -o 0x80000
step 7:
Flash sbl_baremetal_boot_perf_<board_name>_mcu1_0TestApp_release.appimage at 0x100000
sudo <path to uniflash tool>/uniflash_8.0.0/dslite.sh --mode processors -c /dev/ttyUSB* -f <pdk install path>/pdk/packages/ti/boot/sbl/example/k3MulticoreApp/binary/<SOC>/sbl_baremetal_boot_perf_test_<board_name>_mcu1_0TestApp_release.appimage -d 3 -o 100000
example:
sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f <pdk>/packages/ti/boot/sbl/example/k3MulticoreApp/binary/j721e/sbl_baremetal_boot_perf_j721e_evm_mcu1_0TestApp_release.appimage -d 3 -o 0x100000
step 8:
Flash NOR spi pattern
for j721e : sudo <path to uniflash tool>/uniflash_8.0.0/dslite.sh --mode processors -c /dev/ttyUSB* -f <pdk install path>/pdk/packages/ti/board/src/flash/nor/ospi/nor_spi_patterns.bin -d 3 -o 3FE0000
example:
sudo ./dslite.sh --mode processors -c /dev/ttyUSB1 -f <pdk>/packages/ti/board/src/flash/nor/ospi/nor_spi_patterns.bin -d 3 -o 3FE0000
step 9:
/dev/ttyUSB* will be the second instance of MCU uart.
step 10:
Change the boot switch settings to OSPI boot.
step 11:
Power ON the board
step 12:
If you get some logs and All tests passed at the end on MCU uart then you can mark this test as passed.
step 13:
PASS string : Boot Performance test has passed
此致、
Karthik
您好!
TI 专家能否 提供一些建议( 可以使用示波器准确测量从加电到 SBL 的启动时间)?
[报价]我会更仔细地研究并回复您。
此致、
Karthik
您好、Karthik
我将更深入地研究这一问题并回复您。
谢谢
此致
伊森
尊敬的 EASON:
tda4vm EVM 板上的哪个测试点是 MCU_PROZ_OUT?
tda4vm EMV 上的哪个测试点是 MCU_RESETSTATz ?[/QUOT]请参阅以下 TI EVM 测试点。
MCU_RESETSTATz ----- TP116 MCU_PORZ_OUT ----- TP117
此致、
Karthik
您好、Karthik
[报价用户 id="609417" url="~/support/processors-group/processors/f/processors-forum/1453628/tda4vm-precise-boot-time-measurement/5578922 #5578922"]请参阅以下 TI EVM 测试点。
MCU_RESETSTATz ----- TP116 MCU_PORZ_OUT ----- TP117
此致、
[报价]好、谢谢
祝你一切顺利
伊森