Problem with installing USB ICP driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with installing USB ICP driver

5,634 Views
admin
Specialist II

Hi guys,

I am having this problem trying to install the USB ICP driver,  has anyone come accross this problem?

 

step_0.jpg

step_1.jpg

step_2.jpg

Message Edited by t.dowe on 2009-10-26 04:48 PM
Tags (2)
0 Kudos
8 Replies

762 Views
admin
Specialist II
So I selected the USBICP.INF file in step 5.
Message Edited by Learner on 2009-04-21 06:22 AM
Message Edited by t.dowe on 2009-10-26 04:45 PM
0 Kudos

762 Views
admin
Specialist II
step_6.jpg
Message Edited by t.dowe on 2009-10-26 04:47 PM
0 Kudos

762 Views
pgo
Senior Contributor V

Dear Learner,

 

Are talking about a blank HC908JB16?

 

It's a bit hard to check your steps - I presume at step 5 you selected the directory containing the the drivers that are provided with the ICP code (AN2399SW : Software files for AN2399 (PC Software subdirectory)?

 

 

 Can you right-click on the device in Device manager and provided the information from the Details page - it should look something like:

 

 "USB\VID_0425&PID_FF02\5&B5ADBC3&0&2"

 

bye

 

 

 

 

Message Edited by pgo on 2009-04-21 06:48 PM
0 Kudos

762 Views
admin
Specialist II

Are talking about a blank HC908JB16?

 

no

 

 

It's a bit hard to check your steps - I presume at step 5 you selected the directory containing the the drivers that are provided with the ICP code (AN2399SW : Software files for AN2399 (PC Software subdirectory)?

 

yes, that's correct. In the PC Software folder.

 

 

 Sorry about the previous posts,didn't have photoshop handy on that computer....... Had to do a quick chop in paint...

 

USB_device_properties.jpg

Message Edited by t.dowe on 2009-10-26 04:43 PM
0 Kudos

762 Views
pgo
Senior Contributor V

Dear learner,

 

OK - I'm even more confused about what you are trying to do.

 

The VID/PID indicates that the chip is programmed as a TBDML and is NOT in ICP mode. 

 

There are two possibilities:

 

1.  You are trying to find the right driver for TBDML (not ICP). This driver is part of the TBDML software and you should be looking there for the driver files.  The driver file you are trying to use is incorrect and hence won't load as you have found.

 

2.  You are, as you say, trying to do something with ICP.  In this case you need to get the chip into ICP mode and only then can you use the driver you have been currently trying to use.  ICP is usually used with a blank chip but some programed chips may be switched to ICP mode depending on the application software that has been programmed into them.  Most of the TBDML versions will 'boot' in ICP mode if pin A.0 is held low when they are plugged in.

 

Use whichever of the above approaches apply to your situation.

 

bye

 

0 Kudos

762 Views
admin
Specialist II

Hi pgo, Thank you for your clarification!

 

What I am trying to do is install the 

 

OSBDM package build 7 for download

 

By follwing the Open_Source_BDM_Interface_User_Manual.pdf page 15, 3.2 Programming Firmware into HC908JB16.

 

I have installed this OSBDM with Combined TBDML/OSBDM Code(can not remeber which version but was found on the Freescale TBDML forum, so now I am attempting to install the OSBDM build 7 to test it out.

 

So far what have I done is just followed the steps described on the   Open_Source_BDM_Interface_User_Manual.pdf page 15, 3.2 Programming Firmware into HC908JB16.

 

=============================================================

3.2.1 Configuring the Open Source BDM PCB


2. Close Jumpers JP3 and JP4. Also make sure R20 is not placed. This configures
the JB16 for USB In Circuit Programming.


3. Connect the Open Source BDM board to your computer through the USB cable.

 

3.2.2 Installing USB ICP Drivers


4. Once the Open Source BDM board to the computer, you should be prompted that
a new device has been detected and the Hardware Wizard should appear.

 

5. Direct the install to the folder where the USBICP files reside. Your computer
should now recognize a USBICP device is connected.

 

===============================================================

 

Which I am stuck on installing the driver part by trying to follow whats posted in this thread.

 

error message : Error in calling open_device()!

 

What I would like to do now is to load the OSBDM package build 7 for download into my OSBDM and am confused on the driver issue.

 

Would be appreciated if you could direct me in achieving this.

 

Thanks you for your very very helpful efforts.

 

regards,
Scott

Message Edited by Learner on 2009-04-22 03:50 AM
0 Kudos

762 Views
pgo
Senior Contributor V

Dear Learner,

 

The paragraph at the top of the section you quoted says (my emphasis):

 

Before a computer can recognize the Open Source BDM interface as a valid USB peripheral, the
Open Source BDM firmware requires downloading into the HC908JB16 microprocessor. The
following text describes programming of a blank HC908JB16 using the USB interface.
Programming the HC908JB16 using the USB interface uses the techniques described in
AN2399. A step-by-step guide is provided below.

 

Your chip is not blank, it contains the TBDML software.

 

Use the instructions in  3.2.4 Updating the USB Firmware and it should work - Basically the BDM is not in ICP mode.

 

 Note - the package you refer to is only OSBDM not TBDML compatible I believe.  You can try the software at Combined TBDML/OSBDM Code if you want that functionality.

 

bye

Message Edited by pgo on 2009-04-22 02:15 PM
Message Edited by pgo on 2009-04-22 02:19 PM
Message Edited by pgo on 2009-04-22 02:19 PM
0 Kudos

762 Views
admin
Specialist II

Hi pgo,

Thank you very much for your help, I really really appreciate your effort in doing so.

 

Just want to report back about the problem I had, basically it was a silly mistake of mine which was the reason why this didn't work.

 

In order to erase and program the OSBDM I actually had to close the jumper J3, J4 AND J5 then plug in the OSBDM and then install the ICP driver, which I only had J3 and J4 in place as I was following the manual step by step.

 

Now, I actually managed to connect the OSBDM to the QG8 however it was not easy as it kept recognize the device as something else i.e loading the wrong fpp file.

 

Eventually it recognize the QG8 but gave me an error when attempting writting to flash.

 

Which is the same problem I have with my PE USB-ML-12, I am starting to think may be QG8 is the problem and not the debugger.   

0 Kudos