Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by madias

  1. Dear vladn, thank you for your work! I use the new wiring_analog.c for some audio stuff. With the "new one" you can hear a much cleaner tone on pwm output, without indifferences! It should be definitly in the library for a new energia release! Regards Matthias
  2. At first glance, i see that you need to change all "#if Arduino >=100" in all *.h and *.cpp files. Dont forget the "utility" subfolder. Maybe you also have to include/modify the "fastdigitalwrite"things. You can also try: https://github.com/energia/Energia/tree/master/libraries/SD but maybe it´s an older version and only for the msp430.
  3. Is there a workaround until the new version is released? It´s really annoying to get a hard system crash every 5-10 times (even if only "check" and not "upload" a sketch). It amazed me, that I'm the only one with this issue with energia...
  4. Hello, I tried out basic functionality with the arduino MIDI library 4.1 on TIVA Launchpad TM4C123G (all others should work also) Download Link: https://github.com/FortySevenEffects/arduino_midi_library/ The only thing to do is to setup the serial interface, you can simply do that with insert following line into midi_Settings.h: #define MIDI_DEFAULT_SERIAL_PORT Serial1 "Serial1" defines PC_4 = RX(1) input on tiva, PC_5 = TX(1) output on tiva, so you should choose every serial port you want (untested). my patched midi_Settings.h is included as attachement I´ve tested succe
  5. Thank you for your hint with the TI-API document (shame on me not reading this before). One thing is not clear to me: The "ROM_" prefix. As I read for example the part of the timer description I see: TimerConfigure(uint32_t ui32Base, uint32_t ui32Config) but in a energia example code (above) i see: ROM_TimerConfigure(TIMER0_BASE, TIMER_CFG_PERIODIC); So how is this "ROM_" prefix to understand? thank you Matthias
  6. Thank you! Now the sketch runs without problems, I even started 2 timers simultaneously (TIMER0 and TIMER1) with different HZ and it works like a charm! (tested with an oscilloscope). Is there an easy description for the tiva timers and the indifferences with energia (think of delay, PWM, tone and so on)? The Arduino community has something the good way, as an example: http://arduino-info.wikispaces.com/Timers-Arduino
  7. Just wanna report, that a cheap ILI9225 TFT from ebay runs perfectly with the beta release 122 (without the not implemented touchscreen)! The special thing with this TFT is, that it is full 5V compatible (ok, not useful with tiva launchpad, but with any +5V-Boards): http://www.ebay.at/itm/201042408158?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649 So, thank you, Rei Vilo!
  8. Thank you for your fast answer! Now, it´s working, maybe I give the adafruit library a try, but I only need some basic file I/O for saving and restoring midi data/presets.
  9. Hello, I tried out fatfs from rei Vilos post #34 on my tiva TM4C123 launchpad. The speedtest example runs without problems, but with "FileWritetoSerial" i get following error: FileWriteToSerial.ino: In function 'void dir_list()': FileWriteToSerial.ino: 82:3: error: 'FILINFO' was not declared in this scope Any hints? Thank you! regards Matthias
  10. I dont know, what I'm doing wrong, but if I just paste the code above https://gist.github.com/robertinant/10398194 I'll get following compiler error: sketch_apr16a.ino: In function 'void initTimer()': sketch_apr16a.ino:24:55: error: 'ROM_TimerIntRegister' was not declared in this scope
  11. Hello, now I've updated OSX to 10.9.2, problems with serial port are solved, now I've another nasty problem: On some circumstances I get kernel panic while uploading or even open energia with launchpad tiva connected. Under 10.6. i didn't have kernel panic once. This problem also occurs on the the arduino IDE, but might be solved with 1.5.2 r2: Fixed in 1.5.6 by replacing RXTX with JSSC So do energia using RXTX or JSSC? Here is the issue from github: https://github.com/arduino/Arduino/issues/350 https://github.com/arduino/Arduino/issues/1656
  12. Ok, back with a new fresh SSD and with OSX Mavericks (10.9.2., didn't do the update) on it, I give following report: Serial port now works. So the serial port isn´t working under OSX 10.6.x There might be a problem, if you connect the launchpad first and THEN start energia, it could happend, that the serial port isn´t found. So do everytime: Start energia first. Connect the launchpad secondary. Maybe a little relase note for the OSX distribution will be fine with my workaorunds (serial port under 10.6.x not availabile, start energia first) regards Matthias
  13. Thank you for your answer Rei! Meanwhile there are more pros than cons updating to 10.9., so I ordered a new SSD for my macbook yesterday for a fresh install... I'll report the results in this forum. If it´s really a problem of Snow Leopard, a comment in the release note of energia ("OSX 10.6. not supported") would be nice if other people have the same problems.
  14. ...so no hints getting the serial monitor working under osx10.6.8? As a "workaround" I use my old arduino UNO as serial-port sniffer getting the serial signal from launchpad and gives me over usb into the serial monitor...
  15. Have you tried it out with: #include "Energia.h" to your library? instead you can always use #include "Arduino.h" for crossover libraries (it´s only a reference to Energia.h in Energia and works with both: Arduino and E.) edit: I see, that #include "Arduino.h" is both in *.cpp and *.h, but maybe this line doesn't work in Energia: #if(ARDUINO >= 100) #include <Arduino.h> #else #include <WProgram.h> #endif My idea: just set it to #include <Arduino.h> and drop the rest (in *.h AND *.cpp) I also see #include <digitalWriteFast.h> in the header file, may
  16. energia: Yes, you understood everything right! Ok, i tried out following things: Installed energia 0101E0012 on my Hackintosh instead of using my macbook-pro, sadly the same OSX 10.6.8. running: Connect the EK-TM4C123GXL without installing everything: No modem under /dev Under system profiler-> USB tree: In-Circuit Debug Interface Produkt-ID: 0x00fd Hersteller-ID: 0x1cbe (Luminary Micro Inc.) Version: 1.00 Seriennummer: 0E20B044 Geschwindigkeit: Bis zu 12 MBit/s Hersteller: Texas Instruments Standort-ID: 0x1d100000 Verfügbare Stromstärke (mA): 500 Erforde
  17. Hi, I´ll tried it out at home with USB prober, but I suspect, there is a compatibilty problem with OSX 10.6.x, so there is no /dev/cu.usbmodemxxx...
  18. No Problem, but I think this issue isn't solved yet, many OSX user are suffering from "no serial port", should be in the bug-list of energia. http://forum.43oh.com/topic/1161-launchpad-osx-usb-drivers-cdc-vcp/page-5
  19. Hello, I'm sorry, you misunderstood me, because of my spelling, I meant: My Launchpad has been delivered today and I'm working with it. I can successfully upload sketches, but there is no serial monitor, because the "serial port" menu is grayed out. There are some threads about this problem, but without a clear solution for OSX.
  20. Meanwhile I tried everything out as in other threads written, like using an old lm4flash version, without success... uploading is no problem, but the serial monitor isn't working, because there is no tty/cu device, so I think this must be a driver problem (like creating a virtual com port device)
  21. Hello, I'm completely new to Energia. My new Launchpad shipped today and uploading example sketches works. But in the IDE my serial port is greyed out. I installed the included MSP430LPCDC 1.0.3b.pkg driver, restarted OSX, tried starting Energia with/without plugged launchpad, without result. Either the search function for this problem gives no good result back. So what is the trick using the Serial port on OSX for the serial monitor? In system dialog following is showing up: In-Circuit Debug Interface: Produkt-ID: 0x00fd Hersteller-ID: 0x1cbe (Texas Instruments - Stell
  • Create New...