I get a hardfault ( unaligned ) using an app based on combining 1024 samples lwip_httpsrv_freertos and host_msd_fatfs_freertos. Newbie attempt on 1024 eval board.
Deviations from the samples:
1) heap4 model , ucHeap
2) No off chip RAM used; 192K DTC used
3) code added to align ( 8 ) the source for memcpy in ENET_SendFrame() . This can avoid the hardfault here but same issue arises elsewhere.
4) xTaskCreate(USB_HostTask) and xTaskCreate(USB_HostApplicationTask) both commented out.
Symptom: Enet runs fine unless I invoke this function within USB_HostApplicationInit:
status = USB_HostInit(CONTROLLER_ID, &g_HostHandle, USB_HostEvent); // <== Problematic?
Would highly welcome questions, feedback on specific issues, and general input as to how to debug and/or fix this. Attached are linker, memory and hardfault screenshots. Thanks, dB