Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Failed to run Starterware's example code usb_dev_msc on LCDKC6748

$
0
0

Dear All,

I fail to run the C6748 Starterware example usb_dev_msc on LCDKC6748. In CCS I can build usb_dev_msc, connect to LCDKC6748 via JTAG (Below is the output message from Console),

C674X_0: Output: Target Connected.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Cleared.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: Memory Map Setup Complete.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: PSC Enable Complete.
C674X_0: Output: ---------------------------------------------
C674X_0: Output: PLL0 init done for Core:372MHz, EMIFA:SYSCLK3=93 / DIV4P5=82.67 MHz
C674X_0: Output: DDR initialization is in progress....
C674X_0: Output: PLL1 init done for DDR:132MHz
C674X_0: Output: Using mDDR settings
C674X_0: Output: mDDR init for 132 MHz is done
C674X_0: Output: ---------------------------------------------

download Debug\usb_dev_mcs.out, but then fail to run. The following screen shot depicts this symptom:

As you can see, the Resume icon is disabled, as well as the run cursor doesn't appear and stop at the main() function.  And I also find that, if I modify the main() function like:

    while (1);

  USBDMSCInit(0, (tUSBDMSCDevice *)&g_sMSCDevice);

The additional while (1); prevents the function USBDMSCInit() to be called and then Resume icon will be enabled. As other example code, such as usb_dev_serial, work perfectly, I think this should not be an hardware issue. 

I'll appreciate if anyone could advise. Thanks in advance!

Regards,

Oliver


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>