Search found 118 matches

by sulliwk06
Fri May 30, 2014 5:31 am
Forum: NetBurner Software
Topic: How to tell if you are in an interrupt
Replies: 5
Views: 3428

How to tell if you are in an interrupt

I've been wondering for a while if there is a way to tell if you are in an interrupt or not. Is there some central flag or something that I can check to see if I'm in one? I think it would be nice to be able to handle certain functions differently while in an interrupt. Is there a way to do this, or...
by sulliwk06
Mon May 19, 2014 10:54 am
Forum: NetBurner's Eclipse IDE
Topic: Console output not appearing
Replies: 2
Views: 3503

Re: Console output not appearing

That will print "Application started" through the standard output, which will be a serial port or the usb port. You will need to use a program like mttty to open a serial connection there. There might be a way to link mttty into that console output on eclipse, but I don't know it.
by sulliwk06
Wed May 14, 2014 11:13 am
Forum: NetBurner Software
Topic: SB70LC I2C2Serial example not working
Replies: 4
Views: 2751

Re: SB70LC I2C2Serial example not working

You could try mapping stdin yourself.

ReplaceStdio( 0, fd ); // stdin
ReplaceStdio( 1, fd ); // stdout
ReplaceStdio( 2, fd ); // stderr
by sulliwk06
Tue May 13, 2014 8:18 am
Forum: NetBurner Software
Topic: Transferring data between different tasks in MOD54415
Replies: 8
Views: 4212

Re: Transferring data between different tasks in MOD54415

Well since tasks operate on their own stack, I think the only way you could share anything between them is with a global. Are you trying to avoid using global variables for any particular reason? Edit: On second thought, I suppose you could use GetUserParameters() and SaveUserParameters() in each ta...
by sulliwk06
Fri May 09, 2014 5:29 am
Forum: NetBurner Software
Topic: Large flash file system on NANO54415
Replies: 3
Views: 2168

Re: Large flash file system on NANO54415

It also appears to not let me place more than 8 files in the file system, regardless of each files size. I'm quite at a loss of what to do. I have found the HCC Embedded EFFS Implementation Guide online and I looked up the call to fs_mountdrive which is giving me the first error I don't understand. ...
by sulliwk06
Wed May 07, 2014 1:55 pm
Forum: NetBurner Software
Topic: Large flash file system on NANO54415
Replies: 3
Views: 2168

Large flash file system on NANO54415

I'm trying to set up a 3MB file system in the flash on a NANO54415, but I'm getting errors on the mount and format commands when I try to make the file system larger than about 560kb. I'm basing this off the EFFS-STD-HTTP example for the nano. When the file system size is around say 512kB: fd_mounts...
by sulliwk06
Fri May 02, 2014 5:07 am
Forum: NetBurner Software
Topic: MOD54415 Serial Rx Interrupt Question
Replies: 9
Views: 4510

Re: MOD54415 Serial Rx Interrupt Question

The best way to think of it is that a task blocks itself from running, allowing lower priority tasks to run.
by sulliwk06
Tue Apr 29, 2014 8:46 am
Forum: NetBurner Software
Topic: MOD54415 Serial Rx Interrupt Question
Replies: 9
Views: 4510

Re: MOD54415 Serial Rx Interrupt Question

So you're trying to set up your serial receive task at a higher priority than your other tasks, right? Is there a reason why you can't use a select() call on the serial port? It won't get in the way of your other tasks.
by sulliwk06
Mon Apr 28, 2014 12:52 pm
Forum: NetBurner Software
Topic: Data Collection Questionaire
Replies: 4
Views: 2705

Re: Data Collection Questionaire

Interesting, I've been running 14 tasks and haven't had a need to use external memory for stacks yet. I think if I did get to that point I'd focus on minimizing my stack requirements than using external memory. As for the data collection I don't like the idea of the automatic process, though I don't...
by sulliwk06
Fri Apr 04, 2014 7:23 am
Forum: NetBurner Software
Topic: Get priority of current task
Replies: 1
Views: 1684

Get priority of current task

I'm trying to figure out if there is some way to obtain the priority of the currently executing task so I can determine which task is calling a certain function.

Is there a function to do this? Or has someone done this on their own with some trick?