This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with APP_TIMER on SDK17 (but working on SDK16)

Hello all,

I am using the Application Timer (as written in https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial ) in my Embedded Serial File System (JesFs, Open Source and free for everyone)

On SDK16 everything runs perfectly, reliable and stable on several hardware platforms (PCA10056, NINA-B3 (u-Blox) and others).

On SDK17 I found the APP_TIMER not running (same software, no changes, I tested it with SES 4.20 and 4.50 on PCA10056).

The problem shows easily in "/platform_nRF52/tb_tools_nrf52.c -> tb_delay_ms()" , if the UART_TX_BUF_SIZE is small, so that the putc-function must wait (as shown  in line 123 of "tb_tools_nrf52.c"):

- Clone https://github.com/joembedded/JesFs
- A complete working project for PCA10056 and SES is in "/platform_nRF52/pca10056/ses/JesFsDemo_pca10056.emProject"
- The projects will show a text console on the standard UART, e.g.: '!' shows the time, 's2' sleeps for 2 seconds, etc..
- SDK16:

*** JesFs *Demo* 2.0 / 06.09.2020 (C)2020 JoEmbedded.de

Reset-Reason: 0x1 (Pin-Reset) Bootcode: 0x1009f
Filesystem Init:0
Disk size: 8388608 Bytes
> !
'!': Time: [01.01.1970 00:30:47] (1847 secs)
(Run: 4 msec)
s2
's' Flash DeepSleep and CPU sleep 2 secs...
'i' Filesystem Init Fast: Res:0
(Run: 2088 msec)
>

- on SDK17:

*** JesFs

(waiting for APP_TIMER, that never triggers...)

Thanks for your help!!! I have NO idea any more where to search for....

Jo

Parents Reply Children
No Data
Related