RT1170 SBL scons build fails when using USB serial manager

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

RT1170 SBL scons build fails when using USB serial manager

1,892 Views
amomin
Contributor I

Scons_USB_Build_Fail.PNG

 

I was able to get SBL working through the lpuart, but when I switch to USB and rebuild using scons I get the error in the screen shot above. (The serial manger blocking mode cannot be supported for USB CDC.) When I go into the scons menu config I am unable to find any settings to disable blocking mode for USB CDC.

Any Ideas on how to fix this error?

0 Kudos
Reply
5 Replies

1,820 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @amomin ,

Yes the Scons config has no USB serial manger config option, because it is SDK configuration, not SBL software framework configuration.

It's impossible to cover all SDK options in Scons config system.

For the USB serial manager and DEBUG_CONSOLE_TRANSFER_NON_BLOCKING, please configure them in SDK code layer.

That's to say, you can generate the SBL project by Scons, then configure the USB serial manager in your project script and code.

 

Regards,

Jing

0 Kudos
Reply

1,806 Views
amomin
Contributor I

Hi Jingpan,

Thanks for getting back to me. Just to clarify the USB option for the serial manager in Scons is not supported even though it shows up as an option and the SBL user's guide also says that it supports USB ISP.

amomin_1-1672242470972.png

amomin_2-1672243003589.png

 

Currently I cloned SBL from github, and I am using the gcc arm tool chain as stated in the SBL User's guide. I don't see any project files for MCU Expresso which is what our team is using for the main firmware development.

Could you provide some guidance on what files I need to look at to modify/configure to get USB ISP working with SBL?

Thanks,

amomin

0 Kudos
Reply

1,792 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @amomin ,

The SBL doesn't support MCUXpresso IDE.  I think you can create a new project and add all the files. Then use the link file in sbl-master\target\evkmimxrt1170\board\link.

You can add USB files and config by MCUXpresso config tool like the SBL User's guide says. But currently, there isn't detail guide.

 

Regards,

Jing

0 Kudos
Reply

1,845 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @amomin ,

Yes, I also see the problem. Before I send this question to support team, can I know your company name?

 

Regards,

Jing

0 Kudos
Reply

1,843 Views
amomin
Contributor I

Yep, its USON LP.

0 Kudos
Reply