DEMO908QB8 Board not communicating with PC (USB) using CW 5

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

DEMO908QB8 Board not communicating with PC (USB) using CW 5

1,654 Views
datamstr
Contributor II
Hello Members,
 
I purchased the DEMO908QB8 Board last week and the two example projects ATD and LED work fine ON CW5, converted from CW 3. Now, if I create a new project on CW 5 for the DEMO908QB8 and run the debugger, the PC does not communicate with the DEMO908QB8 using USB. Does anyone know if I need any command files included in the CW 5 project from the examples on the CD? I am thinking that the debugger setup is not correct for USB communications. One other point is that the new project was configured for the C language.
 
TIA,
David
Labels (1)
0 Kudos
4 Replies

424 Views
J2MEJediMaster
Specialist I
OK, if I understand correctly, you've got the CW 5 debugger to download the old code projects through the USB to the DEMO908QB8 Board? It's just a newly-created CW project doesn't work? If so, then certainly a setting is out of whack in the new project as far as board communications go.

Do the follow:

1) Open the new project.
2) Select Edit | MyProjectName Settings..., or Type Alt+F7
3) A MyProjectSettings panel appears. To the left, there is a column that dsplays a list of Target Settings panels. Click on Build Extras.
4) See what the settings are for the Use External Debugger section of this panel.
5) Repeat steps 1-4 for one of the older projects that works.
6) Make the old project's settings match the new project's settings in this panel.

Or, if you're starting from scratch, use the CW New Project Wizard. It should prompt you at some point as the the connection you want to use for communicating to the board. Checkmark the choice that matches your USB interface.

---Tom
0 Kudos

424 Views
datamstr
Contributor II
Tom,
 
Thanks so much for your help!
 
I compared the settings as you instructed and there are differences in the "arguments" string as follows:
 
CW 3 (argument) Example Project
 
%targetFilePath -W -Prod=P&E_FCS.ini -instance=p&e_FCS
 
CW 5 (argument) New Project
 
%targetFilePath -Prod=MON08_P&E_Multilink_CyclonePro.ini -instance=p&emon08probe
 
I copied and pasted the string from the CW 3 project to the CW 5 project and reran the compiler and debugger.
The CW 5 debugger asked a few questions to select the communications link and MPU Part Number. After I did that, I still received the same message for the communications failure. If you want I can email the screen shots.
 
Thanks,
David
 
0 Kudos

424 Views
CompilerGuru
NXP Employee
NXP Employee
Compare the content of the CW 3.X P&E_FCS.ini with the content of the MON08_P&E_Multilink_CyclonePro.ini file.
The names of the ini file changed, so simply copy the command line without the files cannot work.

Let us know if you find the reason why the wizard generated project for the HC12 V5.0 does not work.
Also compare the command files (*.cmd).

Daniel
0 Kudos

424 Views
datamstr
Contributor II
Thanks Daniel!
 
I found the difference in the ini files that fixes the comm problem. For CW 3.X the section [TARGETTYPE] contains the entry MON08_CLOCKTYPE=0 in the file named P&E_FCS.ini, but in the file MON08_P&E_Multilink_CyclonePro.ini, the same entry is MON08_CLOCKTYPE=1. So I changed the value to 0 in the CW 5.X file and it worked! I am not sure what the CLOCKTYPE variable does to the clock signal, but now I can load my new project:smileyhappy:
 
Thanks,
David
0 Kudos