Part Number: TMS320F28379D
Dear Team,
This is another question about the USB configuration in USB bootloader.
We have a customized USB bootloader, and we have two modes to execute the bootloader.
1) Execute the bootloader after the reset and than jump into the app code.
2) During the app code, receive a command through USB. And than jump into the bootloader and jump back into app after the update.
The problem is:
1) If we execute the bootloader after power up, everything goes well.
2) If we execute the bootloader by jumping from the app code. The USB cannot be recognized sometimes.
We cannot identify a certain condition when the failure happens. However, we have noticed the following wired things:
As you can see, we write 0x0003 and 0x0002 to USBTXIE and USBRXIE. However, if we execute a single step, the value of USBTXIE becomes 0x0000.
If the code is executed coutinously, USBRXIE is 0xFFFE, while USBTxIE is0x0000.
And I noticed the same question in this post:
Do you have any idea of how to config a realiable USB connection?


