2020-11-29 11:47 PM
Under SBSFU, I am able to run my custom application, and everything run fine. But changing the SFU defualt UART.with USB throughing error "USB Device not recognize!!!", I debug through SBSFU code, and USB stack(CDC and Devi ce only Configuration) initialize correctly.
I will highly appreciate for any help.
With regards
Jitu
Solved! Go to Solution.
2020-11-30 01:06 AM
I would suggest to deactivate all the SBSFU security features first ( But I think you already did it)
Have you integrated the USB IRQ call ?
something like
void OTG_FS_IRQHandler(void)
{
HAL_PCD_IRQHandler(&hpcd);
}
and do you see any interrupt ?
If you have some interrupt then you can check the stack status
For a trial, you can also increase the heap size.
2020-12-01 12:05 AM
Hi Frantz,
It was SE_EnterSecureMode which was disabling the interrupt before USB stach runs. Solved the issue, now SBSFU running with USB.
Do you think is it efficinet to replace YMODEM protocol with custom protocol ???
As i have to also include CAN in SBSFU for firmware update.
with regards
Jitu
2020-12-01 12:35 AM
Hello Jitu,
"Do you think is it efficient to replace YMODEM protocol with custom protocol ???"
In the major case, the downloading time is not really an issue ( except in FUOTA case with RF has bandwidth is really low).
Then it's up to your requirement and also the fact you will have to implement your own PC tools for downloading.
Best regards,
Frantz
2020-12-01 12:55 AM
Ok, thanks