Search found 14 matches

by hector
Wed Apr 18, 2012 1:22 am
Forum: NetBurner Software
Topic: AutoUpdate shutdown function pointer to member function
Replies: 1
Views: 1930

AutoUpdate shutdown function pointer to member function

Hi folks,

I'd like to implement the Autoupdate shutdown callback to be
attached to an C++ member function of a class (instead of an ordinary C function).
How can I accomplish this task without any dirty workarounds? Thanks in advance.

Greetings
by hector
Tue Apr 17, 2012 3:14 am
Forum: NetBurner Software
Topic: Software reset and initial trap occuring
Replies: 0
Views: 2371

Software reset and initial trap occuring

Hi there, lately I ran into a weird problem with a firmware I'm developing. The firmware itself is developed in object oriented C++ and uses HTTP to post a SOAP request during the bootup sequence of the control unit (in order to get its configuration from the database). In some rare cases, if I upda...
by hector
Tue Oct 25, 2011 11:42 pm
Forum: NetBurner Software
Topic: State machine design problem
Replies: 2
Views: 2401

State machine design problem

Hi guys, I'm having trouble in designing an application used to control several devices (tanning beds) connected through some relays to the control unit. I have a state machine (state pattern) for the control unit itself (the Netburner), which has different states like "Initialization", &q...
by hector
Fri Mar 04, 2011 7:56 am
Forum: NetBurner Software
Topic: I2C Timeout
Replies: 9
Views: 10329

Re: I2C Timeout

Guys, I'm going postal over here. The I2CStart/I2CSend-Calls are returning whether 0 (= I2C_OK) or 1 (= I2C_NEXT_WRITE_OK), but I'm not able to see anything going over the bus lines (via logic analyzer). I've tested the logic analyser with the old implementation (containing the fully functional old ...
by hector
Fri Mar 04, 2011 2:58 am
Forum: NetBurner Software
Topic: I2C Timeout
Replies: 9
Views: 10329

Re: I2C Timeout

You are using an address of ZERO. Is this correct? This seems very unlikely for an I2C device. Ahh, no it's not correct, my fault...The device itself has the address 0x10. The I2C is being initialized used the frequency divider of 0xE. I replaced the address in I2CStart by 0x10. Still receiving 9 a...
by hector
Thu Mar 03, 2011 11:48 pm
Forum: NetBurner Software
Topic: I2C Timeout
Replies: 9
Views: 10329

Re: I2C Timeout

You are using the i2cmaster.h version of the I2C driver, correct? Why does the initialize have two parameters, the master driver only has a single baud parameter? Neither the 0x0 or the 0xE parameter would work for the baud rate as it is too fast. If you do not include a parameter then the default ...
by hector
Thu Mar 03, 2011 6:32 am
Forum: NetBurner Software
Topic: I2C Timeout
Replies: 9
Views: 10329

Re: I2C Timeout

Is this you own custom board and if so, do you have you got PULLUPS (1K) on the bus lines? Yes, a custom board. We got the pullup resistors on the bus lines. Our main problem is the fact, that we are using the board with the 2.24 release for the first time. Our other projects were developed using t...
by hector
Wed Mar 02, 2011 11:40 pm
Forum: NetBurner Software
Topic: I2C Timeout
Replies: 9
Views: 10329

I2C Timeout

Hi Netburners, I'm currently developing a NB application that communicates with a touch display connected via I2C to the 5270 board. Unfortunately I'm not able to read/write data from/to the display. Here's my source code: int Hardware::ControlUnit::TouchDisplay::eDIPTFT43A::sendToDisplay(int length...
by hector
Wed Feb 16, 2011 11:31 pm
Forum: NetBurner's Eclipse IDE
Topic: MTTTY memory/CPU problem
Replies: 1
Views: 3329

MTTTY memory/CPU problem

Hi there, since my beginnings with the Netburner IDE I am experiencing problems during the usage of MTTTY (Eclipse and DevC++ environment). After turning it on, it starts to occupie loads of memory (>= 600 MB and counting). The CPU load reaches 99% after a short period of time. The application on my...
by hector
Tue Sep 14, 2010 1:30 am
Forum: NetBurner's Eclipse IDE
Topic: Problems transferring Dev-C++ 1.14 project to NEclipse
Replies: 11
Views: 11600

Re: Problems transferring Dev-C++ 1.14 project to NEclipse

hector, If you're willing to try an experiment and are using a 5270/72/82 family of boards. I have an example program up on the Wiki for Ajax. Grab the newer sample for AjaxII it is the link at the bottom without the folder icon. Unzip and then File->Import that into a new project. Build and load i...