• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » RM48 USB Stick Demos and CAN example
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

RM48 USB Stick Demos and CAN example

This question is answered
Marius Niculescu
Posted by Marius Niculescu
on Jan 13 2012 10:14 AM
Prodigy160 points

Hello,

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.

Thanks,

Marius

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prathap
    Posted by Prathap
    on Jan 17 2012 01:56 AM
    Expert6175 points

    Hi Marius,

    I have forwarded your query to the concerned team, Please give us some time to get back to you.

    Thanks!

     

    ~~~ If a post answers your question, please mark it with the"Verify Answer" button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prathap
    Posted by Prathap
    on Apr 08 2012 07:33 AM
    Verified Answer
    Verified by QJ Wang
    Expert6175 points

    Hi Marius

    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

    ~~~ If a post answers your question, please mark it with the"Verify Answer" button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prathap
    Posted by Prathap
    on Apr 09 2012 11:30 AM
    Expert6175 points

    Hi Marius,

    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.

    - Prathap

    ~~~ If a post answers your question, please mark it with the"Verify Answer" button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Bormann
    Posted by Frank Bormann
    on Apr 17 2012 01:29 AM
    Genius5225 points

    Prathap,

    we are in the next week. You announced a new version 2.0 but I cannot see it under your link.

    Regards

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Bormann
    Posted by Frank Bormann
    on May 07 2012 01:31 AM
    Genius5225 points

    Sorry to bring this up again, but the web does still not show the new revision; where can I found it???

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marius Niculescu
    Posted by Marius Niculescu
    on May 07 2012 08:28 AM
    Prodigy160 points

    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. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use