The project requires the use of both uarts on the Cypress EZ-USB chip, so the monitor must use an extra, external uart, and a custom monitor is required. Unfortunately the monitor toolkit that comes with the Cypress Dev Kit is a little different to that supplied elsewhere. Has anyone out there in cyberspace done this job, I have a multitude of questions.
the monitor itself is almost the same. The only difference is the init. You may use the std mon51 from keil and modify the startup according to your needs. As far as I remember you will not be able to stop with external uarts, because you don't get serial interupts. With some disassembly even that can be done. The main trick will be how your monitor gets loaded with ezusb. You need carefully read the docs because Cypress will not help. A better way would be to use ISD51 Thomas
Thanks, now for the real questions. We have the external uart connected to externat interrupt 4. I am assuming that serial prt handling, while in mon51, is by polling, so I am enabling int4 in the serial init code, clearing and masking it in the bit called just after a breakpoint is hit, and unmasked again before a GO. I hope this works. Also, the suppied monitors all set the processor to 48 meg, the build-it-yourself version does not, This has been fixed. The problem I seem to be having is with configuration request handling. How do the pre-built monitors handle this. Part of my problems seem to be registry entries which I will fix next week when I get back to the office, meanwhile can you see anything wrong with the above. Thanks
We have Sounds like a company. In that case, get an ICE and all your diagnostic troubles will disappear. An ICE will pay for itself in saved time in less than one month! Erik
An ICE will pay for itself in saved time in less than one month! Paying for EMU will not help because there is no EMU which supports the EZUSB Chips. At least I don't know of any EMU. I have done my designs with the Keil MON. It worked well for me. Thomas
View all questions in Keil forum