Security Provision Tool Target connection in CAN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Security Provision Tool Target connection in CAN

Jump to solution
1,116 Views
jamesli
Contributor IV

jamesli_0-1750863632607.png

 

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?

 

0 Kudos
Reply
1 Solution
1,090 Views
Celeste_Liu
NXP Employee
NXP Employee

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

Celeste_Liu_0-1750919721536.png

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!
-----------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
1,091 Views
Celeste_Liu
NXP Employee
NXP Employee

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

Celeste_Liu_0-1750919721536.png

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!
-----------------------------------------------------------------------------------------------------------------

1,074 Views
jamesli
Contributor IV

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. 

   

0 Kudos
Reply
1,067 Views
Celeste_Liu
NXP Employee
NXP Employee

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:

Celeste_Liu_0-1750929455556.png

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

0 Kudos
Reply
1,063 Views
jamesli
Contributor IV
Hi, Celeste, many thanks for help. I will create another post on RT community.