mbed: HardFault Error when accessing SD-Card after building up network connection
up vote
1
down vote
favorite
I want to combine a HTTP-Client and a SD-Card-Reader. My goal is to download a file from a server and save that file on the SD-Card. Unfortunately Im stuck on the way, because of an Hard Fault 0x80FF013D. I haven broken down the code and recognized in summary: network communication (GET-command) works fine solo SD-Card access (read and write) works fine solo SD-Card access works fine before building up the network connection Hard Fault occures, when I access the SD-Card after building up the network connection Core-Infos: OS: MBED OS5 IDE: MBED CLI v1.8.2 MC: NUCLEO-F746ZG SD-Card Reader: CATALEX MicroSD Card Adapter with Transcend 2GB microSD (FAT formatted) Libraries: mbed-os https://github.com/ARMmbed/mbed-os/#e1bea44212b8275f7d8ce7253e758c2e25c57482 sd-driver https://github.co