已解决! 转到解答。
1) Run CW and try to debug to your DSP board connected to the PCI
parallel port. It will fail as expected.
2) Right click on the CCS icon in your SysTray and select Show CCS
Console.
3) at the prompt, type:
delete all
...then press [ENTER], then type:
config cc lpt:0x<address of your parallel port
For instance, if you're card is at ECF8, type:
config cc lpt:0xECF8 [ENTER]
If you don't know the address of your parallel port, you can find out in
Window's hardware settings. On Windows 2000, go to:
Start->Settings->Control Panel->System->Hardware(tab)->Device
Start->Settings->Manager->Ports
You will see your parallel port here. Double-click on it and go to the
Resources tab. The first Input/Output address listed is the address to
give CCS. Mine is 0378. It may be different for your setup.
Try to debug. It should now work.
If it does, execute this final command to save your current CCS
settings:
config save [ENTER]
This will write out the settings to a config file, which will be
automatically loaded by CCS for future debugging sessions.
If using the address in hex does not work, please try the address in
decimal. The syntax is slightly different:
Instead of
config cc lpt:0x378
use
config cc lpt:888
You can convert the port address using the Calculator in Windows in
scientific mode.
Hope this helps!
1) Run CW and try to debug to your DSP board connected to the PCI
parallel port. It will fail as expected.
2) Right click on the CCS icon in your SysTray and select Show CCS
Console.
3) at the prompt, type:
delete all
...then press [ENTER], then type:
config cc lpt:0x<address of your parallel port
For instance, if you're card is at ECF8, type:
config cc lpt:0xECF8 [ENTER]
If you don't know the address of your parallel port, you can find out in
Window's hardware settings. On Windows 2000, go to:
Start->Settings->Control Panel->System->Hardware(tab)->Device
Start->Settings->Manager->Ports
You will see your parallel port here. Double-click on it and go to the
Resources tab. The first Input/Output address listed is the address to
give CCS. Mine is 0378. It may be different for your setup.
Try to debug. It should now work.
If it does, execute this final command to save your current CCS
settings:
config save [ENTER]
This will write out the settings to a config file, which will be
automatically loaded by CCS for future debugging sessions.
If using the address in hex does not work, please try the address in
decimal. The syntax is slightly different:
Instead of
config cc lpt:0x378
use
config cc lpt:888
You can convert the port address using the Calculator in Windows in
scientific mode.
Hope this helps!