This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 Flash_fds example

Hi, 

I am using nRF52832 mcu, trying to run the flash data storage example but is having some trouble.

I followed the instructions to set up the terminal setting for UART using PuTTY, but nothing happens when I click on OPEN. I am using the newest version for PuTTY. Is there any setting that I might also have to change other than those specified in the instructions?

Thank you!

  • Hi,

    Are you using the nRF52 DK?

    Which one of the examples are you using (blank or s132)? Note that if you use the s132 version you need to program the s132 SoftDevice as well. This is done automatically from SES when using a SES project, but if you use other toolchains or program manually using e.g. nrfjprog then you must make sure to program both application and SoftDevice.

    In putty, did you set both "Terminal settings" and "UART and USB settings"?

    In the project, is it configured to use UART for CLI (in sdk_config.h)? (Settings should be good if unmodified example from SDK.)

    Note also that you need to select the correct serial line in PuTTY, e.g. the correct COM port. (One easy way to figure out what is the correct COM port is to use the nRF Connect BLE app, as it will list available devices under "Select device" with PCA number and serial port.

    Regards,
    Terje

  • Thank you for your response. I am using the nRF52832 DK. I have tried both blank and s132, and I am flash directly through the SES software.

    I have also ensured that these settings in sdk_config.h are set to ON. 

    #ifndef UART_ENABLED
    #define UART_ENABLED 1
    #endif
    
    
    #ifndef NRF_CLI_UART_ENABLED
    #define NRF_CLI_UART_ENABLED 1
    #endif
    
    
    #ifndef NRF_CLI_ENABLED
    #define NRF_CLI_ENABLED 1
    #endif

    I managed to open the terminal changing to the correct com port. However, I did not get a menu in the console, as described in https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Ffds_example.html. Instead I have a blank screen.

  • Hi,

    Following the "Testing" description for the example, and making sure I fill all the correct terminal settings, I do get a blank screen in the terminal as well after pressing "Open" in Putty.

    The reason is the DK application had already run for a while, so it had already printed out the menu, before I connected from PuTTY.

    After resetting the DK by pressing the IF BOOT/RESET button, the application restarts and I get the menu printed in the PuTTY terminal.

    Does it work after a DK reset for you as well?

    Please also check that you choose the "Serial" option under the Session configuration category in Putty, and double check that Serial line and Speed are correct. For me it was COM57, and so it looks like this:

    Regards,
    Terje

  • Hi Terje,

    Thank you for your response. Yes, I have chosen "Serial" under connection type, ensured that my Serial line is correct and the baud rate is set to 115200.

    After a DK reset, only a letter 'f' showed up on the screen. I tried doing the DK reset multiple times with both blank and s132, and the same thing happens each time.

  • Hi,

    Just to be clear, you are now back at testing the unmodified example right from the SDK?

    Can you share screenshots of the other pages in PuTTY Configuration as well, in case there is anything we have missed?

    Regards,
    Terje

Related