SJA1110 create python configuration hex

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SJA1110 create python configuration hex

ソリューションへジャンプ
1,136件の閲覧回数
pix-stefan
Contributor I

Hi All,

I have a SJA1110 design and want to generate static .hex files for configuration. Unfortunately I could not find an example script in the following ressources:

SJA1110-EVM Configuration Tools / SJA1110-EVM Host Tools

Can somebody point me to an example, how the switch-config.hex files were generated using python?

Thank you,

Stefan

0 件の賞賛
返信
1 解決策
1,087件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hello @pix-stefan ,

I agree, the Note might be confusing.

FYI, SJA1105 has limited support in S32SDK SJA1110 RTM and the python scripts are the main way how to generate configuration.

The example hex files were generated by the S32SDK SJA1110 RTM.

Naturally, you are allowed to create switch configuration by any tool. After loading your configuration, you should check CFG_STAT register bit 31(CONFIGDONE) to ensure that a valid config was loaded.

I'm not aware of any official python Configuration Generation Tool. Once you have fully supported GUI, it doesn't make sense to me.

Best regards,

Pavel

元の投稿で解決策を見る

3 返答(返信)
1,090件の閲覧回数
pix-stefan
Contributor I

Hi @PavelL,

thanks for the fast answer!

I was asking, because the README.txt of the EVM-hosttools states:

"Note: In order to generate the hex file from the python file, the `Configuration Generation Tool` must be installed separately (DocStore)."

Is this referring to the S32SDK SJA1110 RTM you referenced above? For me it sounds like it is also possible to generate it from python tools.

This forum entry also references to a python script to generate hex files, but I ask myself where the "example file" is to have a reference? https://community.nxp.com/t5/Other-NXP-Products/SJA1110-no-communication-100Base-T1-to-100Base-TX/m-...

I would really appreciate doing this from python, because we might want to integrate this in our CI/CD and python would make things a lot easier...

BR

Stefan

0 件の賞賛
返信
1,088件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hello @pix-stefan ,

I agree, the Note might be confusing.

FYI, SJA1105 has limited support in S32SDK SJA1110 RTM and the python scripts are the main way how to generate configuration.

The example hex files were generated by the S32SDK SJA1110 RTM.

Naturally, you are allowed to create switch configuration by any tool. After loading your configuration, you should check CFG_STAT register bit 31(CONFIGDONE) to ensure that a valid config was loaded.

I'm not aware of any official python Configuration Generation Tool. Once you have fully supported GUI, it doesn't make sense to me.

Best regards,

Pavel

1,104件の閲覧回数
PavelL
NXP Employee
NXP Employee

Hello @pix-stefan ,

SJA1110 is fully supported by S32SDK SJA1110 RTM, which generates hex files to the folder your_project_name/board/

Available python tools are able to load hex file to the switch, read/write registers, debug support, ... via USB FTDI driver.

Best regards,

Pavel

0 件の賞賛
返信