Jump to content
43oh

Energia 15 available for download.


Recommended Posts

I guess I just figured out my own problem with E-15... It runs fine on my little tablet running Win8.1 but my desktop running Win10 Tech Preview bombs, so must be something there. E-15 bombs running in compatibility mode for XP, 7 and 8 so I'm not sure what's the issue though; maybe some problem with the JVM bundled with E-15?

 

Never thought I'd be using my tablet for compiling. >shrug<

 

*edit- doesn't seem to make a difference which drive or directory I install it in either.

Link to post
Share on other sites

I can't find any references to MSP432 or the RTOS in the Energia Github sources, is this closed or just waiting for release?

We developed the MSP432 implementation on a private repository since the MSP432 was not released. I am working on moving that work over to the public repo. The TI-RTOS part is still in binary but we will soon have all that available in source as well. Just so that everybody knows, TI-RTOS is open source licensed under BSD.

Link to post
Share on other sites

Some more info on the RTOS aspect would be nice. ;)

 

I.e. is it possible to pass variable values from one "task" to another, and if so how to do?

Tutorials will be coming soon. We will also have libraries that will make it easier for inter task communication. There are already 2 examples of this, the ButtonEvent example and the EventLibrary example. To pass variables between tasks, easiest for now is to make them global variables on the first tab. You can then use them in any other tab.

Link to post
Share on other sites

Trying to compile the "MultiBlink" example:

