This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable To Connect Keil Monitor To Cypress EZ-USB FX Development Board

I'm working with a Cypress EZ-USB FX Development Kit. Per the EZ-USB Contents and Tutorial manual, I'm trying
to run the dev_io example program by loading it from the Keil debugger. After following the directions per this
pdf file, when I try to download the file with Keil uVision2 application it gives me CONNECTION TO TARGET SYSTEM
dialog box. It seems the Kit / Keil debugger is not establishing the comm channel properly. I know the target hardware
is working properly because I can run the ezUSB control panel application and download
C:\Cypress\USB\Examples\EzUsb\dev_io\dve_io.hex and the example runs fine on the kit. I've tried other examples to download
with the Keil debugger, same problem

I performed the following steps:

1) Connect USB cable to EZ-USB FX development board.
2) Serial comm cable is connected from COM1 of PC to SIO-1 of the EZ_USB FX board.
3) Run EzUSB application and select LoadMon to load the Keil debug monitor into memory. Its loading the
correct default monitor file, mon-ext-sio1-e0.hex. For some reason when I disconnect and re-connect the USB to this board it is
not automatically loading the Keil debug monitor. I notice on my PC in the device manager that sometimes the USB driver loaded
is Cypress Ez-USB ( 2235) - EEPROM missing or Cypress EZ-USB sample device. Perhaps this is somehow related to my
problem. All the jumpers on the FX board are set to default. The only ones that may not be set to default are JP8
( small EEPROM ) and JP9 ( EEPROM CONNECT ). I currently have JP8 jumpered and JP9 unjumpered.
2) The green LED on the FX is lit indicating the Keil debug monitor has been loaded.
6) Run Keil uVision2 application and open project C:\Cypress\USB\Examples\EzUsb\dev_io\dev_io.Uv2
7) Under Projects -> Option for Target 'Target1' -> Debug tab -> Settings, set comm port settings to
Port: Com1, Baudrate: 34800
Ensured the Xtal(MHZ) is 48.0
8) Do start debug session
9) comm problem is occuring.

I've already when thru all the obvious stuff.
- Yes, the COM1 port and serial cable are correct and functional
- Yes, I looked at the Keil and Cypress website and read all doco concerning this problem. No help in resolving this problem tried
everything I read about
- Contacted Cypress, they gave me the same suggestions as all the troubleshooting documents I have read. Tried them, still does not work

I can even modifiy the dev_io program code, build, and using the the EzUSB application download without the Keil debug monitor and it runs no problem.
The Keil monitor info is as follows:
- Keil Monitor - 51 Driver
- uVision2 - v2.10, Evaluation Version, Running in Eval Mode (4K)

When I use the EZ-USB Control Panel to load the Keil Monitor and then do GetDev I am getting the following device info:
VID = 0X547
PID = 0x2235

Is this correct ?

Need to be able to start writing firmware for the FX and using the Keil debugger to download and debug code.
Without the Keil debugger I cannot debug firmware I am writing on the FX board. I've now spend 2 whole days trying to
get this to work.

Please help.

David Parent
TRW Automotive
Software Development
248-442-5129

Parents
  • SUCCESS !!!!! I was able to download and run the Keil debug monitor !!!


    I connected the 1-2,3-4 pins of JP11 and now
    the board is behaving as expected. Thanks.
    During all the trial and error I must have disconnected these jumpers.

    Thanks again for all your effort in helping me to resolve this problem. Your support has been excellent compared to the support from Cypress in debugging this problem.

Reply
  • SUCCESS !!!!! I was able to download and run the Keil debug monitor !!!


    I connected the 1-2,3-4 pins of JP11 and now
    the board is behaving as expected. Thanks.
    During all the trial and error I must have disconnected these jumpers.

    Thanks again for all your effort in helping me to resolve this problem. Your support has been excellent compared to the support from Cypress in debugging this problem.

Children
No data