• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TI LaunchPad Hercules - hardware interrupts and using them to control a circuit

 
Bartender
Posts: 2662
19
  • Number of slices to send:
    Optional 'thank-you' note:
I spent the best part of a Sunday to figure out how to generate a hardware interupt from a button and how to catch the event and do something with it.

I used HALCoGen to visually configure interrupt and input/output ports .
It took a while for me to find out that interrupts only work after you enable them in you code. I assumed that configuring them was all that's needed.

 
Bartender
Posts: 1166
17
  • Number of slices to send:
    Optional 'thank-you' note:

Jan Cumps wrote:I spent the best part of a Sunday to figure out how to generate a hardware interupt from a button



I have spent the best part of the last 24 hours trying to upload a simple LED blink example to my new Hercules RM42x LaunchPad. I don't know what I am doing and don't understand many of the esoteric terms being used in the documentation. My biggest problem is knowing what "Connection" I need to configure. I have tried using CCS on both Linux and Windows and though on Windows I seem to get closer to uploading a program on both OS regardless of what I set the "Connection" to be I get a


On both Windows and Linux the Hercules registers a USB connection so I know the computers can see the Hercules but that is about the limit of my success!

I'm not a dumbo and have managed to upload programs to Arduinos, PICS, 8051s and the Raspberry PI but it looks like the Hercules has defeated me! I only bought the Hercules on a whim (effectively half price through postage saving from Farnell) but I'm very close to the point of chucking it in the bin!

I would be grateful for any advice on connection configuration.
 
Jan Cumps
Bartender
Posts: 2662
19
  • Number of slices to send:
    Optional 'thank-you' note:
It might be related to the drivers. When you don't install CCSV5 as admin/root (both windows and linux) it doesn't install the drivers.
It is mentioned in small print in one of the installation dialog boxes (that text also mentions where to find the driver installers, for linux ["where you installed"]/ccsv5/install_scripts folder, and run the “install_drivers.sh” script as root. )

If that is not it, post a message on the e2e.ti.com forum, under the Hercules safety µControllers area.

I don't have to configure a connection ever (I'm using both Ubuntu 12x and Windows 8.1). CCSV5 picks it up automaticaly if I select the correct JTAG emulator in the project options (Properties -> General -> Connection -> TI XDS 100v2 USB...)
 
Jan Cumps
Bartender
Posts: 2662
19
  • Number of slices to send:
    Optional 'thank-you' note:
(Also check if you have repositioned any jumpers/switches)
 
Richard Tookey
Bartender
Posts: 1166
17
  • Number of slices to send:
    Optional 'thank-you' note:

Jan Cumps wrote:f I select the correct JTAG emulator in the project options (Properties -> General -> Connection -> TI XDS 100v2 USB...)



Thanks Jan. I obviously have something more fundamental miss-configured because i don't have "TI XDS 100v2 USB..." in the connections drop down !

Time to start a new project and configure from scratch.
 
Richard Tookey
Bartender
Posts: 1166
17
  • Number of slices to send:
    Optional 'thank-you' note:
My 'connection' drop down list has only

Data Snashot Viewer
TI MSP430 USB1 [Default]
TI MSP430 USB2
TI MSP430 USB3
UARTConnection

Looks like I am specifying the wrong processor.
 
Jan Cumps
Bartender
Posts: 2662
19
  • Number of slices to send:
    Optional 'thank-you' note:
Strange number of options you have. What license did you select when starting CCSv5?

Have you tried the step-by-step Project0 exercises?
http://processors.wiki.ti.com/index.php/Hercules_LaunchPad:_Project_0

Screenshot-from-2014-01-03-15-46-55.png
properties
 
Richard Tookey
Bartender
Posts: 1166
17
  • Number of slices to send:
    Optional 'thank-you' note:

Jan Cumps wrote:Strange number of options you have. What license did you select when starting CCSv5?

Have you tried the step-by-step Project0 exercises?
http://processors.wiki.ti.com/index.php/Hercules_LaunchPad:_Project_0



In my efforts to get a valid configuration I have installed ccs several times using different licences but using your previous post has allowed me to move forwards a little. Mid yesterday I worked with "Project 0" but had problems with the import producing invalid links to both the source files and H files and this is obviously where things went badly wrong. I tried various approaches to deal with the bad links and still don't have a good solution but I now do have the correct interface. Tomorrow I will start again with "Project 0".

Thanks for your help.
 
Greenhorn
Posts: 2
  • Number of slices to send:
    Optional 'thank-you' note:
Why all YouTube videos on this forum 'UNAVAILABLE'??
 
Jan Cumps
Bartender
Posts: 2662
19
  • Number of slices to send:
    Optional 'thank-you' note:
I deleted my channel.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic
vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |