i m working with fds using segger, i'm trying to perform read and write functions and printing on putty. it showing no errors on building while debuging no output is displaying on putty
i m working with fds using segger, i'm trying to perform read and write functions and printing on putty. it showing no errors on building while debuging no output is displaying on putty
Have you turned on printing in the sdk_config.h file?:
#define NRF_LOG_ENABLED 1 #define NRF_LOG_BACKEND_RTT_ENABLED 1
Also are you using development kit?
both the defines are enabled. still no change
Did you enable fds_register before initializing?
fds_register(fds_evt_handler); //Register event handler of FDS and will show notifications on log, not required for production rc = fds_init(); //Initializing FDS APP_ERROR_CHECK(rc);
yes i done that
see i defined a read and write function in .c file and included its header in .h file
i called those functions after the "wait_for_fds_ready();" and before "cli_start();"
then i start debuging i'm getting blank screen on putty
in sdk_config.h set this:
#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
Also you are using the fds example or a custom code?
yes i made to 0 no change in output
custom code
custom code
Also your not getting anything in the SES while debugging either?
do another thing, remove wait_for_fds_ready() and put a delay of 300ms for example
Also do have a look at this link:
https://devzone.nordicsemi.com/f/nordic-q-a/49508/receiving-bad-output-in-putty-console
So did you get to the root of the problem?
yaa thank you Ameer usman
some files are crashed on sdk. i placed those files and now its working fine.