Author Topic: FTP web pages download bugs with CodeWarrior 7.1  (Read 13367 times)

Offline fcereja

  • Newbie
  • *
  • Posts: 13
    • View Profile
FTP web pages download bugs with CodeWarrior 7.1
« on: February 25, 2011, 10:46:33 AM »
Hi Mark,

after recompilation with CodeWarrior 7.1 (7.1.2 Patch, Build 11) of a well working µTasker V1.3 project, the new version works well but I was unable to download web pages with ftp. I checked with Wireshark the differences between the two versions. With the new version, the file is tansmitted, the ftp server acknowledges each segment but at the end of the file, it doesn't  send the final FIN, ACK and the transfer hangs.
I tried with several ftp clients and the behaviour remains always the same.

The comparison of the memory maps of the two versions, with same optimizations parameters, shows that the generated code is a little smaller : 512 bytes / approx. 64K.

Do you already have information about this issue?

Best regards
Francis


Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
Re: FTP web pages download bugs with CodeWarrior 7.1
« Reply #1 on: February 25, 2011, 01:43:48 PM »
Hi Francis

There are several reports of problems with 7.1.2 - see http://www.utasker.com/forum/index.php?topic=659.0

Probably the workaround there will help.

Regards

Mark

Offline emussini

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: FTP web pages download bugs with CodeWarrior 7.1
« Reply #2 on: February 26, 2011, 10:55:50 PM »
Hi Francis, I just run into that problem yesterday. Look int tcp.c for

//#define _WORKAROUND_CW_7_1_2.

Just remove the comment and recompile. Web pages will download with no problem.

Good luck

Elio