logs archiveBotHelp.net / Freenode / #43oh / 2015 / September / 1 / 4
Rickta59
early stuff
early launchpad stuf
back when 2k was all you got on the g2231
and 16k on the g2553
and 8k on the g2452
not sure if he has contributed much since then
i think he got disgusted with it all when energia started to be the main topic on 43oh
to be honest real code has gone down and energia has taken its place
you don't seem much code about the 5529 which is pretty decent
and the fram chips are kind of neat but they have some restrictions too
like wait states start getting added about 8Mhz
but .. if you are looking at the msp430 you probably should be focused on low power
the 5529 can go to ~25MHz without any flash wait states
the newest fram chips are limited to 16MHz
although there is the msp430fr5739 which can go to 24MHz ..
but that is old fram and has been deprecated
but it was also limited to 16k of fram
but they do have the TIMERB .. which has some neat features over the TimerA
* double buffered timer stuff
the smaller chips the g2452 and g2231 are pretty limited ..
although the USI SPI on there has one feature you don't find on the USCI or EUSCI ..
you can set the bit count .. from 1 to 16
so you can use it to spew 16 bits of data before it needs more
sometimes useful
specifically for some lcds
that use 9 bits
also seems that i've been able to overclock the smaller ones to a higher level
~21MHz and they seem ok
but it depends on the chip
18Mhz easily
which is sometimes useful for getting a uart friendly fast baud rate
the clocks on the g2 are really flexible .. you can set the MCLK to just about any value
all via software
although the FR series is also flexible
so is that true that you can't download CCS for use in Iraq?
the guy on 43oh is complaining he can't download
if you can't get the software, how do you get the boards/chips?
* not really sure why people were helping someone in Iraq with WSN stuff anyways
g0rdon
because in 2015 you just can't expect people to use wired weight traps now can you
that would be so... middle-ages
Rickta59
they were using donkies when I was there to deliver IEDs
seems like rocks and stones would be appropriate
how are things there g0rdon ? I just read something about the trains being stopped to deter immigrants
g0rdon
yeah, read that too
unless the shop calls back that i can pick my vehicle up, i won't be around that part of the town, so i don't care
Rickta59
probably a good place to avoid
g0rdon
it's supposed to be a not too friendly place in any case (well, train station, what do you expect)
though i used to work just next to it for like a decade, never had problems
Rickta59
that was our recreation as a kid .. riding the trains for 10 cents
g0rdon
:)
Rickta59
one train station used to go through a candy factory
it made you crave it
ginman
what country are you guys talking about?
Rickta59
hungary/us
ginman
oh cool
Rickta59
and iraq .. without the trains but with the donkies
ginman
i spent a few days in budapest in 2011, it was pretty nice
g0rdon
train stations a bit crowded these days
Striker_
I spent last summer in Europe for school. Train stations may be crowded every one I went to in Europe beat any airport
*but every one
g0rdon
Some scholars believe, however, that Muhammad did not receive the Quran from heaven, as he claimed during his lifetime, but instead collected texts and scripts that fit his political agenda.
no sh*t!!
IcePic
oh noes
g0rdon
don't worry
they are heading to germany
Rickta59
so has anyone looked at redoing the msp430-libc for msp430-elf-gcc .. or more important does anyone care?
i just took a quick stab at it ..
seems like just a few changes to get a smaller lib
* mostly reordering the code in the .S files to use the new ABI
is anyone interested in this?
newlib is especially fat for the msp430
$ msp430-elf-size a.out text data bss dec hex filename 1994 412 16 2422 976 a.out
newlib size
$ msp430-elf-size a.out
text data bss dec hex filename
344 4 0 348 15c a.out
msp430-libc size
348 vs 2422
http://dpaste.com/1KTBHKV foo.c
g0rdon
that seems interesting
never used libc myself, but could be useful
Rickta59
the one that came with msp430-gcc was pretty decent for the msp430
http://iweb.dl.sourceforge.net/project/mspgcc/msp430-libc/msp430-libc-20120716.tar.bz2
g0rdon
never really had a need for anything libc
i think my gcc script compiles it ;)
Rickta59
str stuff?
atoi
g0rdon
never did output really
Rickta59
yeah blinky lights don't need much libc help :)
g0rdon
atoi is cat ttyUSB0 | xxd :)
Rickta59
the big changes ..
large model stuff is different ..
__int20 instead of an attribute(__int20__)
and passed arugments are reversed
old was r12,r13,r14,r15
new is r15,r14,r13,r12
so the .S files need some fix up
i wouldn't bother except the whole thing with the libc in msp430-elf-gcc being broken for months and no one cares got me to do something
i've only fixed the things need to make atoi work so i could see how much work it would be
Spirilis
so Rick, using C++ templates, would it be possible to build, say, a hardwareserial class where the template arguments are a list of UCxxxxx register names?
« prev 1 2 3 4 5 6 7 8 next »