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.
9 years, 3 months ago.
mbed tools - How to run smoke test
Hi, I'm trying to run smoke test on nrf51 DK as suggested: python workspace_tools\make.py -t GCC_ARM -m NRF51822 -d G:\ -s COM43 -p 0
I don't get any response. I checked with logic analyzer that board is sending expected string. My suspicion is that there is no synchronization of framework with the board. After hex file is copied into mbed drive it executes the basic test, sends the data but python framework is still sleeping (line 256: sleep(target.program_cycle_s())). If I add long delay to the test then i get expected output.
Where did I made a mistake.
BTW basic.cpp content from repo does not correspond with 'smoke test' section in porting guide: https://developer.mbed.org/handbook/mbed-SDK-porting