Search found 45 matches

by c45713
Mon Jul 17, 2017 11:00 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Hi Oliver, If i understand you correctly, you are looking for two things, division of integers and floating point numbers. Division of integers are available already now, using the syntax "//". I believe it's called something like floor division or integer division in python3. Let me put up an examp...
by c45713
Fri Jun 30, 2017 10:52 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth Low Energy (BLE) library
Replies: 11
Views: 9724

Re: bluetooth low energy

I have not noticed this post before now... This is great work! In parallel i have also implemented a quite similar API for nrf5x (nordic semiconductor) using bluepy as base. I can see an opportunity to sync our bluepy derivatives for micropython to make it API compatible in time. This way we could p...
by c45713
Fri Jun 30, 2017 10:17 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

The code for the PR is hosted at https://github.com/tralamazza/micropython/tree/master

There is a README.md tutorial in the nrf/ folder, which explains how to compile and flash the various targets. Also, to show some basics, some scripts have been added to the nrf/examples.
by c45713
Wed May 10, 2017 8:42 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Hi oliverr, It's great to hear that you are playing around with the port! :D I don't suppose anybody could help shed some light on this / point me to where I should be raising this issue? Any advice would be greatly appreciated! Feedback taken! Daniel has opened the "Issue tracker" in the repo ;) We...
by c45713
Wed May 03, 2017 8:36 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Hi Matt, When I find a spare ten minutes I'll submit a PR for a readme. That would be awesome! :D Right now there is some kind of documentation in the wiki of the repo, but i guess a readme.md in the nrf5 folder would be very nice! Now to figure out what to build with this board... ;) Haha! That's a...
by c45713
Sat Apr 29, 2017 6:08 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Awesome, Matt !!!!! :D :D I'm so happy that you got it running! Nothing is better than seeing that REPL prompt! ;) The issue you saw should be fixed now. I have updated main.c to work with two LEDs only. So, the LED(3) error should be gone. The thing is that there is a portion of code inside the mai...
by c45713
Tue Apr 25, 2017 10:34 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Should work now. :D I found the correct UART RX/TX pins. Also got the serial upload to work on my side. I believe the max size is even less than 156kb for serial upload. I'll start looking into how to get ubluepy module fit inside the DFU image next. If you install the nrfutiils from the previous po...
by c45713
Tue Apr 25, 2017 8:45 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Hi Matt, A short update on my experiments. It's getting closer! :) I managed to get the bootloader to jump to a working micropython Bluetooth REPL application (https://github.com/adafruit/Adafruit_nRF52_Arduino/tree/master/bin). It turns out after all that this bootloader jumps to 0x1c000 and not 0x...
by c45713
Mon Apr 24, 2017 9:50 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

Hi Matt, I have updated the branch to support the s132 v.2.0.1. Renamed the linker scripts and created a new one to offset the application to 0x1C000 which is the end of the v.2 softdevice. However, you might be right that the real offset is 0x1f000. The only way to figure this one out is to try to ...
by c45713
Sun Apr 23, 2017 8:48 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 24991

Re: Porting to Nordic Semiconductor nRF52

I took a quick look at the bootloader hex file in the adafruit github repo, and this is what i found: s132 v.2 - size 0x0 -> 0x1c000 bootloader 0x74000 -> 0x798c8 Currently the nrf5_no_sdk branch does not support the s132 v.2 softdevice, so i will add support for this. Should not be to hard. I'll re...