logs archiveBotHelp.net / Freenode / #43oh / 2015 / September / 1 / 2
Rickta59
lawyers don't ya know
Striker|
ITAR often doesn't make much sense.
I assume it falls under ITAR somehow but I've always just blamed most export restrictions on it so who knows
Rickta59
some lawyer told them to do it .. so they do
http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/index_FDS.html
Striker|
I've had to do the same thing with an SSH tool my school has us use for their Linux servers.
Rickta59
the links without a lock ..
Striker|
I think because it supports a high level of encryption
Rickta59
are you on windows or linux?
Striker|
Windows.
Rickta59
ok so the msp430-gcc-windows-installer.3.x.x.exe
no asking
but then you have to download the header files ..
Striker|
Oh it's not a problem, the form isn't giving me trouble. Just remarking on the pointlessness of it
Rickta59
which are in msp430-gcc-support-files.zip
yeah
or you can just grab the source and do a build
but you still need the "support files" which are the headers
for each chip and its ld script
unless you want to write your own chip headers and ld script
Striker|
Yeah no thanks. I've only received an incredibly basic intro to linker scripts before.
Rickta59
ah .. that chip only has 16kb
you aren't going to gain anything using msp430-elf-gcc
just use the ti compiler
Striker|
Yeah so not a problem for now. I mean I have a bigger and better chip FR6989 I think but I'm not using it for this.
Since I have a bunch of FR4133 boards I got for free.
Rickta59
those chips are actually pretty decent
fram can be used like ram
Striker|
Yeah, the FRAM is pretty neat
Rickta59
only 2 timers though ...
and only 1 uart
Striker|
The inherent rad-resistance of it made me interested in it for cubesat stuff but then I looked further
Rickta59
but it has lcd stuff
Striker|
The actual FRAM itself may be radiation resistance but the silicon that lets you access it certainly isn't and noone has ever made a rad-hardened FRAM module
Rickta59
now that you have a lp ..
you should sample some other chips
you can get tssop-38 msp430fr5959 .. 5949 ..
64k fram .. lots of timers
Striker|
Actually...damn I just realized this is pointless for now. I've got to mill a PCB for the project I wanted to start off with
And I've got a bunch of the MSP430G2 boards with their extra DIP-chips laying around too
Rickta59
those lps have a decent debugger
which you can use as a debugger / programmer for the dip chips
Striker|
The FR4133 boards didn't come with spare chips.
Rickta59
you just need to connect test/reset/gnd to the dip chips
pull the jumpers from the onboard 4133
Striker|
It's all sockets on the G2 boards, so I'll probably just swap the chips and program them.
Rickta59
yeah the older debugger sucks though
the newer ones are better
you can do uart stuff faster .. the old ones limited to 9600
Striker|
....
Rickta59
but .. i guess you are on windows so they work ok
they suck on linux
and can't be used with ccs
* the g2 launchpads
Striker|
9600 baud? That's really slow.
Rickta59
have you used the g2 launchpad?
Striker|
That a limit of the USB interface they set up or of the G2 itself?
Rickta59
the usb fet .. of you connect up an ftdi uart to the msp430g2xxxx chip it will go whatever speed
of course you
Striker|
Nah I've only just started messing with the MSP430s starting with the FR4133 kit I have nearby. Somehow I've accumulated so many boards.
Rickta59
the msp430 chips are comfortable
Striker|
They're cheaper then Atmegas and they seem far more capable
Rickta59
yeah each has a thing the other doesn't
Striker|
And what does the Atmega have?
Rickta59
with the msp430 you need to learn the peripherals and get out of abit bang thinking
Striker|
I see all sorts of extra peripherals that look great
Rickta59
fast single cycle gpio set clear
Striker|
DMAs which I'm used to only seeing on ARMs. Although I never messed with them myself.
Rickta59
on the msp430 bit banging is slower
Striker|
Okay, not entirely, but almost never.
Rickta59
yeah the fr4133 adds dma
the g2 stuff didn't have that
these chips have the 20 bit msp430 arch
Striker|
It's fine for this junk. Just want to get something made.
Rickta59
msp430xv2
Striker|
I could pull a Teensy out but meh... better to learn something useful.
Rickta59
vs the g series which was 16 bits
Striker|
Wait what?
Rickta59
20 bit registers
Striker|
20-bit instructions for a 16-bit processor?
OH
Rickta59
so you can get up at the higher memory .. * although not on this chip
and usually hw multiply
* haven't looked at this chip
the smaller g2 don't have any hw mult
Striker|
Wait wait. How does register-based addressing work with the 20-bit register?
Rickta59
it can use 20 bits for an addressz
Striker|
What if I go to some address + 10?
How does it handle the addition?
Rickta59
it adds an immediate and a register
it will take 3 bytes of flash ..
for the 20 bits
and ignore a few of them
unless you tell it to use small model
Striker|
I'll check again, I thought the ALU was 16-bit
Rickta59
and then it will use 16 bit
you should get the datasheet for the chip
and the family guide
http://www.ti.com/lit/ug/slau367f/slau367f.pdf
there are extra instructions for the 20 bit stuff
« prev 1 2 3 4 5 6 7 8 next »