Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 5 months ago.
EthernetInterface + USBMIDI together, RAM errors?
I'm trying to use the USBMIDI and EthernetInterface together. They work fine when using one at a time, but when I want to use them both together the mbed doesn't even respond.
I'm thinking of some memory problem. Now when I'm using this code snippit to show how much ram is allocated ( http://mbed.org/forum/mbed/topic/3179/?page=1#comment-16243 ) I get:
Only USBMIDI library: Main RAM: 4852 RAM0: 0 RAM1:0
When using only the EthernetInterface library: Main RAM: 8332 RAM0: 16384 RAM1: 11348
I don't see any problems, because the usbmidi library doesn't use any of the special RAM0 or RAM1. How can I fix this problem?