Get Seed & unlock

Hi,
I'm using an ECU board fo test with CAN interface.Since ECU has security lock in it i'm trying to unlock the protection(using GET Seed and Unlock Protection commands)As Get seed provides the Seed data,for computing the Key i'm using a DLL SeedKey1.dll(supplied by our customers) and then passing the key value to the Unlock Vi.But during course of my execution,program stops at Seedkey1.dll and throws an exception mentioning that exception occured at specified node(screen shot of which i have attached)
The function prototype for Seedkey dll specified is
unsigned long SEEDKEYAPI ASAP1A_CCP_ComputeKeyFromSeed(
  unsigned char *seed,
  unsigned short sizeSeed,
  unsigned char *key,
  unsigned short maxSizeKey,
  unsigned short *sizeKey);
The reason i need to unlock is for performing my CCP read and Tuning some EEPROM values of ECU.The sequence in which i'm using Get Seed is 1.CCP Open(with timeout)->.CCP Connect->CCP Get Seed
The attachments for reference which i have provided with this under a folder named  "Files" are
1.subvi which i'm using for Unlock after CCP Connect
2.screenshot of error occured when i run my application and try to perform CCP Read.
3.Seedkey dll which i'm using
one more additional info which i want to add is that in the Get Seed.vi ,i have given Resource input as 1.Is that a valid one if i want to perform a CCP Read.
A reply for this will be really of helpful to me.
Regards
Murali
Attachments:
Files.zip ‏37 KB

Hi Murali,
I have no experience with the DLL you are using, but from the LabVIEW end, I can tell you that exceptions generated in external DLLs are normally due to memory management.  That is, it's likely that the DLL you are calling is throwing an exception because of a memory access violation (null pointer read?), it is out of memory, etc.  You could look at the code with this in mind.
You may also find this tutorial on Accessing DLLs or Shared Libraries from LabVIEW helpful.
Good luck!
Megan B.
National Instruments

