Jump to content

estratos

Members
  • Content count

    31
  • Joined

  • Last visited

  • Days Won

    1

estratos last won the day on January 14 2015

estratos had the most liked content!

About estratos

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.panstamp.com

Profile Information

  • Gender
    Not Telling
  • Location
    Badajoz (Spain)

Recent Profile Visitors

225 profile views
  1. Supported MSP430's

    Thanks Jazz, nice board. That TSSOP package is perfect even for manual assembly.
  2. Supported MSP430's

    Thanks Fmilburn. The MSP430G2955 is a very good option as well. Did you notice any problem on any of the peripherals ? The variants + boards.txt approach is very simple but perfect if it works. I remember having had to add some specific core code for the CC430F5137 when I created the panStamp NRG project. Thanks Rei. Is this an ongoing project? Is there any list of third party boards (json files) supported by Energia as with the Arduino project? https://github.com/arduino/arduino/wiki/unofficial-list-of-3rd-party-boards-support-urls Regards.
  3. Supported MSP430's

    Dear colleagues, It's been a while since I used Energia and MSP's (other than my loved CC430's) to develop a project so I've just installed the latest version of the IDE and updated from Boards->Manager. I was a bit surprised to see that the list of supported devices is still quite short. What is people doing when developing for platforms not appearing in the list? Are they creating their own board cores? Do they fork from similar boards? My project is quite simple and could probably be solved with a bare MSP430F2553 but I wanted to stay a bit more conservative so I was looking into more powerful options, something like the MSP430G2755 for example. Thanks guys for your feedback, Daniel
  4. JSON file for installation on the Arduino IDE?

    Sorry to pump this thread up again but I found this json file: http://www.energia.nu/packages/package_index.json And wonder whether this file can be used from the Arduino IDE to install the Energia cores. If yes, are the cores up-to-date? Thanks!
  5. Energia's Clock functionality for CC1310

    I found that commenting Clock_start() out and setting clkParams.startFlag = TRUE does make the clock periodically call the user function: #include <ti/sysbios/knl/Clock.h> #include <ti/sysbios/BIOS.h> Clock_Params clkParams; Clock_Struct clkStruct; Clock_Handle clkHandle; void clkFxn(UArg arg0) { digitalWrite(RED_LED, !digitalRead(RED_LED)); } void setup() { pinMode(RED_LED, OUTPUT); digitalWrite(RED_LED, HIGH); Clock_Params_init(&clkParams); clkParams.period = 5000000/Clock_tickPeriod; clkParams.startFlag = TRUE; Clock_construct(&clkStruct, (Clock_FuncPtr)clkFxn, 5000000/Clock_tickPeriod, &clkParams); //Clock_start(clkHandle); } void loop() { }
  6. Energia's Clock functionality for CC1310

    Hi Rei, The compiler complained about some lacking .h resources for the MSP432 but I was building for the CC1310 in fact. Yes, I've posted the question in the TI forum but they are suggesting that probably Energia was overwriting some of the functions. I'm now going to open an issue on GitHub. Thanks again Rei for your time, Daniel.
  7. Energia's Clock functionality for CC1310

    Hi Rei, I was never able to try with Galaxia library due to some compiling problems. In any case, I've verified that you are following the same strategy as me to drive the Clock function. First you fill clkParams, then create or construct the clock object and finally start the clock. The only difference is that you are directly entering msec into clkParams.period and ClockTimeOut_ms. This is weird in fact since I've verified that ClockTimeOut needs to be specified in microseconds/Clock_tickPeriod. What happens after running clock_start() is that the callback function is called after ClockTimeOut but nothing else. It's like clkParams.period takes no effect at all. Thanks!
  8. I'm trying to test the clock functionality available on TIRTOS for the CC1310 SOC from Energia but I'm finding difficulties to make the clock trigger periodically (every 5 seconds in the example). This is what I'm doing so far: #include <ti/sysbios/knl/Clock.h> #include <ti/sysbios/BIOS.h> Clock_Params clkParams; Clock_Struct clkStruct; Clock_Handle clkHandle; Clock_Params_init(&clkParams); clkParams.period = 5000000/Clock_tickPeriod; clkParams.startFlag = FALSE; /* Construct a periodic Clock Instance */ Clock_construct(&clkStruct, (Clock_FuncPtr)clkFxn, 5000000/Clock_tickPeriod, &clkParams); clkHandle = Clock_handle(&clkStruct); Clock_setTimeout(clkHandle, 5000000 / Clock_tickPeriod); Clock_start(clkHandle); I wonder whether Energia is overwriting Clock in some way. Thanks for your ideas, Daniel.
  9. Link external ino file

    Can we ask Energia to include an external ino file (located in an external folder) in the ino2cpp build process? This would be like using an external library with an ino file inside. This would be a on time change so editing platform.txt might be the perfect solution. Thanks!
  10. Task_construct not allowed by Energia?

    Nope, I didn't. Is this the library being used by Energia? Do you know whether the task management is available anywhere in the Energia code? I've not been able to find any rtosSetup function in the Energia project. Thanks!
  11. I generally like the way the Energia team has integrated TI-RTOS with the traditional setup-loop structure and how new tasks are automatically added with every new setup-loop duple. However, I'd like to manage the radio of the CC1310 from a separate task, hidden from loop(). Task_construct should be the way to do this but calling this function seems to be halting the MCU somewhere in the Energia stack. I guess task management is something only allowed to the Energia stack but I wonder whether there is still a way for us to create and run new tasks apart from the ones automatically generated by Energia. Thanks for your time, Daniel.
  12. Unable to flash MSP432 Launchpad from Energia 18

    Hi @Mention, You're right, starting Energia as superuser solves the problem. Any idea why?
  13. Running my first tests on my new MSP432 Launchpad. However I'm getting this error when trying to flash the board from Energia 18 under Ubuntu 16.04: Sketch uses 23,848 bytes (9%) of program storage space. Maximum is 262,144 bytes. /home/daniel/applications/energia-1.6.10E18/hardware/tools/DSLite/DebugServer/bin/DSLite load -c /home/daniel/applications/energia-1.6.10E18/hardware/tools/DSLite/MSP_EXP432P401R.ccxml -f /tmp/build121c3caa5b27c6be2f7efa34131b78ee.tmp/Blink.ino.elf Failed: Operation was aborted DSLite version 6.2.1.1595 Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: CS_DAP_0 Executing Startup Scripts: CS_DAP_0 Initializing: CORTEX_M4_0 Executing Startup Scripts: CORTEX_M4_0 Connecting... fatal: CS_DAP_0: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.222.0) fatal: CS_DAP_0: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.222.0) It's like a driver-related problem but most of the help found in the Internet is related to Windows installations. I've followed the instructions found here for Linux installs. On the other hand, dmesg shows the USB interface being successfully detected: [16999.401946] usb 1-2: new full-speed USB device number 13 using xhci_hcd [16999.531131] usb 1-2: New USB device found, idVendor=0451, idProduct=bef3 [16999.531134] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [16999.531136] usb 1-2: Product: XDS110 (02.02.05.01) with CMSIS-DAP [16999.531138] usb 1-2: Manufacturer: Texas Instruments [16999.531139] usb 1-2: SerialNumber: M4321005 [16999.531685] cdc_acm 1-2:1.0: ttyACM0: USB ACM device [16999.532350] cdc_acm 1-2:1.3: ttyACM1: USB ACM device [16999.533201] hid-generic 0003:0451:BEF3.0007: hiddev0,hidraw1: USB HID v1.11 Device [Texas Instruments XDS110 (02.02.05.01) with CMSIS-DAP] on usb-0000:00:14.0-2/input5 Thanks in advance for your help.
  14. JSON file for installation on the Arduino IDE?

    Hi guys, The install process provided by Robert is in fact the recommended one for new third-party boards. This process ends by installing everything in the $HOME/.arduino15 folder. Robert, What would be the effects of your pull request not being finally merged into the main Arduino branch?
×