L.R.A 78 Posted March 29, 2013 Author Share Posted March 29, 2013 thanks! Could you tell me how should i change memory.x and periph.x? I had to change periph.x with Code Composer Studio. I tried to edit memory.x but it gave me a syntax error. Don't even know if it was the rong program or my error. I think this should be clear for anyone interested in this uControler: it isn't available in a PDIP40 package. Msp430g2744 is available in that package but just in samples. Not realy practical in my opinion. Msp430g2955 also is a bit better. 4x more SRAM, 24kB more flash and 1 extra timer (3 total). Msp430g2955 is available in tssop38 and VQFN40. I prefer DIP packages and don't want to make a PCB complete board. So i use a tssop38 to DIP adapter. It doesn't add much in absolute numbers but it's a considerable cost since the uControler is cheap. In PCB service i got one for 3,68 Quote Link to post Share on other sites
L.R.A 78 Posted April 9, 2013 Author Share Posted April 9, 2013 Aparently we have to wait for a new launchpad. The programmer is fixed, can't be upgraded: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/254008/897717.aspx#897717 But it aparently some people been able to do it. also acording to that post but TI won't give suport for msp430g2xx5 for later versions. Still haven't tried. My adapters haven't still come Quote Link to post Share on other sites
cde 334 Posted April 9, 2013 Share Posted April 9, 2013 Ain't that just some Bulldoody. Quote Link to post Share on other sites
yosh 121 Posted June 6, 2014 Share Posted June 6, 2014 @@reaper7Got Blink-Sketch running G2955 on protoboard + F5529 Launchpad for programming + Energia 0101E0012Used L.R.A.s files (from his Dropbox-Link, posted here earlier) + made modifications in memory.x according to G2955 datasheet. MSP430_GetNumberOfUsbIfs MSP430_GetNameOfUsbIf Found FET: COM15 MSP430_Initialize: COM15 Firmware version is 30301004 MSP430_VCC: 3000 mV MSP430_OpenDevice MSP430_GetFoundDevice Device: MSP430G2x55 (id = 0x006c) 2 breakpoints available MSP430_EEM_Init Chip ID data: 29 55 Erasing... Programming... Writing 610 bytes at 2100... Writing 32 bytes at ffe0... Done, 642 bytes total MSP430_Run MSP430_Close Now further testing is needed ... but I will wait until I have my G2955-PCBs from Oshpark. pine and bluehash 2 Quote Link to post Share on other sites
reaper7 67 Posted June 6, 2014 Share Posted June 6, 2014 @@yosh This is very gooood news! evolution in progress Quote Link to post Share on other sites
L.R.A 78 Posted June 14, 2014 Author Share Posted June 14, 2014 That's realy good If you need any help just ask, i don't realy can physicaly test anytigh (where the hell did i put the uControlers) but i could try to help with more info with any Energia fuction that fails. I mostly just use the weaker MSP430 and Tivas now Quote Link to post Share on other sites
yosh 121 Posted June 27, 2014 Share Posted June 27, 2014 Got my G2955 boards yesterday and soldered the TSSOP-Version today. First test with Energia showed, that simple sketches (like blinking or software serial) run without problems. But at the moment I have a lot of difficulties to get the peripherals like HardwareSerial or I2C running. I took the files of L.R.A. (as posted earlier) and modified them according to the data sheet (as far as I could). memory.x and periph.x should (hopefully) be correct, I took the values from the docs. Had to correct some "pins" in pins_energia.h ... but I couldn't get HardwareSerial running on Pins 25/26 (SoftwareSerial on these pins works) ... So now some questions for those who are more familiar with Energia development: Is it possible to use "msp430" as build.core or do I have to create a new one? (like "lpmsp430g2955.build.core=msp430" in boards.txt) Or the other way around: To which extend do I have to change hardware-related files (like in hardware/msp430/cores/msp430)? So to sum up here is a short list according to @@Rei Vilo 's post: add board definition for the MSP430G2955 in hardware/msp430/boards.txt -> ok ... question: build.core=msp430 ??? add pins definition for the MSP430G2955 in hardware/msp430/variants/launchpad/pins_energia.h -> adapted Pins 25+26 for TX/RX, but no success create a new file msp430g2955.h out of hardware/tools/msp430/msp430/include/msp430g2553.h -> do I have to modify this file or just copy? create a new file msp430g2955/memory.x out of hardware/tools/msp430/msp430/lib/ldscripts/msp430g2553/memory.x -> should be ok now create a new file msp430g2955/periph.x out of hardware/tools/msp430/msp430/lib/ldscripts/msp430g2553/periph.x -> should be ok now GastonP and reaper7 2 Quote Link to post Share on other sites
spirilis 1,265 Posted June 27, 2014 Share Posted June 27, 2014 I got this working and really attacked it at the core, getting analogWrite working perfectly too. Gotta find my other thread, I think I posted my core files. Short answer is yes, you will use the msp430 core, that core just needs some code updates. Sent from my Galaxy Note 10.1 yosh, GastonP and L.R.A 3 Quote Link to post Share on other sites
yosh 121 Posted June 27, 2014 Share Posted June 27, 2014 Thanks for the hint, how could I miss your post ;-) will try your solution ASAP !!! Quote Link to post Share on other sites
yosh 121 Posted June 30, 2014 Share Posted June 30, 2014 @@spirilis Works great, now Serial works without any problems. Also my I2C OLED works - very nice !!! For reference, here is the link to spirilis' post / files: http://forum.43oh.com/topic/3594-msp430g2955-launchpad-development/#entry47184 spirilis, reaper7 and L.R.A 3 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.