Similar Messages

  • Get Seed and Unlock

    Hi,
    I'm using an ECU board fo test with CAN interface.Since ECU has
    security lock in it i'm trying to unlock the protection(using GET Seed
    and Unlock Protection commands)As Get seed provides the Seed data,for
    computing the Key i'm using a DLL SeedKey1.dll(supplied by our
    customers) and then passing the key value to the Unlock Vi.But during
    course of my execution,program stops at Seedkey1.dll and throws an
    exception mentioning that exception occured at specified node(screen shot of which i have attached)
    The function prototype for Seedkey dll specified is
    unsigned long SEEDKEYAPI ASAP1A_CCP_ComputeKeyFromSeed(
      unsigned char *seed,
      unsigned short sizeSeed,
      unsigned char *key,
      unsigned short maxSizeKey,
      unsigned short *sizeKey);
    The reason i need to unlock is for performing my CCP read and Tuning
    some EEPROM values of ECU.The sequence in which i'm using Get Seed is 1.CCP Open(with timeout)->.CCP Connect->CCP Get Seed
    The attachments for reference which i have provided with this under a folder named  "Files" are
    1.subvi which i'm using for Unlock after CCP Connect
    2.screenshot of error occured when i run my application and try to perform CCP Read.
    3.Seedkey dll which i'm using
    one more additional info which i want to add is that in the Get Seed.vi
    ,i have given Resource input as 1.Is that a valid one if i want to
    perform a CCP Read.
    A reply for this will be really of helpful to me.
    Regards
    Murali
    Attachments:
    Files.zip ‏37 KB

    Hi Murali,
    I've checked your VI and found out the reason for the exception in the
    SeedKey1.dll. In your VI you did not provide a data array to take the
    key calculated in the dll. Try the attached VI to calculate the key.
    That should work.
    Regards
    Rainer
    Attachments:
    Unlock.vi ‏17 KB

  • How do i find out who the carrier is and can i get it unlocked to use in australia?

    Hi there,
    I got a iphone4 from my friend ewho brought it from someone from ebay in the states
    I am unable to use the phone and was told that the phone had been updated to a baseband that can not be unlocked
    and that I need to contact the carrier.
    How do I find out who the carrier is and is there anyway I can get it unlocked to be used in Australia?
    It has a grevey sim in it and well at this point in time its just being used as an ipod.
    Yes I know I should of got one from Australia but i thought it wouldnt be this hard to get it fixed to be able to use here.
    please help........
    thanx
    lana

    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    http://support.apple.com/kb/HT3743

  • Can i use some other company's locked iphone? or can i get official unlock from apple? cause i had iphone but it got water damage and don't want to pay crazy amount of money to get brand new...

    can i use some other company's locked iphone? or can i get official unlock from apple? cause i had iphone but it got water damage and don't want to pay crazy amount of money to get brand new...
    and i m getting locked phone from my family memeber for free. but he's with some other carrier. so can i get official unlock for that phone. please help me with this.
    thank you

    Only the original cellular provider can authorize unlocking. You will need to contact them to determine if they offer unlocking and if the phone qualifies.

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

  • Can i buy an iPhone at a pawn shop and get it unlocked for use with Straight Talk wireless?

    Just wondering if I can buy a used iphone at a pawn shop or on ebay and get it unlocked for use with the prepaid Straight Talk wireless service? If so, how much would it cost to get it unlocked?

    PHones can only be unlocked from the carrier; if you're looking for an unlocked device I'd recommand buying it directly from Apple as that is the only way to promise it is, if you buy it second hand you may find it is locked to a carrier who doesn't support unlocking, or worst yet activation lock

  • I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4. so help me

    I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4.

    jatpri1730 wrote:
    I have Iphone 4 and its lock from at&t, but my contract is getting over in short time. And no longer i want to use this service. So after contract gets over its my right to get factory unlock my iphone 4.
    Unfortunately, AT&T does not provide unlocking.
    Stedman

  • HT201407 I bought my iphone 4 in the UK and I am trying to use a sim in the UAE and it doesn't work.  It says that the sim is not valid, how can I get this unlocked?

    I bought my iphone 4 in the UK and I am trying to use a sim in the UAE and it doesn't work.  It says that the sim is not valid, how can I get this unlocked?

    You are saying the phone is locked, but then you are saying there is no provider. The two situations cannot peacefully coexist. Contact Apple and they can tell you if the phone is locked and if locked to which provider the phone is locked. People on this board are not Apple employees and cannot get you that information.

  • HT1212 it says my ipod is disabled for 22 million minutes. any ideas on how to get it unlocked without restoring it to factory settings?

    it says my ipod is disabled for 22 million minutes. any ideas on how to get it unlocked without restoring it to factory settings?

    By restoring from backup or waiting
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • How can i get my unlocked iphone 4 to work with a new pay as u go sim card

    how can i get my unlocked iphone 4 to work with a new pay as u go sim card

    Insert the sim card and activate the iPhone.

  • How can I get an unlocked iphone 5 online?

    How can I get an Unlocked iphone 5 online????

    Unlikely to work on line unless the OP actually resides in said country
    They can however get in line outside Apple Store each morning 

  • I cannot get an unlock code

    I view and edit photos from Adobe Photoshop Starter Edition 3.2. I tried to get into my pictures and it says that I need an unlock code. I registered, filled given blank correctly, left my email adress but I have not had any answer and an unlock code. I've been waiting for it for 3 days (when there was marked that I would get an unlock code in a few minutes). I reloaded my Adobe, I reregistered for several times but still no answer. Can you tell me what shall I do?
    Thanks!!!

    I have been trying on and off for a year but have had no code sent through. Would love to know the answer as I was happy to upgrade at the time if only they sent me through a code. Even more irritating when you can see all of the thumbnails behind the registration box:(
    Mark

  • I want to change to local carrier sim card when traveling. Do I need to get an unlocked iphone 5?

    I live in the US, and want to buy iphone 5. I am having a hard time to figure out which iphone 5 I should get. I will use the phone in the US most of the time. Therefore, I will purchase a plan from a US carrier. I also want to use the phone when traveling in Asia. I don’t want to use international roaming because every time I travel, I need more 1,000 minutes talking on the phone. Do I need to get an unlocked iphone 5? I heard iphone 4S can change sim card at local carrier. Does iphone 5 have the same option?  

    "Do I need to get an unlocked iphone 5? "
    Yes.
    There has been no announcement about the release of an unlocked iphone 5 yet.
    "I heard iphone 4S can change sim card at local carrier."
    If it is unlocked then it can use other SIM cards.

  • HT4623 i purchased an iphone 3GS from US. I used it in Pakistan for 15 days on the local GSM network. After 15 days it locked automatically. How can i get it unlocked. It is with new bootroom and ios 5.1.1

    my family purchased iphone 3GS in US for me. I used that Iphone back home for 15 days, in pakistan on local GSM. But on the one day it automatically got locked as the battery discharged. How can i get it unlocked??

    Only the carrier to whom the device is locked can unlock it.
    Contact them to find out their requirements for unlocking.

  • HT201328 I am trying to get the unlock code from ATT

       I am trying to get the unlock code from ATT for my Iphone 4S bought in an Apple store, and now they refused to give it, because it is reported as stolen.
    I have all the invoices and recepts, .
    How can I do to unlock the phone if they continue in their negative and hostile attitude???
    Thanks,
    Paul
    [email protected]

        hipichik Hello there. Let's get more specific information. What type of lock code are you referring to? And what are you looking to do with your phone?
    SheritaH_VZW
    Follow us on Twitter
    @VZWSupport

Maybe you are looking for

  • Display tag: how to get pagesize parameter from TableDecorator?

    Hi all, I'm designing�org.displaytag.decorator.TableDecorator wrapper for our project, but I need to get pagesizeparameter from TableDecorator and I don't know - how to do it :( Any ideas? ps. http://www.displaytag.org used

  • Out of memory: Java heap space

    Hello, I am working on a project, that simulates large populations, with each individual being a separate Objecta(a couple of kilobytes in size each). Once i reach a bug enough number of those Objects (stored in a Vector), i get Out of memory: Java h

  • Books for a beginner

    hello, i'm a high school student in an AP Java class... do you have any suggestion on books i could read for beginners to understand better? my teacher thinks the class knows this all since this is all second nature to her. i want to do real well in

  • "edit in" function in lightroom copies raw file to same location. is there a way to change location?

    As far as I can tell, the "edit in" photoshop function in LightRoom copies a RAW file in the same location, I end up with two of the same image in my library, is there a way to specify where lightroom saves the file?

  • Change from PC to Apple Mac help

    Hi Guys, I'm looking at switching from PC and laptops to a MacBook Pro 15" with retina. I have a few questions that hopefully you can answer. 1) Can I play and burn Blurays and DVDs with an external drive? 2) Can I transfer purchased windows software