We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have just started using the Keil Development tools. I created a timer example that should toggle a port pin, approx every half second. With a generic 8051 it works. When I convert the code to the Cygnal C8051F320, power on resets are generated before my code gets to the wait for timer interrupts loop. The code runs ok on an actual Chip. I assume that this is not a bug, but something I am doing wrong. Could this be caused by not using the Startup.A51 file?
How about the watchdog timer? Do you disable or pet* it regularly? * some people say they "kick" their watchdogs, but that seems so cruel when they're working so loyally for you... besides, PETA is pretty influential in California.
I disable the watchdog timer. The code works with the simulator when generic 8051 is selected or if the target is the Cygnal then it works when loaded on the chip but not with the simulator. Brad
I added the startup file and still get errors using the simulator with the Cygnal chip. Brad Carvey