Finaly it's seem to be a RAM allocation problem, as said by Technoman. When I reduce some buffers size, it's working ok. The thing is the .map file is telling me that I'm using about 25 KBytes of memory, when the MCF52235 is suppose to have 32 KBytes of RAM, and I'm not using dynamic allocation of memory.
# Memory map:
v_addr p_addr size name
00000000 00000000 00000000 .vectorrom vectorrom
00000000 00000000 00000418 .vectors vectorrom
00000500 00000500 00000000 .code code
00000500 00000500 000295F8 .text code
20000000 20000000 00000000 .vectorram vectorram
20000400 20000400 00000000 .userram userram
20000400 00029AF8 000009FC .data userram
20000DFC 20000DFC 00005A04 .bss userram
20006800 20006800 00000000 .custom userram
20006800 0002A4F4 00000018 .romp userram
Fred Talbot
Message Edited by CrasyCat on
2007-12-05 04:33 PM