Search found 29 matches

by jaypdx
Thu Sep 29, 2022 9:27 pm
Forum: NetBurner Software
Topic: Need help with crash
Replies: 7
Views: 10415

Re: Need help with crash

Mike worked with me to get this sorted out. It did require upgrading to 3.3.8 and applying the new httppost.cpp via the overload directory. For anyone needing to do this, make sure you leave MAX_HTTP_POST_VAR_VALUE_SIZE (in constants.h) set to the default value of 256.
by jaypdx
Tue Sep 20, 2022 12:58 pm
Forum: NetBurner Software
Topic: Need help with crash
Replies: 7
Views: 10415

Re: Need help with crash

Looks like I may be having the same problem as in this post:

viewtopic.php?f=5&t=3237&sid=6cc17b065c ... 2e8008caa2

The comment 'present system does not really support large individual variables.....' doesn't sound encouraging.
by jaypdx
Fri Sep 16, 2022 12:05 pm
Forum: NetBurner Software
Topic: Need help with crash
Replies: 7
Views: 10415

Re: Need help with crash

Learned some more about this. Seems like I'm running into trouble when the text I'm sending exceeds ~1500bytes. Isn't that about a standard ethernet pack size? I've simplified my code so all I do in the callback is print the pName and pValue coming from the browse. Under 1500 bytes things seem to be...
by jaypdx
Fri Sep 16, 2022 10:43 am
Forum: NetBurner Software
Topic: Need help with crash
Replies: 7
Views: 10415

Re: Need help with crash

MOD54415
tools ver 3.3.0
by jaypdx
Fri Sep 16, 2022 8:59 am
Forum: NetBurner Software
Topic: Need help with crash
Replies: 7
Views: 10415

Need help with crash

I have some code that's crashing with the below info. If posted snippets of the map file that I think shows where the Exception Frame and Faulted PC are. I think the code is in a callback for a web page when it crashes (or maybe it's already returned from the callback). I have a webform that's recei...
by jaypdx
Wed Jan 20, 2021 9:47 am
Forum: NetBurner Software
Topic: Question about reading state of GPIO output
Replies: 1
Views: 1899

Question about reading state of GPIO output

I have some GPIOs I'm using as outputs with code like this: J2[21].function(PINJ2_21_GPIO); J2[21] = 1; I'd like to be able to read the state of these pins, but if I do something like i=J2[21] they change to inputs. I'm using shadow registers to get around this, but I'd like to know if there's an ea...
by jaypdx
Sun Jan 10, 2021 8:28 pm
Forum: NetBurner Software
Topic: Question about %HI format specifier in printf, etc.
Replies: 3
Views: 2832

Re: Question about %HI format specifier in printf, etc.

My code is: IPADDR4 EthernetIP; EthernetIP = InterfaceIP(GetFirstInterface()); iprintf("IP address: %HI\n", EthernetIP); InterfaceIP(), as defined in netinterface.h, returns an IPADDR4. If I define EthernetIP as an IPADDR I get an error. All I'm trying to here is get the IP address of my e...
by jaypdx
Sat Jan 09, 2021 9:52 pm
Forum: NetBurner Software
Topic: Question about %HI format specifier in printf, etc.
Replies: 3
Views: 2832

Question about %HI format specifier in printf, etc.

I see both %I and %HI format specifiers in the Netburner sample code (i.e. examples\Ethernet\ManualConfig\src\main.cpp). When I use %HI I get a warning "use of 'H' length modifier with 'I' type character has either no effect or undefined behavior". But if I just use %I it says that's for I...
by jaypdx
Wed Dec 30, 2020 12:44 am
Forum: NetBurner's Eclipse IDE
Topic: Recommended files to ignore in version control (gitIgnore)
Replies: 6
Views: 12258

Re: Recommended files to ignore in version control (gitIgnore)

My project has some linker options (i.e. -lFatFile) that are captured in .cproject file. Don't I need to include .cproject in my repo to capture this?
by jaypdx
Mon Dec 28, 2020 1:57 pm
Forum: NetBurner Software
Topic: OSTimeDly delay time question
Replies: 2
Views: 2046

Re: OSTimeDly delay time question

Perfect... just what I needed to know.

Thx