[wt51822_s4at] getting started

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
Posts: 410
Joined: Mon Jun 15, 2015 8:03 am

[wt51822_s4at] getting started

Post by mcauser » Thu Jul 19, 2018 7:54 am

I noticed the NRF port has now been merged! Woo!
https://github.com/micropython/micropyt ... /ports/nrf

In the readme it lists wt51822_s4at as one of the tested boards. I have one of these!

I used this breakout board on Oshpark to make it breadboard compatible:

I was wondering what the steps are to flash MicroPython to the device. The readme lists Manual under Flash util.
I don't have a Segger, but I do have a St-link (clone). Could I use that?

Code: Select all

cd ports/nrf
make BOARD=wt51822_s4at SD=s110 sd
make BOARD=wt51822_s4at flash
Any tips?

Posts: 278
Joined: Sun Apr 17, 2016 1:55 pm

Re: [wt51822_s4at] getting started

Post by shaoziyang » Thu Jul 19, 2018 8:19 am

I think st-link can't do work, you may use jlink-OB instead.

Posts: 3
Joined: Mon Sep 04, 2017 2:46 pm

Re: [wt51822_s4at] getting started

Post by ayke » Thu Aug 02, 2018 2:11 am

The ST-Link V2 clone can do it, I've used it often. You need to connect 3.3V, GND, SWDIO, and SWCLK to the correct pins. Then you can flash using OpenOCD. After that, connect a UART to the serial pins (check the datasheet) to enter the REPL.

Note: using *make flash" or "make SD" won't work with OpenOCD, you need to flash build-wt51822_s4at-s110/firmware.hex *and* the SoftDevice hex manually with OpenOCD.

I will post more detailed instructions soon.

Post Reply