Search the Community

Showing results for tags 'Porting'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Found 6 results

  1. Hi I am currently porting from Arduino to MSP430 platform. I want to port to attached Modbus Master and slave library to Energia. In modbus we have to set parity of serial communication, parity function is not there in MSP430 HardwareSerial.ccp library can anyone help me to add this function in energia library? Problem is not with modbus library but with Energia core library. Thanks SimpleModbusMasterV12.rar SimpleModbusSlaveV9.rar
  2. Hello, There used to be a document on this forum, or stellaristi forum, like general guidelines for porting from arduino to energia. It had explained all the caveats and includes you have to do and change, and was a nice document. Unfortunately, i can not find it anymore. and it seems that stellaristi has been shut down. Anyone remembers where I can find this document? I googled for a while, but failed. Any ideas/help/recomendations greatly appreciated, Best,
  3. Hi, I have downloaded some libraries which have been created for arduino(Modbus Master / Slave). I want to use them with TIVA Launchpad 129. I have compiled them in Arduino IDE successfully. However, when I compile them using Energia after selecting Launchpad 129, I get some errors related to Hardware_Serial.h. I would like to know what changes are to be done in Energia to compile without errors. I have attached Modbus Master library for reference. SimpleModbusMasterV12.rar
  4. I'm port some code over to GCC (GNU_4.6.3:MSPGCC compiler inside CCS6.1) to take advantage of existing driver code for some of my devices. After clearing all basic errors, my build fails with this error: .../energia-0101e0014/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: error: no memory region specified for loadable section `.noinit.crt0' gmake: *** [main.o] Error 1 gmake: Target `all' not remade because of errors. How do I fix that? NOTE/CLUE: I tried making a new, blank GNU_4.6.3:MSPGCC project in CCS, and it gets identical compile errors. However, a new "Energia Sketch" does not have this problem. What is the difference between an "Energia Sketch" and a regular project? If the end-functionality is identical, I can just switch project types, but I don't know if a sketch project has any "gotcha"s that I will regret later. In case anything else is useful, here is the full console output of a failed compile: **** Build of configuration Debug for project MyDevicesGCC **** "C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all 'Building file: ../main.cpp' 'Invoking: GNU Compiler' "C:/.../energia-0101E0014/hardware/tools/msp430/bin/msp430-gcc.exe" -c -mcpu=430x -mmcu=msp430f5529 -D__MSP430_HAS_USCI_A0__ -D__MSP430_HAS_USCI_B0__ -D__MSP430_HAS_USCI_B1__ -D__MSP430_HAS_USCI_A1__ -I"C:/.../energia-0101E0014/hardware/tools/msp430/msp430/include" -I"C:/.../energia-0101E0014/hardware/msp430/libraries/Wire" -I"C:/.../energia-0101E0014/hardware/tools/msp430/msp430/include" -I"C:/.../ElectronicsProjects/FlightControlsGCC/MyDevicesGCC/HeadersGCC" -I"C:/.../energia-0101E0014/hardware/msp430/variants/launchpad_f5529" -I"C:/.../energia-0101E0014/hardware/msp430/cores/msp430" -I"C:/TI/ccsv6/ccs_base/msp430/include_gcc" -Os -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main.d" -MT"main.d" -o"main.o" "../main.cpp" In file included from C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430f5529.h:63:0, from C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430.h:760, from C:/.../energia-0101E0014/hardware/msp430/cores/msp430/Energia.h:4, from ../main.cpp:1: C:/TI/ccsv6/ccs_base/msp430/include_gcc/iomacros.h:70:0: warning: "__interrupt" redefined [enabled by default] <built-in>:0:0: note: this is the location of the previous definition In file included from C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430.h:760:0, from C:/.../energia-0101E0014/hardware/msp430/cores/msp430/Energia.h:4, from ../main.cpp:1: C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430f5529.h:4806:0: warning: "__MSP430_HAS_USCI_A0__" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430f5529.h:4851:0: warning: "__MSP430_HAS_USCI_B0__" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430f5529.h:5123:0: warning: "__MSP430_HAS_USCI_A1__" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition C:/TI/ccsv6/ccs_base/msp430/include_gcc/msp430f5529.h:5168:0: warning: "__MSP430_HAS_USCI_B1__" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition ../main.cpp: In function 'int main()': ../main.cpp:37:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ../main.cpp:49:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ../main.cpp:85:16: warning: unused variable 'repeats' [-Wunused-variable] 'Finished building: ../main.cpp' ' ' 'Building target: MyDevicesGCC.out' 'Invoking: GNU Linker' "C:/.../energia-0101E0014/hardware/tools/msp430/bin/msp430-gcc.exe" -mcpu=430x -mmcu=msp430f5529 -D__MSP430_HAS_USCI_A0__ -D__MSP430_HAS_USCI_B0__ -D__MSP430_HAS_USCI_B1__ -D__MSP430_HAS_USCI_A1__ -Os -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"MyDevicesGCC.map" -o"MyDevicesGCC.out" "./main.o" -T"../msp430f5529.ld" -Wl,--start-group -l"c" -l"gcc" -Wl,--end-group c:/.../energia-0101e0014/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: error: no memory region specified for loadable section `.noinit.crt0' collect2: ld returned 1 exit status gmake: *** [MyDevicesGCC.out] Error 1 gmake: Target `all' not remade because of errors. **** Build Finished ****
  5. Hello All! This is my first post on this forum. So kindly excuse me if i do any faux pas! I am planning to shift to MSP430 after using arduino for long time. I have written a small code to read ADC value and when i press a button adc value gets stored in a variable. Now want I want is to make available this value even after microcontroller restarts. Can anyone tell me how to store variable in Non volatile FRAM? I am using MSP430FR5969 launchpad. I have looked into following examples but they are of not helping me. I am using Energia to program my launchpad. http://forum.43oh.com/topic/4148-reduce-startup-time-on-msp430fr5739/ http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/258443 http://processors.wiki.ti.com/index.php/Creating_MSP430_FRAM_Variables_Using_CCS#Example_Test_Code
  6. Quick questions: Is there already a macro in Energia for the StellarPad which is equivilant to cbi and sbi? Am I correct that portDATARegister in Energia.h (for stellaris) is basically the same as portOutputRegister for the Mps430 or AVR's? I am trying to port a library to Stellaris which uses cbi, sbi, and the portOutputRegister macro's. Any advice is appreciated. L293D