Page 1 of 1

[nRF52832] REPL UART is not shown up

Posted: Fri Mar 08, 2019 5:36 am
by lnsri22
Hello Everyone!!

After building the firmware successfully for nrf port , I could not see a REPL uart that is thrown by the device.

What could be the possible cause?

FYI

The command I'm issuing to make is

Code: Select all

make BOARD=pca10040 SD=s132 flash FROZEN_MPY_DIR=freeze

Re: [nRF52832] REPL UART is not shown up

Posted: Mon Mar 11, 2019 9:25 pm
by c45713
Have you enabled the MICROPY_PY_BLE_NUS (1) in bluetooth_conf.h by mistake?
If so, this will route all UART REPL to BLE UART Service.

Re: [nRF52832] REPL UART is not shown up

Posted: Thu Mar 14, 2019 5:26 am
by lnsri22
Hello c45713,

Thank you so much for the quick reply there!!

I have not enabled it in the config file.

Tried to attach a screenshot. But could not do due to technical problem with uploading attachment

Re: [nRF52832] REPL UART is not shown up

Posted: Fri Mar 15, 2019 9:47 pm
by c45713
I have not enabled it in the config file.
Great. Then that is not an issue.

Could you make sure that you are starting fresh on the pca10040 by issuing the following sequence:

Code: Select all

nrfjprog --eraseall -f nrf52
make BOARD=pca10040 SD=s132 clean
make BOARD=pca10040 SD=s132 
make BOARD=pca10040 SD=s132 sd
make BOARD=pca10040 SD=s132 flash 
Does this work any better?

Re: [nRF52832] REPL UART is not shown up

Posted: Tue Mar 19, 2019 5:05 am
by lnsri22
Thanks again c45713!!

Let me give it a try and update you!!

Re: [nRF52832] REPL UART is not shown up

Posted: Fri Aug 16, 2019 4:45 pm
by knowic
Hello, sir,

Have you get your issue fixed now? I have the same questions.

thanks .
Jason Hu