Search found 80 matches
- Thu Sep 29, 2011 7:59 pm
- Forum: NetBurner Software
- Topic: EFFS-AppUpdate example doesn't work on PK70
- Replies: 0
- Views: 1918
EFFS-AppUpdate example doesn't work on PK70
I tried the example in \nburn\examples\EFFS\EFFS-AppUpdate on a MOD5270 and it works great. Same application on a PK70 doesn't work. It displays the message "Starting" and that's it. I did some additional diagnostics to see what was going on, and I found that inside the UpdateFromFat() fun...
- Sun Sep 25, 2011 7:55 pm
- Forum: NetBurner Software
- Topic: How to parse lines of serial data?
- Replies: 6
- Views: 5445
Re: How to parse lines of serial data?
In case someone searches for this topic in the future, here is a more complete example. This uses the PK70 with quad RS232 serial card, so I have 4 ports to monitor and buffer data on until a carriage return shows up. #include <stdio.h> #include <string.h> #include <startnet.h> #include <tcp.h> #inc...
- Fri Sep 23, 2011 6:42 am
- Forum: NetBurner Software
- Topic: How to parse lines of serial data?
- Replies: 6
- Views: 5445
Re: How to parse lines of serial data?
In case anyone else tries to use strings, you have to add the following lines at the top of the file: #include <string> using namespace std; And then my system was throwing a "unresolved inclusion string" message. To resolve that I had to add another directory to the list of includes. Righ...
- Fri Sep 23, 2011 5:50 am
- Forum: NetBurner Software
- Topic: How to parse lines of serial data?
- Replies: 6
- Views: 5445
Re: How to parse lines of serial data?
Oh, I like the C++ option. I'll try that out.
Thanks,
Lance
Thanks,
Lance
- Thu Sep 22, 2011 9:20 pm
- Forum: NetBurner Software
- Topic: How to parse lines of serial data?
- Replies: 6
- Views: 5445
How to parse lines of serial data?
I have found examples of how to read serial data and work with it character-by-character, but I'm looking to parse or split the data in larger chunks. Specifically, the incoming data will be messages delimited by a carriage return. I want to split the data at the carriage returns, and then within th...
- Sun Sep 18, 2011 8:27 pm
- Forum: Application Notes and Design Ideas
- Topic: PK70 Status LEDs
- Replies: 0
- Views: 6647
PK70 Status LEDs
The standard method of controlling the two LEDs on the PK70 is to use the putleds() function. Since the state of both LEDs are set at the same time when running that function, if you only want to change the state of one of the LEDs, you will have to remember how you last set the other LED. I wrote t...
- Sun Sep 18, 2011 7:56 pm
- Forum: NetBurner's Eclipse IDE
- Topic: Can't scan for device when Netburner is connected to Linksys
- Replies: 0
- Views: 2689
Can't scan for device when Netburner is connected to Linksys
I have a Windows 7 x64 PC with NBEclipse 2.5.2 that is connected directly to a Linksys WRT54G2 running the DDWRT firmware. If I connect a PK70 Netburner directly to the Linksys, I can ping it, and I can do an auto-update, but when I scan for Netburner devices on the network, it doesn't show up. If I...
- Tue Jul 26, 2011 8:29 pm
- Forum: NetBurner Software
- Topic: EFFS from multiple tasks
- Replies: 5
- Views: 3500
Re: EFFS from multiple tasks
Thanks everyone. I had tried to run InitExtFlash() in my second task, but it was aborting when f_mountfat() tried to run a second time, so it wasn't getting to the f_chdrive() part. Now that I added f_chdrive() by itself, I can access files in more than one task.
-Lance
-Lance
- Sun Jul 24, 2011 9:50 pm
- Forum: NetBurner Software
- Topic: EFFS from multiple tasks
- Replies: 5
- Views: 3500
EFFS from multiple tasks
Greetings. I'm having trouble figuring out how to make external flash work on my MOD5270. Here is the relevant code: in the main.cpp file: void UserMain(void *pd) { OSChangePrio(MAIN_PRIO); f_enterFS(); InitExtFlash(); f_releaseFS(); StartDHCPServer(); while (1) { OSTimeDly(TICKS_PER_SECOND); } } in...
- Tue Jan 19, 2010 7:00 pm
- Forum: NetBurner Software
- Topic: DHCP Server Service?
- Replies: 5
- Views: 3751
DHCP Server Service?
Greetings everyone. I would like to have a netburner function as a DHCP server. I'm curious if there is any DHCP server example code?
I have a Mod5270 development kit, if that is relevant.
I have a Mod5270 development kit, if that is relevant.