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?
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
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.
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
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
Hi @amomin ,
Yes, I also see the problem. Before I send this question to support team, can I know your company name?
Regards,
Jing
Yep, its USON LP.