logs archiveBotHelp.net / Freenode / #43oh / 2015 / August / 10 / 1
lastaid
hello there, anyone got the chance to play with the CC3200 yet?
Rickta59
./timers.h:82:14: error: static void Timer_TA3<timerid, tt, freq, user_funcs>::on_ccr0() [with short unsigned int timerid = 0u; timer_type tt = (timer_type)0u; long unsigned int freq = 1000ul; user_funcs = SysTickHandler] causes a section type conflict with void uart_a0_rx0_handler()
there is my bizarre message of the day ..
msp430-elf-gcc 4.9.1 in
... so i have another isr handler ...
if i include both of them i get this message
from the linker ..
it looks like they are both in the same section ..
* seems like that shouldn't happen
if i force that isr handler into the specific section it should live ..
static void on_ccr0(void) __attribute__((interrupt(TIMER3_A0_VECTOR),used,section(".__interrupt_vector_timer3_a0")))
... then it links and works fine
or i can force the other isr handler into its proper section
__interrupt_vector_timer3_a0 ..
and it works
* goes to look at the .ld script
* not mine .. the one supplied by ccs 6
i wonder why they decided to do all hokey things for the interrupt table
could be more like the arm vector table and make the thing a lot less confusing
username3
Rickta59, yea... ISR handling is a rather weak point of MSP430s
Rickta59
this is the first time i've had this type of issue
username3
no prempt & sub priority...ect
Rickta59
why would you want them in some different priority ; )
ok .. there is a reason
seems there was some weird interaction with -code-region= ..
* even though both of those routines were in the .lower.text section
zlalanne: have you played around with the chrome.serial api in chromium/chrome?
like that webkit/nodejs thing but builtin
zlalanne
hmm, never heard of that before
i'm surprised that it's allowed
seems like a security issue
Rickta59
you have to install it as an extension
not enabled by default
https://github.com/Involt/Involt ..
that is some code that uses it
zlalanne
oh cool
Rickta59
you put some firmware on your msp430 device
and then respond to serial data to make it do stuff
zlalanne
yea that seems a really slick way to do it, people would just need the extension
Rickta59
http://dpaste.com/2H80WKM .. there is a page that toggles the leds on an msp430fr5969
zlalanne
dpaste is blocked here :-(
Rickta59
ah right ...
gisthub?
zlalanne
no gist is blocked too
Rickta59
github/
zlalanne
github is fine
Rickta59
<div class="ard toggle D25 1">LED1</div>
<div class="ard toggle D26 1">LED2</div>
those are the two lines i added to the index.html in <body>
D25 .. pin 25 on msp430fr5969
toggle is a css class that automatically flips between 1 and 0
D25 indicates directly manipulate the pin 25
1 is the value
seems to work fairly well ..
i was sad to see it didn't work on a tablet though
desktop feature i guess
still could be useful way to get code onto a device
or access gdb rsp
in theory you could write a web based gdb client
or just use it as a bootloader
without any client side native code
thought you might find it interesting as you were playing with that nodejs/webkit thing
zlalanne
yea that's pretty cool, I'm going to have to look into it more
but downloading code from the browser would be awesome
Rickta59
i mean the dev.ti.com thing can do that
but requires an install
zlalanne
right
Rickta59
which i guess this does too ...
but it isn't native code
zlalanne
there is an agent that runs on the client side in that case
Rickta59
just some javascript
zlalanne
yea treu
still requires the extension
Rickta59
this thing also provides the same thing for usb devices and bluetooth
*this thing being the chrome.xxx api
https://developer.chrome.com/apps/app_usb
https://developer.chrome.com/apps/app_bluetooth
anyways .. yeah it is kind of interesting
mix in some json code parsing ..
might be useful
« prev next »