Search found 13 matches
- Thu Feb 02, 2012 7:57 am
- Forum: NetBurner Software
- Topic: broke boot monitor
- Replies: 3
- Views: 4391
Re: broke boot monitor
Any solution to this problem yet?
- Tue Jan 17, 2012 9:00 am
- Forum: NetBurner Software
- Topic: Serving Watchdog while updating
- Replies: 3
- Views: 4893
Serving Watchdog while updating
Is there a way to service the watchdog, or prevent the watchdog from timing out while using the function ReadS19ApplicationCodeFromStream(int fd) to update the netburner? Using the following code allows the AutoUpdate to function without the watchdog timing out:
watchdog_service_function ...
watchdog_service_function ...
- Wed Nov 23, 2011 1:55 pm
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
Had my aha moment. Thank you all for your responses!
- Wed Nov 23, 2011 1:28 pm
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
I am running on the SB70LC and have allocated memory range: FFC30000 to FFC80000 for the file system.
- Wed Nov 23, 2011 1:24 pm
- Forum: NetBurner Software
- Topic: EFFS question
- Replies: 1
- Views: 2208
EFFS question
Is it possible to write a file from a PC to the SB70LC's file system as part of updating the netburner using AutoUpdate? When flashing the device, I would like to load the file into the file system rather than download the file from an FTP site for testing purposes.
- Tue Nov 22, 2011 1:31 pm
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
Oops I forgot to include that part of my code in the post... I do call that function after trying to read the file descriptor.
close(fd);
rv = FTPGetCommandResult( ftp, tmp_resultbuff, 255, 5 * TICKS_PER_SECOND );
if ( rv != 226 )
{
sprintf(buffer,"\n\r1Error Command result = %d %s\r\n",rv,tmp ...
close(fd);
rv = FTPGetCommandResult( ftp, tmp_resultbuff, 255, 5 * TICKS_PER_SECOND );
if ( rv != 226 )
{
sprintf(buffer,"\n\r1Error Command result = %d %s\r\n",rv,tmp ...
- Tue Nov 22, 2011 12:12 pm
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
I still can't quite figure out why the read returns -1. I'm using code copied directly from the EFFS-STD-HTTP example. The GetFileFromClient() function does almost exactly what i want to do except in my case, the Netburner is acting as the FTP client and receiving a file from an FTP server. Here is ...
- Mon Nov 21, 2011 6:55 am
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
Thanks for the response.
What I am trying to read with ReadWithTimeout() is the file descriptor returned from the FTPGetFile function. After reading that into a buffer, I will then write it to a file in the file system using fs_write. I'm assuming this is the easiest way to get a file from an FTP ...
What I am trying to read with ReadWithTimeout() is the file descriptor returned from the FTPGetFile function. After reading that into a buffer, I will then write it to a file in the file system using fs_write. I'm assuming this is the easiest way to get a file from an FTP ...
- Fri Nov 18, 2011 11:05 am
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
Update:
I have been taking the following steps to find a possible solution:
1. Establish FTP connection and use FTPGetFile to get file from FTP server.
2. In order to read returned FD from FTPGetFile, I use a similar function to that of FTPD_GetFileFromClient from ftp_f.cpp in example EFFS-STD ...
I have been taking the following steps to find a possible solution:
1. Establish FTP connection and use FTPGetFile to get file from FTP server.
2. In order to read returned FD from FTPGetFile, I use a similar function to that of FTPD_GetFileFromClient from ftp_f.cpp in example EFFS-STD ...
- Wed Nov 16, 2011 12:54 pm
- Forum: NetBurner Software
- Topic: FTP Get File help
- Replies: 15
- Views: 15948
Re: FTP Get File help
My apologies for not responding earlier. I am running a custom program with FTP client functionality. I was able to fix the problems I was receiving with the error codes. I have hit another bump in the road. I can download the bin file to the netburner but now I would like to save it to the on board ...