Page 1 of 1

the heart of the BBC micro:bit is the nRF51822

Posted: Sat Feb 24, 2018 9:14 pm
by yaccard
Hello
the heart of the BBC micro:bit is the nRF51822 SoC from Nordic
So is there a way to directly program the Nordic chip ?
while using the microphyton (Basic Python microbit or Upycraft)
Thank you for your answers.
Yves

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Sun Feb 25, 2018 9:19 am
by cefn
What do you mean 'directly program' the chip? What are you trying to do?

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Sun Feb 25, 2018 2:10 pm
by yaccard
Hello
Good question
That means:
_Use the same programming tool (Upycraft or Mu)
_Use of a minimum target (only a NRF51822 placed on a minimal module)
_Uses a minimal hardware interface between the USB port and the Nordic module (Convert USB / SerialTTL or more complex)
Best regards
Yves

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Sun Feb 25, 2018 11:56 pm
by deshipu
What are you trying to achieve?

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Mon Feb 26, 2018 9:52 pm
by yaccard
I want to create a "real" project after having tested it on the microbit card.
But The Microbit card is too luxurious and especially too expensive for my project.
I only need a very small number of inputs / outputs
Yves

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Tue Feb 27, 2018 11:00 am
by deshipu
There are development boards with the nRF51822 chip available really cheaply, and I had some luck programming them with a jlink-compatible programmer over SWD. I think that the micro:bit itself has the SWD pins exposed as pads somewhere on it, but I'm not sure which ones they are — some research might be necessary.

Re: the heart of the BBC micro:bit is the nRF51822

Posted: Tue Feb 27, 2018 3:37 pm
by yaccard
Maybe we can cut the connections on a microbit card and send them to another card with a nRF1822 only ?
____________________________________________
Perhaps you see https://www.youtube.com/watch?v=BzTcqwFI1m4&t=220s
Somebody flash a nRF51822 with a STLINK V2 and OPENOCD
I need it for flashing the Microphyton firmvare, but after, i only need to transfert python script.
Yves