Search found 45 matches

by c45713
Sun Jan 26, 2020 10:21 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 5309

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

But I also notice that using the web console, the connection is dropped after exactly 40 seconds irregardless of whether you are typing something or not. I believe i have found the cause for this. I'm working on making a serial wrapper to get the NUS service as a serial device on Linux. And i figur...
by c45713
Sun Jan 05, 2020 5:02 pm
Forum: Other Boards
Topic: Flashing NRF using pyOCD
Replies: 13
Views: 919

Re: Flashing NRF using pyOCD

Could you try with a different pin than P0.10? From the datasheet this is "Digital I/O NFC input". Unless you have explicitly disabled NFC, i guess this will not show much output.
by c45713
Sat Jan 04, 2020 10:18 am
Forum: Other Boards
Topic: Flashing NRF using pyOCD
Replies: 13
Views: 919

Re: Flashing NRF using pyOCD

I replaced the Segger firmware on my pca10056 with a DAPLink version https://armmbed.github.io/DAPLink/?board=Nordic-nRF51-DK in order to try out your commands running pyOCD. Looks like it works for me, the initial ones and the latest commands. So, i also believe that you have the firmware flashed. ...
by c45713
Mon Dec 30, 2019 9:18 pm
Forum: Other Boards
Topic: Flashing NRF using pyOCD
Replies: 13
Views: 919

Re: Flashing NRF using pyOCD

I'm a bit puzzled why the log shows that you programmed 155648 in both cases. I'm not sure if this solves the problem, however *.bin files do not contain any position address to know where to put it in flash. So you probably need to define the address on where to put the binary image, or use a hex f...
by c45713
Sun Dec 01, 2019 8:44 pm
Forum: Other Boards
Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
Replies: 10
Views: 867

Re: Building for the nRF51822 - PCA10028 board - some advice?

Yeay! :D I'm glad to hear that it worked out!

I can only speculate on why our builds are different. Maybe the compiler might have an impact. I built these with arm-none-eabi 8-2018-q4-major (aka 8.2.1).
by c45713
Sun Dec 01, 2019 7:49 pm
Forum: Other Boards
Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
Replies: 10
Views: 867

Re: Building for the nRF51822 - PCA10028 board - some advice?

I found the schematic for the BLE400 board: https://www.waveshare.com/w/upload/1/1b/BLE400-Schematic.pdf I have not studied in detail yet, but i suggest that we also try to swap the RX and TX. As this is not really clear to me in the schematic. Attaching the 3 hex files i have generated from today's...
by c45713
Sun Dec 01, 2019 1:03 pm
Forum: Other Boards
Topic: [PCA10028/NRF51] - Building for the nRF51822 - PCA10028 board - some advice?
Replies: 10
Views: 867

Re: Building for the nRF51822 - PCA10028 board - some advice?

Hi bogdan, I did play with the pca10028 as recent as this week. For me it did work. Could you try hit the reset button on the board a few times to see if it eventually comes up? There has also been a recurring issue with Segger and RTS/CTS. You might want to try disable Flow Control in the boards/mp...
by c45713
Fri Nov 01, 2019 9:34 am
Forum: Other Boards
Topic: nRF52840 USB_CDC and BLE
Replies: 6
Views: 793

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: 6
Views: 793

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: 859

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...