Sales Order No: Web Order No: Order Date: |
242789421 14270760 29-May-18 |
Sales Order No: Web Order No: Order Date: |
242789421 14270760 29-May-18 |
Hello,
I was not able to follow your link. It opens my compiler environment, but not with the project that you are linking to.
Sorry. I am not very familiar with mbed. But I found an example called mbed-os-example-blinky. I suspect it is the same as you use. I found it here.
I compiled it, and downloaded the .hex file. I tried to drag'n'drop it, but with no luck. All the LEDs remained on.
Then I used nrfjprog or nRFgo Studio, and erased the board, and programmed the .hex file via that. Then I reset the board, and it worked. Can you try to use either nRFgo Studio or nrfjprog (command line tools) with the project that I linked to? (which hopefully is the same project that you linked to.)
Best regards,
Edvin
1.I used introduction link :https://os.mbed.com/docs/v5.9/tutorials/quick-start-online.html
2. I don't have this Studio and not CL tools.I want to use high-level programming language with less code as possible. for this kind users was created Mbed and I wan't to use it. So please make it work/
I am just trying to figure out whether your issue is in the project/compiler or if it is in the upload procedure.
Can you try to power cycle the DK after uploading the .hex file using drag'n'drop?
nRFgo Studio is a quite easy-to-use, and self explaining application.
Best regards,
Edvin
I told it many times that I know it and it work. Examples I tried with SEGGER Embedded Studio worked.
Problem in code that generated by online compiler. Nordic + ARMbed need to solve this problem.
I guess that the nRF52840 platform is not working yet. If you compile the project that you linked with this main.cpp:
#include "mbed.h" DigitalOut led1(P0_13); //LED1 = 13 on nRF52840 DK // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(0.5); } }
And use the nRF52DK as platform, it works.
After uploading the binary, you have to power cycle the board(!) not just the reset button.
I know that this is not ideal. But I have no better solution, until a stable version of the nRF52840 platform is released on mbed.
Best regards,
Edvin