Part Number: AM3358
Tool/software: Code Composer Studio
Hii all,
I have to develop my own boot-loader, that will run from internal RAM.
In boot-loader application I have to implement firmware upgrade functionality as well.
for that I have to read application/firmware image from PC using USB and write it to flash.
Currently I am booting from UART0(getting binary from UART) using XMODEM interface.
My main intention is to get the application image from PC using USB and write it into FLASH.
So My current problem is I am unable to read data over USB from PC.
While debugging I found following observation
Code Sequence:
MMUConfigAndEnable();
IntAINTCInit();
IntMasterIRQEnable();
USB0ModuleClkConfig();
USBInterruptEnable();
USBBufferInit((tUSBBuffer *)&g_sTxBuffer);
USBBufferInit((tUSBBuffer *)&g_sRxBuffer);
USBDBulkInit(0, (tUSBDBulkDevice *)&g_sBulkDevice);
1.Code get stuck at following function
USBDBulkInit(0, (tUSBDBulkDevice *)&g_sBulkDevice);
So please provide me solution on that as soon as possible.
Regards,
Harish