Search found 45 matches

by c45713
Sat Nov 03, 2018 12:12 am
Forum: Other Boards
Topic: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?
Replies: 7
Views: 1589

Re: [nRF52] How do I increase the amount of flash allocated to micropython's micro file system?

In order to scale the size set of for internal file system you can add a custom linker script like for microbit: https://github.com/micropython/micropython/blob/master/ports/nrf/boards/microbit/custom_nrf51822_s110_microbit.ld Point to your custom linker script holding the size you want to override ...
by c45713
Thu Oct 18, 2018 3:52 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: [nRF5x] How to connect using WebBluetooth REPL?

BTW: is there a possibility to have some sort of security on the Bluetooth REPL? It should be possible. The only thing i have done on security so far is to add some pairing to the central in order to get a BLE keyboard connected to a central and print out the characters received from it. https://gi...
by c45713
Wed Oct 17, 2018 8:32 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: [nRF5x] How to connect using WebBluetooth REPL?

I believe i see the problem here. If I run the configuration you attached, it turns out that the BLUETOOTH_WEBBLUETOOTH_REPL has to be set to 0. This flag is used to alternate the advertisment packet between normal advertisment ("micr") and Eddystone URL (https://goo.gl/F7fZ69 => https://aykevl.nl/a...
by c45713
Mon Oct 15, 2018 10:43 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: How to connect with Bluetooth REPL using nRF UART app?

Attached a hex file generated from yesterday's master (my last sync with mainline). I have verified that this hex file works with my chromium-browser. firmware.zip You can flash this application on top of your flashed SoftDevice ("make BOARD=pca10040 SD=s132 sd"). Issue the following command which w...
by c45713
Mon Oct 15, 2018 9:43 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: How to connect with Bluetooth REPL using nRF UART app?

I believe i managed to reproduce your issue. #1. Create one connection using nus_console which works. Terminate the connection using "CTRL+C". #2. Power toggle the device. #3. Reconnect using chrome, connection is established. Now, in my chromium-browser, the input-prompt looks activated, but no cha...
by c45713
Mon Oct 15, 2018 9:13 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: How to connect with Bluetooth REPL using nRF UART app?

Who wrote the entry on micropython github for nrf the port? Who is doing the development? Is it all done by glennrub? Is he the one to ask about this? You are already talking to me (glennrub). When you refer to nrf52832-dk, do you mean pca10040? If so i can provide a hex file that works for me, jus...
by c45713
Sun Oct 14, 2018 8:35 am
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: How to connect with Bluetooth REPL using nRF UART app?

Just to confirm, did you enable the Chrome flag "Experimental Web Platform features" in chrome://flags?
by c45713
Thu Oct 11, 2018 8:48 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5721

Re: How to connect with Bluetooth REPL using nRF UART app?

I cannot see any error in your bluetooth_conf.h. The device name advertised should be "mpus". Can you see this when scanning for BLE device using a PC or other scanner app? Also, make sure that you also flash the SoftDevice before "make flash", by issuing "make sd", else the app will not run at all....
by c45713
Thu Aug 30, 2018 9:14 pm
Forum: Other Boards
Topic: [nfr52] battery level
Replies: 2
Views: 1023

Re: [nfr52] battery level

I took a look at this. I also get very strange results on the nrf52 when BLE is enabled. My value is reported to be 0x30 = 48% on coincell using the pca10040. I used the following code for testing: from machine import RTCounter, ADC from ubluepy import Service, Characteristic, UUID, Peripheral, cons...
by c45713
Sat Aug 11, 2018 7:41 pm
Forum: Other Boards
Topic: [nrf52]
Replies: 2
Views: 554

Re: [nrf52]

I'm not sure of your use-case, but if you are thinking of running the SD without LF XTAL, you could try running it with RC. This can be achived by adding the CFLAGS += -DBLUETOOTH_LFCLK_RC in the mpconfigboard.mk For inspiration this is a similar configuration: https://github.com/micropython/micropy...