Search found 51 matches

by c45713
Wed Dec 23, 2020 10:06 am
Forum: Other Boards
Topic: u-blox nina B302
Replies: 2
Views: 151

Re: u-blox nina B302

try this: make BOARD=nrf52840-mdk-usb-dongle SD=s140 CFLAGS_EXTRA="-DMICROPY_PY_MUSIC=1 -DMICROPY_PY_MACHINE_SOFT_PWM=1" Followed by (flash SD and Application): make BOARD=nrf52840-mdk-usb-dongle SD=s140 NRFUTIL_PORT=/dev/ttyACM0 sd Subsequent updates of the Application after initial SD flash, can b...
by c45713
Mon Dec 07, 2020 8:33 pm
Forum: Other Boards
Topic: [nRF52] I2C reconstruct issues
Replies: 3
Views: 221

Re: [nRF52] I2C reconstruct issues

Maybe not that hard after all. I was a bit quick replying without looking carefully at the nrfx driver. I guess the problem can be solved by issuing nrfx_twi_uninit() between the init's. As i'm running a bit out of time to test it today, i've made a proposal on what direction i'm thinking: https://g...
by c45713
Mon Dec 07, 2020 7:49 pm
Forum: Other Boards
Topic: [nRF52] I2C reconstruct issues
Replies: 3
Views: 221

Re: [nRF52] I2C reconstruct issues

This is definitely an interesting observation. I'll answer here and not on github as this might take some time to figure out. I've peeked into the source a bit, and i have one hypothesis: First, error code of nrfx_twi_init() is not checked. https://github.com/glennrub/micropython/blob/master/ports/n...
by c45713
Wed Nov 18, 2020 8:01 pm
Forum: Other Boards
Topic: [nRF52] pca10059 Flash FS not available - MBFS as well as VFS/LFS
Replies: 3
Views: 1442

Re: [nRF52] pca10059 Flash FS not available - MBFS as well as VFS/LFS

Great to hear that something is working :) I did not look at the .map file yet as it seems to work for you. If you want to, you can try this PR: https://github.com/micropython/micropython/pull/6252 This will provide the framework to shrink the available flash for micropython due to presence of a boo...
by c45713
Sun Nov 15, 2020 8:09 pm
Forum: Other Boards
Topic: [nRF52] pca10059 Flash FS not available - MBFS as well as VFS/LFS
Replies: 3
Views: 1442

Re: [nRF52] pca10059 Flash FS not available - MBFS as well as VFS/LFS

Hi Angainor, I'm picking up the work again on https://github.com/micropython/micropython/pull/5472 and will test the pca10059 explicitly. Could you try to set the available flash size in ports/nrf/nrf52840_1M_256K.ld from 1M to 800K. Just to see if there is anything about the bootloader that might c...
by c45713
Thu Jul 16, 2020 11:16 am
Forum: General Discussion and Questions
Topic: micropython with nRF9160 / DeepSleep
Replies: 1
Views: 593

Re: micropython with nRF9160 / DeepSleep

There are some functions in the machine module that might be of interest. They are generic to all nrf-targets, but should work also for nrf9160 targets. What i'm thinking of is the wrappers machine.lightsleep() (WFE) and machine.deepsleep() (WFI).
by c45713
Sun Jan 26, 2020 10:21 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 8798

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

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

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

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