Search found 38 matches

by c45713
Fri Nov 01, 2019 9:34 am
Forum: Other Boards
Topic: nRF52840 USB_CDC and BLE
Replies: 5
Views: 164

Re: nRF52840 USB_CDC and BLE

It is a bit hard to tell what is going wrong here. Which revision of the board do you happen to have? You can also try the manual steps, just to make 100% sure you are flashing the correct files: nrfjprog --program drivers/bluetooth/s140_nrf52_6.1.1/s140_nrf52_6.1.1_softdevice.hex --sectorerase -f n...
by c45713
Fri Nov 01, 2019 6:40 am
Forum: Other Boards
Topic: nRF52840 USB_CDC and BLE
Replies: 5
Views: 164

Re: nRF52840 USB_CDC and BLE

Hi wrickert, I used the pca10056 board when developing the PR for the pca10059. You are correct, the only change needed to get it spinning is to add `#define MICROPY_HW_USB_CDC (1)` in the mpconfigboard.h to make it use USB CDC instead of regular Segger UART. Next i do the following: make BOARD=pca1...
by c45713
Mon Oct 21, 2019 5:34 pm
Forum: Other Boards
Topic: Questions about the nRF port
Replies: 5
Views: 323

Re: Questions about the nRF port

Hi Sebi, I am talking to Glenn Rub right? Yes =) How to enable successfully the FAT file system? It's definitely possible to use FatFS on the internal flash. However, we discovered that FatFS on internal flash had substantial overhead in terms of space of partition/file table and kind of bad utiliza...
by c45713
Sat Oct 05, 2019 7:00 pm
Forum: Other Boards
Topic: Questions about the nRF port
Replies: 5
Views: 323

Re: Questions about the nRF port

Hi Sebi, I'm using MICROPY_FATFS very often with the nrf-port together with SD cards, specially if the internal storage of microbitfs is a bit to small for for my usecase, or if i want to have a way to swap out large set of scripts without freezing them. nrf port sample on mounting hard-soldered SD ...
by c45713
Sat Oct 05, 2019 6:24 pm
Forum: Other Boards
Topic: ubluepy central example
Replies: 2
Views: 165

Re: ubluepy central example

Assuming you are looking for an example with a Central GATT client and Peripheral GATT server, you are very close. :) If you look in ports/nrf/examples/powerup.py there is a full example of a remote control for the PowerUp3.0 acting as a Central GATT client. In case you require bonding in Central, t...
by c45713
Mon Sep 16, 2019 6:19 am
Forum: Other Boards
Topic: nRF52832 DK compile and link errors
Replies: 9
Views: 312

Re: nRF52832 DK compile and link errors

Did you also flash the SoftDevice? Else it will not be able to hit the application firmware, it needs the SoftDevice to jump to the application in case of SD=s132.

Code: Select all

make BOARD=pca10040 SD=s132 sd
by c45713
Fri Mar 29, 2019 1:21 pm
Forum: Other Boards
Topic: where is the firmware for nrf52832
Replies: 1
Views: 310

Re: where is the firmware for nrf52832

There are no pre-built images for nrf-port targets as per today. However, if you want i can create one for you. If you can just reply to me from the checklist below, i can compile one for you: * Do you want from latest master, or from 1.10 tag? * Which target board do you want it compiled for? * Wit...
by c45713
Fri Mar 15, 2019 9:47 pm
Forum: Other Boards
Topic: [nRF52832] REPL UART is not shown up
Replies: 5
Views: 550

Re: [nRF52832] REPL UART is not shown up

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: nrfjprog --eraseall -f nrf52 make BOARD=pca10040 SD=s132 clean make BOARD=pca10040 SD=s132 make BOARD=pca10040 SD=s132 sd ma...
by c45713
Wed Mar 13, 2019 8:22 pm
Forum: Other Boards
Topic: [nRF52840] UART service advertising error.
Replies: 1
Views: 278

Re: [nRF52840] UART service advertising error.

As a starter, could you try out a patch for the iOS connection, to see if this solves the issue? I have not done a PR of this yet, as i do not have a recent version of iPhone/iPad to test it out on myself in order to verify that it fixes the issue. https://github.com/glennrub/micropython/commit/4b57...