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.

DM648 - NDK , modifying example code

Hello I working with Dm648. I am loading the ndk ( version 2.0) code “ HelloWorld” into it , which I have modified by myself. Can anyone tell me what should be the configuration , the current steeting I hve is : Switch 2: 0001011000 Switch 3: 1111010000 Switch 4: 0100 Now what I did was to change the transmitter padding, the min padding is 60 bytes : I changed it the code from this :

 if (pPkt->PktLength > 60)

 { pktlen = 60 - pPkt->PktLength; pPkt->PktLength = 60; pPktLast->ValidLen += pktlen; }

To this :

if (pPkt->PktLength > 70)

 { pktlen = 70 - pPkt->PktLength; pPkt->PktLength = 70; pPktLast->ValidLen += pktlen; }

I monitored the net traffic on wireshark , initially packets which were smaller than 60 ( lets say 42) where coverted to 60 byte packet by the board and passed to back on lan. Now when I modified the code , I hopped to see that the boards converted the smaller packets to 70 – but such a thing didn’t happened. Can anyone tell me whts wrong??? Is my bootmode wrong or ndk doesn’t take any changes. Has anyone tried the same thing? If some is working with Dm648, can you kindly do the changes I mentioned and tell me wht results u obtain. Regards Amna