This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6678烧录ge例程问题



您好,

         在自制板烧录ge例程。该例程已经在线验证过,可以与pc发数,wireshark能抓到发送的数据。现在要将ge例程烧录到板子的norflash里,并且成功烧录了。根据一些现象,也能判断出来程序跑到了发数的地方。但是wireshark就是抓不到数。

        后来发现网口和电脑的连接比较慢,要等近一分钟pc端才能看到已连接。所以在网口初始化之前加了一个延时,用的tsc delay ms,延时了一分钟。这样更改后,可以用wireshark抓到数。但是不稳定,有时候感觉程序在延时的地方跑飞了。

       这种情况一般有什么办法解决吗?谢谢!