Attachments are accessible only for community members.
Anonymous
Not applicable
Jun 01, 2015
12:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 01, 2015
12:17 AM
The attached is a preliminary verison of a WICED tftp module for WICED 3.3.0.
Have a look at OTA Upgrade from the Application for extra details and comments.
Regards,
Bassem
1 Reply
Anonymous
Not applicable
Jun 01, 2015
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 01, 2015
02:36 AM
Hi Bassem,
1)
libraries/daemons/tftp/tftp.c:
If the tftp server received unsupported options,
tftp_request_parse_packet() will run into endless loop.
I think this needs fix, please take a look at below while loop:
while ( str < end ) {
}
2)
apps/snip/tftp/tftp.c:
if ( strcmp( filename, "app0.elf" ) == 0 )
{
return DCT_APP0_INDEX;
}
if ( strcmp( filename, "app1.elf" ) == 0 )
{
return DCT_APP0_INDEX; //<- app0 or app1?
}
Unless I misunderstand the code, I think put app1.elf should write to DCT_APP1_INDEX.