Dear Larry,
I have been working on a new project and I am implementing this new Rabbit solution using Dynamic C. While compiling my software, I get an error message that reads: While Sending Cold Loader: No Rabbit Processor Detected! I have tried everything to figure out the issue. Can you please help me to figure out this problem?
Thanks,
Edward
Hello Edward,
I am glad you have chosen Rabbit as a solution for your project, and I would be more than glad to help you with your issue. Sounds like you are a new user to Dynamic C. Well First off, the error message indicates that Dynamic C could not find a Rabbit processor via the programming cable. The initial communication between the PC and the Rabbit consists of Dynamic C using two modem control signals to reset (DTR) the Rabbit and detect a response (DSR). One common mistake that I have seen people do is use the “DIAG” connector instead of the “PROG” connector. By using the “DIAG” connector, you loose the Reset signal and the two “SMODE” signals that control Rabbit’s boot method. So make sure to use the “PROG” connector.
Another common related issue that I have seen for Dynamic C users is that Windows assigns a high COM port to a USB-to-Serial converter. This is easy to check if you know where to look. For Windows XP, open the control panel and double click on system and system properties window should pop up. Click on the hardware tab and click the device manager button. Look for Ports (COM & LPT) and expand item. You should see the COM port displayed. If you want to change the COM port number, right click on COM port and select properties. Then click the advanced button. Here you can make the necessary changes, just make sure to not assign an existing assigned COM port.
Finally one associated problem that keeps cropping up is the error message: While Sending Cold Loader: Could Not Open Serial Port. Two things could be causing this error message, one is a serial port that is already being used, the other is the serial port simply does not exist on the PC. Either issue is not a fault of Dynamic C. A common confusion is the selection of the COM ports. A drop down window located under Options – Project Options – Communications menu, has a list that only goes up to COM 8, yet Windows may have assigned a higher COM number such as COM 17. In the drop down menu, you can click it and manually enter the new value, which should correct the problem.
Edward, I hope this helps with your application, and that your question concerning serial communications has been answered.
Larry C.
Larry Cicchinelli is Rabbit Semiconductor’s Technical Support Manager. He has 30 years of embedded experience, and is considered one of the foremost authorities on Rabbit products. Larry and his staff offer comprehensive technical support to Rabbit customers.
Submit your questions for Larry via email at
AskLarry@rabbit.com
|