Search found 333 matches

by v8dave
Tue Jul 12, 2011 7:14 am
Forum: Off-Topic
Topic: NetBurner Forum updated
Replies: 12
Views: 10770

Re: NetBurner Forum updated

The view active topics doesn't seem to work now.

I checked today (12-July) and only see one posting from 06-July but I can see in the forum and from emails that they is a lot more than this.

Selecting 3 months only shows this one post.

Looks like this bit is now broken..

Cheers
Dave...
by v8dave
Tue Jul 12, 2011 7:01 am
Forum: NetBurner Software
Topic: Is eTPU function calls thread safe?
Replies: 8
Views: 4473

Re: Is eTPU function calls thread safe?

Hi RG, The two tasks use different serial ports. The struct is local to each task and holds information about the serial port and Modbus state. Each function in the Modbus library uses this to handle the data. Each tasks opens it's own serial port and sets the fd for this within the struct. As you m...
by v8dave
Tue Jul 12, 2011 3:02 am
Forum: NetBurner Software
Topic: Is eTPU function calls thread safe?
Replies: 8
Views: 4473

Is eTPU function calls thread safe?

Hi all, Are the eTPU function calls thread safe???? I seem to have a crash that has started since I added an additional task that hands serial data on the eTPU. I have 1 task that uses the eTPU serial port to listen for Modbus data. As I currently have nothing attached to the COM port, the task simp...
by v8dave
Mon Jun 13, 2011 10:12 am
Forum: Off-Topic
Topic: Product confusion (sales enquiry)
Replies: 7
Views: 8691

Re: Product confusion (sales enquiry)

Hi Kevin, First of all, I assume you are the same Kevin H from UKHA and xAP? :) Up until recently I was using the Rabbit processors for my embedded designs. I liked them as they have 6 serial ports, 5 of which I can use with my own hardware and they are in circuit debuggable. They are nice and low c...
by v8dave
Tue Jun 07, 2011 8:50 pm
Forum: NetBurner Software
Topic: Creating a task from C++
Replies: 7
Views: 4660

Re: Creating a task from C++

Hi Tod,

You are a gentleman.. I used your TaskBase code and now it is working!

If you where closer by I would buy you a drink or few!! :D

Best regards
Dave...
by v8dave
Tue Jun 07, 2011 9:06 am
Forum: NetBurner Software
Topic: Creating a task from C++
Replies: 7
Views: 4660

Re: Creating a task from C++

Hi RG, The class objects are only declared as pointers and then I new them when I am ready to create them. I only create them if needed, ie, the serial port is enabled. I understand what you are saying so I could try this and see if I get rid of the error. Looking at Tod's Wiki entry it appears simi...
by v8dave
Tue Jun 07, 2011 1:05 am
Forum: NetBurner Software
Topic: Creating a task from C++
Replies: 7
Views: 4660

Creating a task from C++

Hi all, Up until now I have always done plain C with UCOS but now I have a need to create a single class to encapsulate serial port handling for 8 serial ports. As each port will be doing exactly the same function I don't want to write it 8 times so I have decided to try and use C++ classes for this...
by v8dave
Mon Jun 06, 2011 6:18 am
Forum: NetBurner's Eclipse IDE
Topic: Debugging over the internet
Replies: 1
Views: 2609

Debugging over the internet

Hi all, Is it possible to debug a netburner over the internet? If this can be done, what ports do we need redirected? I have tried 2159 but it doesn't seem to work. I have a unit in the field that I need to do some basic debugging to see what is happening on the serial ports into it. Cheers Dave...
by v8dave
Thu Apr 21, 2011 9:12 pm
Forum: NetBurner Software
Topic: Netburner Carrier Board and RTS/CTS
Replies: 19
Views: 15414

Re: Netburner Carrier Board and RTS/CTS

Hi Tod, I have just downloaded the protocol manual for your display and you can't use any writestring commands to talk to it. You need to send it binary only so you need to use a function that expects a pointer to a buffer and then a length to send. If you look at page 10 of the manual there is a co...
by v8dave
Tue Apr 19, 2011 11:03 pm
Forum: NetBurner's Eclipse IDE
Topic: Launching failed
Replies: 1
Views: 3357

Re: Launching failed

OK. I seem to have sorted it. Not sure why but the PATH environment variable was missing the NBURN paths to the compiler.

All working again!