This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BSL programming with MSP-TS430PZ100USB

Other Parts Discussed in Thread: MSP430F5659, MSP430F5529

I am having a problem loading code onto my msp430F5659 on the  MSP-TS430PZ100USB development board over usb with  BSL_script.  when i plug the board into the computer and hold down reset sometimes it shows up as an unknown device.  there seems to be no driver for it and even when holding down the reset if i open the BSL_script executable over the command line it ends the program right away.  does anyone know what i need to do or can explain to me what i need to do to accomplish my goal?  Thank you

  • Hi Robert,

    Are you holding down the RST button as you plug the device into the PC and then releasing it? Does the device ever seem to enumerate correctly as BSL? If it does, it should be just listed as a HID device and will have VID: 0x2047 and PID: 0x0200.

    Are you using the BSL_Scripter from www.ti.com/lit/zip/slau319 ? Could you attach the script that you use with the BSL scripter, or are you not passing it a script file when you call it? Please note that if you simply call BSL_Scripter.exe from the command line nothing will happen. You need to call it with something like "BSL_Scripter.exe script.txt" where script.txt is a file in the same directory that contains the sequence of commands to be used with the scripter program. Please see the BSL_Scripter_Usage_Guide.pdf that comes in the slau319 download in the folder BSL_Files/BSL Scripter.

    Regards,

    Katie

  • thank you for your response.  So far it has not connected correctly.  Iv held the RST button down, plugged it, then let the button go. at that point my device manager trys to refresh but then has nothing new.  If after it has been pluged in the USB then i hold the button down most times it shows up as a unknown device under USB Controllers. This lasts as long as i hold the RST button down and if i right click and go to properties it wont show a VID or PID where it should.  Once i release the RST button it goes away and while its shown as an unknown device iv tried to update the driver but my PC cant find any.  

    I am using the BSL_Scripter and have the usage guide downloaded.  Using the guide and sample script iv tried to load one while holding the RST button but the scripter ended and no worries i wasn't trying to open the scripter by itself.  

    I suppose im missing something just not sure what. What do you think?

  • Hi Robert,

    Robert Breitenstein said:
      Iv held the RST button down, plugged it, then let the button go. at that point my device manager trys to refresh but then has nothing new

    That process sounds correct (hold RST, plug, then release button) - if you keep the button held down you'll have a problem as you mentioned where you get unknown device. It may be that you did not notice the MSP430 get added simply because it does not enumerate with any special name, but just shows up as "HID-compliant device" (so it is really easy to miss seeing where it shows up).

    Here's what device manager does for me when I do this with an MSP430F5529 (should work the same as with your board):

    Step 1: Before connecting the MSP430 with USB, I open device manager, and expand the Human Interface Devices section as shown here - note the number of devices labeled as "HID-compliant device" - in my case 3.

    Step 2: Now, do the process like you mentioned - hold the button, plug into the PC, release the button. Device manager will refresh. Under the expanded Human Interface Devices section you should see 1 more HID-compliant device than was there before (see how I now have 4 below) - this is the MSP430 in BSL mode.

    Step 3: If you want to confirm that you're really in BSL mode (say if you already normally enumerate as an HID-compliant device in your main application code too) you can check the VID/PID by right clicking on each of the HID-compliant devices in the list and going to Properties > Details tab, then under the Property dropdown selecting Hardware Ids. You should see this for the MSP430 BSL:

    Now you should be able to run the BSL scripter. The demo scripts that come with SLAU319 don't have an example for your part I think, so you'll want to modify the F5529 example to load a different text file, one that contains code for your part. Could you post the script.txt that you are using?

    Regards,

    Katie

  • sorry for taking so long to write back and thank you for your detailed response i really do appreciate it.  I think my problem is more with some kind of driver that's not installed due to the fact mine dos not show up as a hid device in my device manager it shows up as an unknown device when it actually shows up but someone else i work with while i was working on something else figured it out i will try to find out what they did and post it for others to see my exact problem and resolution to it. thank you for your help. 

  • Hi Robert,

    I have the exact same "Unknown Device" problem. Have you been able to solve yours?

**Attention** This is a public forum