CCROOT E:\energia-0101E0015\hardware\tools\lm4f
SDKROOT E:\energia-0101E0015\hardware\msp432/CC3200SDK_1.0.0.patch
CLOSURE E:\energia-0101E0015\hardware\common
MAINSKETCH MultiBlink.cpp
armcl main.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/utility/ -DF_CPU=48000000L -D__MSP432P401R__ -DTARGET_IS_MSP432P4XX -Dxdc__nolocalstring=1 -ffunction-sections -fdata-sections -DARDUINO=101 -DENERGIA=14 -D__MSP432P401R__ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant  -fno-exceptions -fno-rtti -I "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS main.cpp -o main.obj
armcl MultiBlink.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/utility/ -DF_CPU=48000000L -D__MSP432P401R__ -DTARGET_IS_MSP432P4XX -Dxdc__nolocalstring=1 -ffunction-sections -fdata-sections -DARDUINO=101 -DENERGIA=14 -D__MSP432P401R__ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant  -fno-exceptions -fno-rtti -I "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS MultiBlink.cpp -o MultiBlink.obj
GreenLed.ino:1:0: warning: "LED" redefined [enabled by default]
BlueLed.ino:1:0: note: this is the location of the previous definition
RedLed.ino:1:0: warning: "LED" redefined [enabled by default]
GreenLed.ino:1:0: note: this is the location of the previous definition
armlink  main.obj  MultiBlink.obj   
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -nostartfiles -Wl,--no-wchar-size-warning -Wl,-static -Wl,--gc-sections -L"E:\energia-0101E0015\hardware\common" -L"E:\energia-0101E0015\hardware\tools\lm4f/lib"  main.obj  MultiBlink.obj    -Wl,-T"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/linker.cmd" -LE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R -LE:\energia-0101E0015/hardware/common/libs   -lstdc++ -lgcc -lc -lm -lnosys -Wl,-Map=MultiBlink.cpp.map -o MultiBlink.cpp.elf
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/runtime/wiring/msp432/lib/ti.runtime.wiring.msp432.lib(wiring_analog.om4fg): In function `analogWrite':
/db/ztree/library/trees/emt/emt-a28/src/ti/runtime/wiring/msp432/wiring_analog.c:259: undefined reference to `GPIO_setAsPeripheralModuleFunctionOutputPin'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/runtime/wiring/msp432/lib/ti.runtime.wiring.msp432.lib(wiring_analog.om4fg): In function `stopAnalogRead':
/db/ztree/library/trees/emt/emt-a28/src/ti/runtime/wiring/msp432/wiring_analog.c:561: undefined reference to `GPIO_setAsPeripheralModuleFunctionOutputPin'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_hwiIntFxn':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:244: undefined reference to `GPIO_getEnabledInterruptStatus'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:247: undefined reference to `GPIO_clearInterruptFlag'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_setConfig':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:446: undefined reference to `GPIO_interruptEdgeSelect'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:448: undefined reference to `GPIO_clearInterruptFlag'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:386: undefined reference to `GPIO_setAsInputPinWithPullDownResistor'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:383: undefined reference to `GPIO_setAsInputPinWithPullUpResistor'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:394: undefined reference to `GPIO_setAsOutputPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:401: undefined reference to `GPIO_setDriveStrengthHigh'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:404: undefined reference to `GPIO_setOutputHighOnPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:389: undefined reference to `GPIO_setAsInputPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:397: undefined reference to `GPIO_setDriveStrengthLow'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:407: undefined reference to `GPIO_setOutputLowOnPin'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_write':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:505: undefined reference to `GPIO_setOutputLowOnPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:499: undefined reference to `GPIO_setOutputHighOnPin'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_close':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:109: undefined reference to `Timer_A_setCompareValue'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:110: undefined reference to `Timer_A_stopTimer'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_control':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:182: undefined reference to `Timer_A_setCompareValue'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_getPeriodCounts':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:209: undefined reference to `Timer_A_getCaptureCompareCount'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_setDuty':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:368: undefined reference to `Timer_A_getCaptureCompareCount'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:414: undefined reference to `Timer_A_setCompareValue'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_open':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:343: undefined reference to `Timer_A_generatePWM'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:344: undefined reference to `Timer_A_startCounter'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432.om4fg): In function `initPerfControl':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:759: undefined reference to `CS_setDCOCenteredFrequency'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:760: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:761: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:762: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:765: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:771: undefined reference to `FlashCtl_setWaitState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:773: undefined reference to `FlashCtl_setWaitState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:778: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:779: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:781: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:782: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:795: undefined reference to `CS_setDCOCenteredFrequency'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:797: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:800: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:803: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:786: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:787: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:789: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:790: undefined reference to `FlashCtl_disableReadBuffering'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432.om4fg): In function `Power_sleep':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:630: undefined reference to `PCM_getPowerMode'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:675: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:630: undefined reference to `PCM_getPowerMode'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:667: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:673: undefined reference to `RTC_C_holdClock'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:674: undefined reference to `WDT_A_holdTimer'
E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R\ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432_tirtos.om4fg): In function `PowerMSP432_policyFxn':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:62: undefined reference to `CPU_cpsid'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:110: undefined reference to `CPU_cpsie'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:110: undefined reference to `CPU_cpsie'
collect2.exe: error: ld returned 1 exit status
make: *** [MultiBlink.cpp.elf] Error 1
E:\energia-0101E0015\tools\common\bin\make returned 2

This is a bug in the IDE/Compilation of the driverlib. Make sure that you have "Compile DriverLib from source" unchecked in your Energia preferences.

Link to post
Share on other sites

Well, it looks like the "release" has some problems...

 

The 500+MB .bin files seem to be because the .elf file contains initialized data at RAM addresses (0x2000000+), rather than "copy my initialized data from flash to RAM in the startup code" that should be there.  That seems like a real problem even beyond the silly file sizes...

000091b4 R ti_sysbios_family_arm_m3_Hwi_E_noIsr__C
000091b8 R xdc_runtime_Text_charCnt__C
000091bc R ti_sysbios_family_arm_m3_Hwi_E_busFault__C
000091c0 R ti_sysbios_knl_Swi_Object__count__C
000091c4 R ti_runtime_heaps_HeapRem_Object__PARAMS__C
000091dc A __data_load__
00009db8 R __exidx_start
  :
20000000 D ti_sysbios_family_arm_m3_Hwi_ramVectors
20000140 D __data_start__
20000140 D func_ptr
20000148 D taskNames
2000014c D ti_sysbios_family_arm_m3_Timer_Object__table__V
2000017c D ti_sysbios_knl_Swi_Object__table__V
200001ac D ti_sysbios_knl_Swi_Module__state__V
200001c8 D ti_sysbios_knl_Semaphore_Object__table__V
200001dc D ti_sysbios_family_arm_m3_Timer_Module__root__V

I did install a windows version, and once I moved Energia out of "\Program Files\" (it didn't like the blanks in the directory names), I was able to compile Blink OK.  I guess the MT-core is entirely provided as libraries, which is a little scary ("I can't fix the core any more?"), but likely to make builds much faster.

 

(Should I start submitting github issues, or just wait for 0102E0015 ?)

There is an issue with the linkerscript it seems. We are looking into it. For now I have removed the generation of the .bin file from the Makefile since it is not used anyways.

You can still compile the framework from source. In the next release this will be exposed in the preferences. You choose either to compile from source or use the pre-compiled binary for speed. For now, you can edit hardware/common/Makefile. Look for CORE_FROM_SOURCE and set that to "yes".

Link to post
Share on other sites

I got this error when I tried to flash an msp432 launchpad from 32 bit ubuntu.

 

Fatal: CS_DAP_0: Error connecting to the target: (Error -263 @ 0x0)
Incompatible XDS110 firmwaredetected.  The firmware version of the
connected XDS110 debug probe does not  match the expected version.
Please update the firmware 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
5.1.638.0)
This is with a board that has been working fine with CCS and the TI Cloud based dev.ti.com.

 

I looked at the DSLite directory in energia and it seemed different than the one from the TICloudAgent. So I replaced the directory in Energia with the one from TICloudAgent. Then I was able to upload from energia 15.

 

$ diff -r energia-0101E0015 energia-0101E0015.fixed/
Only in energia-0101E0015.fixed/tools/common/DSLite/common/targetdb/connections: TIMSP430-USB.xml
Only in energia-0101E0015.fixed/tools/common/DSLite/common/targetdb/cpus: MSP430.xml
Only in energia-0101E0015.fixed/tools/common/DSLite/common/targetdb/drivers: msp430_emu.xml
Only in energia-0101E0015.fixed/tools/common/DSLite/common/targetdb/drivers/TI_reg_ids: MSP430_regids.xml
diff -r energia-0101E0015/tools/common/DSLite/common/targetdb/drivers/tixds510cortexM.xml energia-0101E0015.fixed/tools/common/DSLite/common/targetdb/drivers/tixds510cortexM.xml
33c33
< </drivers>
---
> </drivers>
\ No newline at end of file
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libjioxds110.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libjioxds110.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libjscxds110.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libjscxds110.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libjtagdata.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libjtagdata.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdsboard.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdsboard.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdserror.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdserror.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdsfast3.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdsfast3.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdsicicle.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdsicicle.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdslocal.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdslocal.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdsroute.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdsroute.so differ
Binary files energia-0101E0015/tools/common/DSLite/common/uscif/libxdstrove.so and energia-0101E0015.fixed/tools/common/DSLite/common/uscif/libxdstrove.so differ
Only in energia-0101E0015.fixed/tools/common/DSLite/DebugServer/drivers: libmsp430.so
Binary files energia-0101E0015/tools/common/DSLite/emulation/drivers/cmapi.out and energia-0101E0015.fixed/tools/common/DSLite/emulation/drivers/cmapi.out differ
Binary files energia-0101E0015/tools/common/DSLite/emulation/drivers/libtixds510cortexm.so and energia-0101E0015.fixed/tools/common/DSLite/emulation/drivers/libtixds510cortexm.so differ
Binary files energia-0101E0015/tools/common/DSLite/emulation/drivers/libtixds510cs_dap.so and energia-0101E0015.fixed/tools/common/DSLite/emulation/drivers/libtixds510cs_dap.so differ
Only in energia-0101E0015.fixed/tools/common/DSLite: MSP430.ccxml
BTW: Getting TICloudAgent to install on 32 bit linux was a pain in the ass. I had to boot into a 64 bit linux .. run the 64 bit installer that contains a bunch of 32 bit executables .. then copy those 32 bit executables to my 32 bit setup. .. the hoops you make us jump through TI .. ; )

 

-rick

Link to post
Share on other sites
  • 1 month later...

Tutorials will be coming soon. We will also have libraries that will make it easier for inter task communication. There are already 2 examples of this, the ButtonEvent example and the EventLibrary example. To pass variables between tasks, easiest for now is to make them global variables on the first tab. You can then use them in any other tab.

 

Thanks for releasing this,great tool for simplification of mcu concurrency.

 

Can i offer an idea? 

 

I though about what might be the simplest,easiest way for new users to use concurrency. I think it would be by reusing concurrent modules, called chips , and sending data to them and reading data from them. Why simple ? because they already do that when they connect and external chip to the mcu, so there's nothing new to learn.

 

The interface would look like something like this(psuedo code) :

 

c = KeyScannerChip(speed, lines, rows);  // starting a concurrent key scanning "chip"/task

c.start_chip();

 

c.change_scan_speed(speed);

 

if c.new_data() {

   data = c.read()

}

 

 

Internally - all writes should create messages(in a queue) for the task to deal when it has time, and the task will put output data into output queue, for the user to read. There should be some code to help with that.

 

It's pretty similar to the actor model, which works pretty well, and there's even some research showing it can be applied to small embedded systems.

 

Ann again, the nice thing about all this - is that to reuse concurrent modules, there's almost a zero learning curve.

 

What do you guys think ?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...