> why did it go in exception handler?
You have a bug in your code. You need to debug it to find out what is wrong. There are so many different ways to make a mistake that causes this problem that there's no "single cause" that I could mention.
This requires a set of skills, experience and knowledge. First you have to understand how the CPU works so you can identify what is going wrong. So read through the CPU chapter in the manual a few times. Practice setting breakpoints in the debugger and single-stepping through your code. Examine the stack (the most likely cause of your problem) and understand the subroutine linkage.
Type "debug exception" into the Search Box at the top of this page and follow some of the links, specifically this one:
This post:
Re: Cause of Access Error Exception with ColdFire 52230
Links to this article:
DMA problem
> the software shows an exception error because of "Invalid operand".
What software is reporting that? Where is it reporting it, to a debug pod or on a serial port or what? Read the "Processor Exception" chapter in the Reference Manual and find out which machine exception that report is being generated by. Does the error report say what operand of which instruction?
> Facing win sock error 10038
That sounds like an error on the PC, and doesn't help at all.
Tom