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.

insta spin invalid license error code:4001

Hallo support team,

in our company we have developed own hardware and software to use a BLDC motor with the DSP F28069MPZT motion controller. Hard- and software is running for months. Now we have build 3 more boards and bougth new DSP's of the same type. The problem is now: we get a invalid license error with error code: 4001. It's definitely an "TMS320F28069MPZT"-Type and the software isn't changed. What happened?
Thanks
Oliver

  • invalid license error from what? Code Composer Studio?

    The Code Composer Studio v5 (or v6) that comes with the kits or is available for free download is only a FREE license if you use an XDS100 class emulator.

    Are you using a different emulator?

    If this is the issue you can either buy a low cost XDS100 emulator from the eStore (<$100), or if you have a higher speed emulator you can upgrade your version of CCS (<$500).

     

  • Hi Chris,

    the license error is fired by the insta spin motion example software (proj_lab12a.c). If i use the old hardware with the same software and the same DSP i get no error.

    Now we have exchanged the DSP's from the old and new hardware and now the problem is on the old hardware and the new is runnung fine... Its seem to be the M-Type DSP (Insta Spin Motion) is a F-Type DSP(Insta Spin Foc)! Thats my opinion.

    By the way, we use the XDS100.

  • Can you take a picture of the part number on top of these devices please.

  • Hi Chris,

    what Oliver means is the error code 4001 is a spinTAC error code. You can see it when the software is running and in the debugger you have a look at the "st_obj", that has several members for spinTAC velocity and spinTAC position convert and much more. Every entry has a field ERR_ID. And in our case the two modules mentioned has the ERR_ID set to 4001.

    And as far as I know 4001 means: spinTAC license error, use the right CPU

    But we are using the right CPU. We use TMS320F28069MPZT. We have several older CPU's of the same type in use, that works quite well.

    Sebastian

  • Oliver,

    Can you take a look at the OTP bits in the memory on your devices.  I've included the procedure below.  First you need to connect to a device through the debug interface.  

    1.       Open memory browser:

    CCS Debug - proj_lab02proj_lab02.c - Code Composer Studio_2012-10-05_08-31-04.png

    2.       View memory area 0x3D7FBD

    CCS Debug - proj_lab02proj_lab02.c - Code Composer Studio_2012-10-05_08-31-54.png

    3.       Disable memory maps so you can actually see these bits. This is done by the following command in the Scripting Console: mmEnable false

    CCS Debug - proj_lab02proj_lab02.c - Code Composer Studio_2012-10-05_08-33-25.png

    4.       Now he can see those bits. If it’s an M device, you should see the following:

    CCS Debug - proj_lab02proj_lab02.c - Code Composer Studio_2012-10-05_08-35-35.png

    Please post a screenshot of what you find.

  • Oliver,

    We want to make sure whether you have the right factory settings for these parts. Can you please provide the contents of the following TI OTP locations?

    • 0x3D7FBD
    • 0x3D7FBE
    • 0x3D7FBF
    • 0x3D7E80

    Regards,

    Manoj

  • Hello and thanks very much for your answer.

    We really like to look at the OTP bits.

    @Adam: My browser does not should the images you posted. It looks like they are from a gmail account. Can you provide the images per mail or in any other way?

    Sebastian

  • Sebastian,

    Sorry about that I've included the directions below:

    1.       Open memory browser:

    2.       View memory area 0x3D7FBD

    3.       Disable memory maps so he can actually see these bits. This is done by the following command in the Scripting Console: mmEnable false

    4.       Now he can see those bits. If it’s an M device, he should see the following:

  • Hi all,

    I did what you recommended.

    Here you can see the error code 4001.

    And here is the result in the memory browser:

    As you can see it is not what it should be. But it is a M-Type processor:

    So what do you think?

    Sebastian

  • This certainly looks like an issue.  Let us do some more research based on the lot codes.

    How many devices do you have from this order? Have you tested all of them?

     

  • Hi,

    we have ordered 3 pieces, and have tested two without success. I do not believe the 3rd one will work as expected.

    The thing is we do need three working devices next week and if we order more devices who knows this will not happen again.

    Sebastian

  • Sebastian,

    We are looking into the possible issues. At this point it's impossible to know if other devices are effected, but typically with something like this it would be an entire batch, not just a few.  I can't tell you if any new devices you order will have the same problem...we have to figure out which lots are good/bad and then look at inventory at TI as well as distributors.....Wish I could give you a more definite answer.

     

  • Sebastian,

    We are actively looking into this issue reviewing our test programs to identify the source of the problem. Can you please provide the contents of the following locations 0x900 - 0x903 on the 2 devices you see this problem?

    We are also wondering whether you can send these parts back to factory for more detailed analysis. It would help us in our investigation. Please sync up with local TI office / sales for further information.

    Regards,

    Manoj

  • Hi,

    we have desoldered one of the two CPU's. So I can only provide the contents of the memory of one device:

    I can send these devices (all three?) back to you, because I need working M-Versions and there is nothing I can do with these devices.  Just tell me where to send.

    Sebastian

  • Sebastian,

    Manoj should be giving you an address to send the units.  Please also provide your shipping address, email, phone so we can get you 5 pcs of confirmed 69MPZT devices, ok?

     

     

  • Sebastian,

    Do you have the contact details of the local TI FAE / Sales to get these units shipped back to US?

    Regards,

    Manoj

  • Sebastian,

    Please fill the form attached and ship the units to the address in the form.

    Regards,

    Manoj

    0602.TI_customer_return_c2000.doc

  • Sebsatian & Oliver,

    Please follow the document posted. If you have any questions I can put you in touch with our local FAE (I think I have decoded that you are in Germany, possibly Hamburg area?).

    just add me as a friend and message me directly with your email address(es) and I will respond

     

  • Oliver,

    thanks for contacting me, we'll now handle directly

     

  • Hello,

    Has there been any confirmation that this is a bad batch of silicon? I have a number of boards built using chips with identical markings, and I'm seeing the same issues with error 4001. Do you have any more information?

    Thanks,
    Steve

  • Steve,

    Yes, there was a batch of 69MPZT devices that were incorrectly programmed as 69FPZT, making SpinTAC non-functional.  These devices do have all InstaSPIN-FOC functionality.

    We are in process of communicating this event to our distributors, who pass it on to you the customer.

    We will be offering replacement or refund for all affected shipments.

    Please contact your distributor and you can reference my name, they will be able to loop me in as necessary.

    We do have units in process to be able to replace your devices very quickly.

  • Hi Chris,

    I am working with Steve Ressler who posted above. We are working on a very tight deadline to have these systems operational by next week.  Is it possible to purchase directly from TI a known good batch of chips?  Or can you provide a known good distributor who we can have chips overnighted from?  My fear is it would take too long to communicate with our manufacturer who will then communicate with their distributor etc. I would much rather pay for known good parts (or perhaps TI provides as samples) getting them here ASAP (ideally tomorrow) and have a local company rework the boards.

    We are in need of qty 30 (minimum) and qty 60 (full replacement of faulty chips on this order).

    Perhaps you could email or call me directly to discuss.

    Thanks,

    - Mark

  • Mark,

    let's discuss this off line

    email address redacted

  • Hello,

    I'm seeing the same issues with error 4001(when i use Lab5c). Do you have any more information?

    I'm in china, where can i get the new chip?

    Thanks,
    lee wen

  • Lee Wan,

    Can you send me an email with your company name and the region you are located in China?  I'm going to pass that information to the person who can help you get new chips.  My email address is at the bottom of this post.

    Thanks