abecedarian 330 Posted November 30, 2012 Share Posted November 30, 2012 You know though, you have to re-write this for the Stellaris..... Quote Link to post Share on other sites
simpleavr 399 Posted December 1, 2012 Author Share Posted December 1, 2012 I see it has been a while since you have been here simpleavr. You might want to try out CCS V5.3 on linux. It won't allow you to upload to a launchpad but you can use it to compile code under CCS in linux. http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv5/CCS_5_3_0/exports/ReleaseNoteRC1.htm just check now and mine is still V4. will sure look into this to update my code templates. @abecedarian attached is a rework source that compiles on my CCS V4 windows version. main.c . change the 0b's to 0x's . fix interrupt vector syntax . take out (and fix) inline assembler codes did not try to run it but it builds. there is no example code loaded now, so u have to use the "monitor" to enter your little LMC programs. Quote Link to post Share on other sites
simpleavr 399 Posted December 1, 2012 Author Share Posted December 1, 2012 You know though, you have to re-write this for the Stellaris..... yeah. when i get the Stellaris. it's still not yet available at newark.ca i did not order it when it's in pre-order. i always have trouble w/ custom clearing when i order for TI US. even when things are free, UPS / FedEx would charge me ridiculous high clearing fees (for filling out some forms for me). anyway, the 430 launchpad alone is enough to keep me busy. Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 /me only giving a hard time, just a joke about the Stellaris. On the other hand, though, I think you said it needs 18 buttons, but you only sent me 16. I'm not worried; I have ordered more buttons. And the "new" code compiles fine. Figuring it out will come in due time. Thank you. Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 just check now and mine is still V4. will sure look into this to update my code templates Can't update from V4 to V5... needs to be installed in a different directory. Quote Link to post Share on other sites
simpleavr 399 Posted December 1, 2012 Author Share Posted December 1, 2012 On the other hand, though, I think you said it needs 18 buttons, but you only sent me 16. I'm not worried; I have ordered more buttons. :grin: i am almost out of these buttons. had to pull a few out of my breadboard projects. the LMC / monitor s/w only requires 16 to work. the extra two position are just U1/U2 "user" buttons, depending on your application. now off u go and build something. :wave: Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 i am almost out of these buttons. had to pull a few out of my breadboard projects. the LMC / monitor s/w only requires 16 to work. the extra two position are just U1/U2 "user" buttons, depending on your application. now off u go and build something. :wave: No worries. I ordered 100 more. ;-) But as I said before, you are too kind. Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 And the code you posted isn't working with CCS? :-( It compiles but ... nothing on the Launchpad. Quote Link to post Share on other sites
oPossum 1,083 Posted December 1, 2012 Share Posted December 1, 2012 the LMC / monitor s/w only requires 16 to work. the extra two position are just U1/U2 "user" buttons, depending on your application. Those are the 21st and 22nd buttons. Hex keypad + 4 function keys = 20 buttons Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 I have 16 button positions populated with the buttons you sent (thanks again), mostly centered (buttons shifted slightly left if you consider the headers to the Launchpad as "center"), with other positions labeled "ADDR", "MODE", "REG" and "+" to the right, and "U0" and "U1" to the left. Quote Link to post Share on other sites
simpleavr 399 Posted December 1, 2012 Author Share Posted December 1, 2012 Those are the 21st and 22nd buttons. Hex keypad + 4 function keys = 20 buttons oops :!!!: , my bad. what was i thinking. can u guys make up the rest locally (may be pull from two old LPs temporary?). i really don't want to send just 4 buttons unless there are other stuff i can send. @oPossum, let me know, if u can't get them handily, i will send them Monday. sorry for the trouble, Quote Link to post Share on other sites
abecedarian 330 Posted December 1, 2012 Share Posted December 1, 2012 Like I said, I just ordered another 100 buttons. Should have them in a week or so. I'll finish populating the board I have and should have around 90 or so left over. If anyone needs a couple, let me know. :grin: Quote Link to post Share on other sites
simpleavr 399 Posted December 2, 2012 Author Share Posted December 2, 2012 here is a short clip showing a "Lunar Lander" implementation. it's an interactive version, not the original "wait for input" version. of course not the later graphic versions as we only have 7-segment leds for display. abecedarian 1 Quote Link to post Share on other sites
hova 7 Posted December 5, 2012 Share Posted December 5, 2012 Thats too cool . I am going back to the beginning of all this , and working on minimizing the tasks of my project. I do love how complicated you guys can take these things. Kinda makes me feel simple , for once... -hov Quote Link to post Share on other sites
simpleavr 399 Posted December 7, 2012 Author Share Posted December 7, 2012 CCS inline assembly help needed. i am trying to make my mspgcc code built under CCS, got most of them done. and now stuck on a problem where i need to relocate function blocks into specific flash addresses in mspgcc i do like this void __attribute__ ((section (".text1"))) bios() { _bios(); } and i tell the linker to do this CFLAGS="-Os -Wall -ffunction-sections -fdata-sections -fno-inline-small-functions -Wl,-Map=$PRG.map,--cref -Wl,--relax -Wl,--gc-sections,\ --section-start=.text1=0x0dd00,\ now when i try compile on CCS, i got "../main.c", line 954: error: expected a type specifier "../main.c", line 954: error: unnamed prototyped parameters not allowed when body is present "../main.c", line 954: error: expected a "{" anyone done similar before in CCS? 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.