In the home of Security tool, it lists connected target processor in CAN (as marked by red line above), but I cannot find any CAN connection description in Manual of SEC tool, is there anybody ever using CAN in SEC tool?
Solved! Go to Solution.
Hello @jamesli ,
Thanks for your post. Could you please tell me which product you are using?
For your question, CAN connection is supported in SPSDK, so on command line only. It is not supported in GUI tool. Therefore there is not any CAN connection description in Manual of SEC tool.
Here is SPSDK documentation with the CAN support:
User Guide - blhost — SPSDK documentation
The CAN library is optional and it is not included in SEC tool. You need download SPSDK and build by his own. Or you can download blhost to use directly.
I will report to the relevant team to modify the webpage information to avoid confusion.
BRs,
Celeste
-----------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------
Hello @jamesli ,
Thanks for your post. Could you please tell me which product you are using?
For your question, CAN connection is supported in SPSDK, so on command line only. It is not supported in GUI tool. Therefore there is not any CAN connection description in Manual of SEC tool.
Here is SPSDK documentation with the CAN support:
User Guide - blhost — SPSDK documentation
The CAN library is optional and it is not included in SEC tool. You need download SPSDK and build by his own. Or you can download blhost to use directly.
I will report to the relevant team to modify the webpage information to avoid confusion.
BRs,
Celeste
-----------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------
Hi, Celeste,
Many thanks for your reply. It is helpful. I download blhost and gone through guide, there is no detailed example how to setup a hardware connection and installation to establish the communication between PC and target MCU. Is there any application note or example of hardware and software code shows that blhost flash programs MCU via a CAN protocol. I can use UART port to flash my RT1064, however, because UART port is not accessible, using CAN bus is much quick and safe is preferred.
Hello @jamesli ,
I have found a Chinese article about how to use blhost to update the firmware for RT1064:
【新提醒】【经验分享】RT1064 serial download模式blhost命令行烧录 - i.MX RT - 恩智浦技术社区
However, it uses serial download with "-p COM41,115200", you can replace it with "-can,<speed>,<txid>,<rxid>" for CAN connection:
BTW, if you still have problems, please create a new post on i.MX RT Crossover MCUs - NXP Community. Because this is DSC channel, imx RT is beyond the scope of my support. You will get better support in the right channel.
Nice day,
Celeste