Other Parts Discussed in Thread: MSP430WARE, MSPWARE
Hello ,
I am facing .."USB device not recognized" error on my PC when I try to do firmware upgrade from within my mcu firmware( SOFTWARE METHOD ).My implementation & idea as follows :
a. We use 24 MHz X2 crystal.
b. My MCU application code uses USB to communicate to our PC application as a normal function.To initiate F/W upgrade, PC application will send a string on usb communication.
c. upon receiving the string( let's say "USBBSL") MCU application will disconnect usb and jump to USB BSL location at 0x1000 . i am using TI's USB API.
if( Received string == "USBBSL")
{
USB_reset();
USB_disconnect();
__disable_interrupt();
((void (*)())0x1000)();
}
d. after executing the above i get the error . and TI 's "MSP430 USB Firmware Upgrade Example " GUI shows "No device connected"
e. My assumption is that after executing code as in (c) ....MCU should go to TI's Factory USB BSL area and wait for TI's F/W upgrade example GUI to get the device detected.I am following SLAA452C doc.
Please note by H/W method i.e by holding PUR pin high by a jumper.. &..connecting USB to the MSP device , I was successfully able to do F/W upgrade.
Please can any one has a solution or point out which is missing in my process.....pls
Thanks & Regards,
Ars