Lenovo S2 support #1535
Unanswered
Johnmcenroyy
asked this question in
Q&A
Replies: 3 comments 6 replies
-
It seems that a better way to use Real Time Transfer (RTT) through SWD interface. |
Beta Was this translation helpful? Give feedback.
3 replies
-
What is the best way to find unknown pinout of watch to make it support in Infinitime ? Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
-
I suggest skipping the bootloader for this stage and work with the
InfiniTime fw only (i.e. pinetime-app-image-*.bin).
And to get help on hacking a new device ask at
https://matrix.to/#/!xchlMpnFYulPioyGdI:gitter.im
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I have bought Lenovo S2 for experiments with Pinetime's firmwares.
Lenovo S2
soc NRF52832
nor flash XT25F64B (8mb)
display 240x240 (ST7789 ?)
touchscreen Hynitron CST816S
accelerometer ST LIS2DW12 (3-axis, temperature)
heart rate sensor PixArt PAH8011ET (2 green + 1 ir, dsp)
I have connected with SWD to Openocd-spi with Raspberry Pi.
Unlocked flash with scripts from:
https://github.com/lupyuen/pinetime-updater
Flashed with these scripts then Infinitime bootloader and firmware, but black screen on boot.
According to InfiniTimeOrg/pinetime-mcuboot-bootloader#10
The P8 watch for example differs from the Pinetime in a few minor points:
1. Different pins for the button (Now configurable via libs/pinetime_boot/syscfg.yml)
2. Some variants have no external low frequency crystal
3. Different SPI flash chips are used
So I have build fork https://github.com/StarGate01/pinetime-mcuboot-bootloader/tree/p8b
which solves 2 and 3, flashed it but also black screen.
How I understand I can connect UART (with compiled UART bootloader) to see logs what happens,
but need to search on what pin UART is, for example Pinetime pin TX is number 11.
I have these settings for bootloader:
UART_0: 1
UART_0_PIN_TX: 11 # must find correct pin for Lenovo S2 UART
CONSOLE_UART: 1
Is it sufficient for get UART logs or need something else, for example LOG_CLI and LOG_LEVEL settings ?
Any ideas ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions