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.
工具与软件:
您好;
我一直使用 AM243-LP 电路板的单芯片伺服示例。 (/ti/motor_control_sdk_am243x_09_02_00_09/examples/tidep_01032_dual_motor_drive/single_chip_servo/am243x-lp)。
我将单芯片伺服项目集成到我自己的项目中、并且我将在 R5 1-0内核上以固定速度旋转两个电机。 我在 R5 0-0内核上运行 EtherCAT 从站应用程序。 当我通过 CCS 调试项目时、电机在旋转、软件正在运行。 但是、当我使用 uniflash 将此软件刷写到器件存储器时、电机会汲取更多电流并且不会旋转。 在调试过程和闪存软件之间产生这种影响的原因可能是什么?
此致
卡迪尔
纠正;
当我刷写应用程序时、电机消耗的电流更少...
你(们)好
能否详细介绍一下要用于为多个内核刷写二进制文件的步骤?
此致
Dhaval
您好!
我刷写其它软件时没有问题。 当我调试我提到的软件时、我观察到它在我调试时正常工作、但当我刷写它时、电机不旋转。
第1步更改默认 SBL ospi 配置文件的内容
#发送 bootloader 时、请确保闪存偏移量为0x0。 ROM 期望引导加载程序位于偏移量0x0处
--file=sbl_prebuilt/am243x-lp/sbl_ospi.release.hs_fs.tiimage -- operation=flash - flash-offset=0x0
#发送应用程序映像时、请确保以偏移0x80000 (默认值)或引导加载程序配置的任何偏移刷写
--file=/home/xxx/projects/xxx/sitara/system/Debug/system.appimage.hs_fs --operation=flash --flash-offset=0x80000
第2步运行 uniflash 命令
Python uart_uniflash.py -p /dev/ttyACM0 --cfg=sbl_prebuilt/am243x-lp/them default_sbl_ospi.cfg
此致
卡迪尔