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

Please help me to setup MON51 or ISD51 debugger

I have two sets of FX2LP CY3684 EVM boards. Everything works fine except the debugger. By default, I should be able to run Keil Debugger after connecting all the cables correctly. Unfortunately, I have problems with it. Here is what I did:

1. Install Cypress EVM kits on PC
2. Make a USB connection between the EVM CY3684 and the PC.

Notice: Keil debugger LED3 is lit up - indicating it is ready to debug

3. Make a Serial connection between SIO-1 of EVM and COM1 of the PC. The serial cable comes with the EVM kit.

4. Adjust the COM1 port setting: Baudrate 38400 and the rests are default.

5. Load Device_Io.uv2 project from C:\Cypress\USB\FX2LP\Examples\Device_IO

6. Adjust the debugger settings of the proejct: Baudrate 38400 and use COM1 port. The code start address is 0x2000.

7. Build the project - no errors

8. Start to debug - a dialog shows saying:

CONNECTION TO TARGET SYSTEM LOST!

<Button>Try Again ...
<Button>Settings ...
<Button>Stop Debugging ...

I also tried ISD51, but I am not able to make it work.

Any comments are appreciated,

Thanks,

zs

Parents
  • First you should check if there is really ram on your EVM at 0x2000. I dont think so because lp2 has 16k internal memory instead of 8k.

    At which address does mon51 start? You can check that in the asm window after connection to mon51 when no app code is loaded. There are several Mon51 versions available in the pack.

    Normally the monitor is configured to start at 0x8000. You may found a LJMP 8000h at address 0x0000 then. Then the app code needs to compiled starting at 0x0000.

    You need to make sure that your code does not touch the used mon serial lines at all!. That includes port cfg baudrate generetion, clock switching and also the mon51 serial interrupt.

    I have used those evms (ezusb, FX,FX2) many times without problems.

    regards Thomas

Reply
  • First you should check if there is really ram on your EVM at 0x2000. I dont think so because lp2 has 16k internal memory instead of 8k.

    At which address does mon51 start? You can check that in the asm window after connection to mon51 when no app code is loaded. There are several Mon51 versions available in the pack.

    Normally the monitor is configured to start at 0x8000. You may found a LJMP 8000h at address 0x0000 then. Then the app code needs to compiled starting at 0x0000.

    You need to make sure that your code does not touch the used mon serial lines at all!. That includes port cfg baudrate generetion, clock switching and also the mon51 serial interrupt.

    I have used those evms (ezusb, FX,FX2) many times without problems.

    regards Thomas

Children
No data