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, 8 months ago.
The .bin file from mbed compiler Stopped working
Hi,
I have a strange issue here. I was using the mbed compiler for generating binary for mtdot 915 from Multitech. Everything was working fine till an hour ago. Suddenly the .bins generated from the compiler is not running on the board. I flashed a previously compiled .bin to the board and that is working fine. To check if the problem is with my code, I imported a sample code, fresh from the source and built it without any change. It is compiling and the .bin is downloading. But the code is not running on the board.
2 Answers
5 years, 8 months ago.
Same issue here on NRF52.
Stopped working this morning.
No, still waiting for word from mbed. Ralph has escalated it.
What mcu are you using? if its NRF52832 I have found the following results in a working build, well at least a blinky.....
Change Mbed-os revision to 51d55508e8 and add the following to your app.json
"target_overrides": { "*": { "platform.stdio-flush-at-exit": false, "platform.stdio-baud-rate": 115200, "platform.stack-stats-enabled": false, "platform.heap-stats-enabled": false, "platform.cpu-stats-enabled": false, "platform.thread-stats-enabled": false, "platform.sys-stats-enabled": false }, "NRF52_DK": { "target.OUTPUT_EXT": "bin", "target.uart_hwfc": 0, "target.device_has_add": ["LOWPOWERTIMER"], "target.macros_add": ["MBED_TICKLESS"], "target.features_add": ["BLE"], "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"], "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S132_FULL", "NORDIC_SOFTDEVICE"] } }
posted by 28 Mar 20195 years, 8 months ago.
I have been using a Nordic nrf51-DK and having the same issue since yesterday. All of a sudden a project I was testing, the hex files shrunk from 353kb to 58kb, with no change made in the code, when I compiled them. This would make me believe something isn't being included during the compile.
yeah soft device is missing,...
https://github.com/ARMmbed/mbed-os/issues/10247
posted by 28 Mar 2019
A fix was recently pushed out to remedy build failures for "unconventional" projects that couldn't be detected as needed to be built with Arm Compiler 5 instead of Arm Compiler 6 (which is now the default). Are you still having build problems? If so, please publish your project so we can see what the issue is. We see many limitations in the libraries published by Multi-Tech here: https://os.mbed.com/teams/MultiTech/code/Dot-Examples/.
posted by Ralph Fulchiero 28 Mar 2019Still not working for NRF52-dk :(
posted by Ben S 28 Mar 2019Not working for MTDOT, looks like the bootloader is missing. A minimal application is <40K where the bootloader is expected to take 64K of the image.
posted by Jason Reiss 28 Mar 2019It is not working for me.. I have published the code https://ide.mbed.com/compiler/#nav:/fota-example;
posted by Ison Thomas 28 Mar 2019