First, let me say hello! I'm new to the world of highly embedded, powerful microprocessors, and am exited to use a tool like uTasker to discover it.
I'm running the tutorial for the LM3Sxxxx parts. Everything is going well, but I ran into a hitch with the simulator. Basically, it works, and I can ping, http, and FTP to the simulator, but when I do an FTP "dir" command, it crashes with the following error:
When I hit "break", it takes me to the line with the "while" loop in the following code:
static USER_FILE *fnNextUserFile(USER_FILE *ptrFiles, MAX_FILE_LENGTH *FileLength, unsigned char *ucMimeType)
{
while ((ptrFiles != 0) && (ptrFiles->fileName != 0)) {
if (ptrFiles->ucProperties & FILE_INVISIBLE) {
ptrFiles++; // jump the invisible file
continue;
}
*FileLength = ptrFiles->file_length;
*ucMimeType = ptrFiles->ucMimeType;
return ptrFiles;
}
return 0; // no more user files
}
Any ideas? I took out the "dir" statements from the file referenced to by the .bat file, but I'd like to trace this problem.