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, 2 months ago. This question has been closed. Reason: Off Topic
Build system API returned an empty response -240
I was porting Erik's serial bootloader for the KL05 when I encountered a compiler error I haven't seen before.
"Build system API returned an empty response" with an Error code -240
I found two rather odd things. First if I change the target from KL05 to say KL25 the error goes away and the code compiles. Second for whatever reason the KL05 does not have UART_S1_RDRF_MASK & UART_S1_TDRE_MASK defined like the KL25 or KL64F. Instead the address is defined as UART0_S1_RDRF_MASK or UARTLP_S1_RDRF_MASK. However it still points to the same exact place 0x20u. The code wont compile without that defined but as soon as I define it I get the empty response error.
A fork of Erik Olieman's bootloader for the KL05Z32. The bootloader is placed in the 29th sector allowing for 28kB of program memory. The 32nd sector is left empty after the bootloader to allow for use of the non volatile storage without the risk of overwriting it during serial firmware update.