It is possible to write your question in english?
If google understand you right, than it looks not bad what you have changed.
Your adaption reduce the max. available memory for buffers allocated by
CyU3PDmaBufferAlloc or CyU3PMemAlloc. If your application tries to use
more than the available memory this functions return a "zero" pointer, what may
cause your boot problem.
Thanks for the answer!
I got the answer by FAE.But thank you all th same!