Search found 16 matches

by stevep
Mon Nov 08, 2010 10:26 am
Forum: NetBurner Software
Topic: Turned on Watchdog, How to turn off
Replies: 6
Views: 5522

Re: Turned on Watchdog, How to turn off

You should be able to disable it from code too, something like this:

Code: Select all

ConfigRecord new_rec;
memcpy(&new_rec, &gConfigRec, sizeof(new_rec));
if (new_rec.m_Flags == 1) // if watchdog enabled
{
	new_rec.m_Flags = 0; // WD disable
	UpdateConfigRecord(&new_rec);
	ForceReboot();
}
by stevep
Wed Oct 13, 2010 6:40 am
Forum: NetBurner Software
Topic: CAN FIFO CB34EX
Replies: 9
Views: 7276

Re: CAN FIFO CB34EX

The CAN bus read should go in the main loop so that every time you loop through, you check for new CAN messages. If you get a new message, store the data you need in a variable.

When the web page refreshes, read the current value from the variable, not directly from the FIFO.
by stevep
Mon Apr 26, 2010 6:06 am
Forum: NetBurner's Eclipse IDE
Topic: NBEclipse won't start
Replies: 4
Views: 5879

Re: NBEclipse won't start

Check the JAVA_HOME environment variable to make sure it is correct. In your case it looks like it should be "C:\Program Files\Java\jre6".
by stevep
Mon Apr 05, 2010 6:13 am
Forum: NetBurner Software
Topic: Virtual COM Port
Replies: 4
Views: 5951

Re: Virtual COM Port

I have used a virtual serial port device from Eterlogic, it is free for any use and has worked well for me.

Eterlogic:
http://www.eterlogic.com/Products.VSPE.html
by stevep
Wed Jun 24, 2009 8:05 am
Forum: NetBurner's Eclipse IDE
Topic: GNU make conflicts with another make program
Replies: 1
Views: 3510

Re: GNU make conflicts with another make program

I had the same problem, you can fix it by changing your PATH environment variable so that the NetBurner entries come before the Borland entries. Especially make sure that "C:\Nburn\gcc-m68k\bin;C:\Nburn\gcc-m68k\msys\1.0\bin;" comes before "C:\PROGRA~1\Borland\CBUILD~1\Bin;".
by stevep
Tue May 26, 2009 4:45 am
Forum: NetBurner Hardware
Topic: Sharing data between modules: switch req'd or other ways?
Replies: 11
Views: 10715

Re: Sharing data between modules: switch req'd or other ways?

I have used Micrel Ethernet switches in my designs, they have worked well and Micrel has good documentation and support.

http://www.micrel.com/page.do?page=prod ... her_sw.jsp
by stevep
Tue May 12, 2009 9:13 am
Forum: NetBurner Software
Topic: Save User Params Question
Replies: 3
Views: 3550

Re: Save User Params Question

The second .cpp file can't get to the structure definition. Try moving the definition to the header and then #include it in the second .cpp.
by stevep
Tue May 12, 2009 8:54 am
Forum: NetBurner Software
Topic: Save User Params Question
Replies: 3
Views: 3550

Re: Save User Params Question

Declare pData as extern in the other cpp files where you want to access it.

Code: Select all

extern NV_SettingsStruct *pData;
by stevep
Thu May 07, 2009 9:48 am
Forum: NetBurner Hardware
Topic: Setting Watchdog From Code
Replies: 6
Views: 6239

Setting Watchdog From Code

I have been trying to enable the watchdog timer on a CB34EX, from code, and I can't get it to work. I can enable/disable the watchdog with the monitor, just not from code. The posts about the watchdog timer module, here and at the Yahoo site, seem to indicate that watchdog cannot be enabled through ...