Hello,<br><br>when downgrading from rtems 4.8.0 to rtems 4.6.6 I found that the "hello world" example in real hardware with ERC32 bsp fails at startup when executing the function RTEMS_Malloc_Initialize( heap_start, heap_size, use_sbrk ).<br>
<br>The line that fails is the memset() call.<br><br>if (!starting_address) {<br> if ( rtems_cpu_configuration_get_do_zero_of_workspace() )<br> memset( starting_address, 0, length ); /* <= error */<br> <br>I believe this error is caused because <starting_address> and <length> have invalid values:<br>
<br>(gdb) x starting_address <br>0x2015e48: 0x00000000<br><br>(gdb) x length <br>0x3d6c20: 0xffffffff<br><br>but not sure about this.<br><br>I tried to identify the changes between ERC32 BSP in RTEMS 4.8.0 (in which hello world example works ok) and RTEMS 4.6.6, but I'm not succeeding to understand the full startup project.<br>
<br>I'm aware 4.6.6 is no longer being supported, but any tip on what to look for would be really appreciated.<br><br>Thanks in advance,<br><br>Nicolás Horro<br>