TI E2E Community
Hercules™ Safety Microcontrollers
Hercules™ Safety Microcontrollers Forum
RM48 USB Stick Demos and CAN example
I've just started with the RM48 USB Stick, installed the software on a Win7 64-bit machine, and I encountered the following problems:
1. General usability of the Hercules Demo Suite:
As per previous forum thread, I launched the demo suite in Win XP compatibility mode. When launched in this mode, if I try to autodetect my Hercules module, I'm getting an error dialog that states "No installations of Flash 470 were detected". If I skip the autodetection and manually choose my module, the demos never attempt to flash, they simply try to run.
If I launch the demo suite without WinXP compatibility mode, I can successfully autodetect my USB stick, and I can successfully flash any of the provided demos, but when I run them, there's no communication between the UI and the code running on the micro. If I start a serial terminal on the com port associated with the USB Stick at 19200 baud, I can talk to the Hercules board and firmware version is reported as 1.2.
In conclusion, in order to run a demo I have to first launch the demo suite in native Win7 mode to flash the program, and then launch it again in XP compatibility mode in order to run it and be able to control the demo from its UI. This is kind of a hassle, so I was wondering what can I do to be able to flash and run a demo without having to restart the demo suite.
2. The CAN Reader demo does not produce the results I expected:
Actually I'm not 100% sure what the CAN Reader demo is supposed to do since I couldn't find a document that describes it, but I can infer that it displays the contents of any CAN messages that are being sent over the CAN network by an external device. To test this, I wired CAN_L, CAN_H and Gnd to a Systec USB-CAN module. I did not include a CAN termination resistor as there seems to be one already on the Hercules board. Using the PCanView application that comes with the Systec module, I am sending a CAN message with extended frame at 1 Hz. I set the speed of my CAN devices at 1 Mbit/s. Running the CAN Reader demo, I can see the UI displays a table, but the table is empty which leads me to believe that the RM48 micro is not receiving the CAN messages I am sending from my Systec module. I was wondering if anyone has successfully used the CAN Reader demo to receive messages from an external CAN device, and at what speed they ran their CAN bus.
I have forwarded your query to the concerned team, Please give us some time to get back to you.
~~~ If a post answers your question, please mark it with the"Verify Answer" button. ~~~RegardsPrathap
There is a new Demo software version ready to be released very soon, In which both of your problems are addressed.I will keep you posted on the availabilty date.- Prathap
The new Demo software(Ver 2.00.00) will be released end of this week, So if you check the link http://www.ti.com/tool/hercules_safety_mcu_demos by Monday you should have the version 2.00.00 for download.
we are in the next week. You announced a new version 2.0 but I cannot see it under your link.
Sorry to bring this up again, but the web does still not show the new revision; where can I found it???
I guess they haven't released it yet. Meanwhile I played some more with the existing CAN demo and looked through their code. The demo is first trying to run a CAN loopback test in which it transmits a CAN message with ID 0x0001 on DCAN1 and expects to receive it on DCAN2, so the two interfaces must be connected externally in order for this to work. I could not do that on the USB stick since it only provides access to DCAN1, but I acquired a TMS570 HDK board and wired DCAN1 and DCAN2 together. However, the CAN loopback test still did not pass, DCAN1 was indeed transmitting a message - I picked it up by listening in with Systec USB-CAN module - but the DCAN2 on the HDK board never received it.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.