Search found 171 matches

by gray
Thu Jun 27, 2024 6:10 am
Forum: Cortex-M0, M3, M4 and M7
Topic: RP2040: Library & Tools for Astrobe Available
Replies: 19
Views: 1436485

Re: RP2040: Library & Tools for Astrobe Available

Latest updates and changes: https://oberon-rtk.org/updates/2024/cn-2024-06-27/ Another stab at PIO, with an improved tool https://oberon-rtk.org/docs/tools/pio2o/ that now supports more than one PIO program per module and the wrap feature, and the corresponding example program program https://oberon...
by gray
Sun Jun 23, 2024 9:13 am
Forum: Cortex-M0, M3, M4 and M7
Topic: RP2040: Library & Tools for Astrobe Available
Replies: 19
Views: 1436485

Re: RP2040: Library & Tools for Astrobe Available

Latest updates and changes: https://oberon-rtk.org/updates/2024/cn-2024-06-23/ A first stab at PIO, focusing on the toolchain and overall set-up, with an example program https://oberon-rtk.org/docs/examples/v2/piosquare/ and a new tool https://oberon-rtk.org/docs/tools/pio2o/. GitHub repo: https://g...
by gray
Mon Jun 17, 2024 11:19 am
Forum: Archive
Topic: SYSTEM.GET Auto-increment Problem
Replies: 1
Views: 7915

SYSTEM.GET Auto-increment Problem

Test code (Astrobe for Cortex-M0 v9.2.1): MODULE M; IMPORT SYSTEM; TYPE R = RECORD a0: INTEGER END; VAR rm: R; PROCEDURE p1; VAR ch: CHAR; BEGIN SYSTEM.GET(rm.a0, ch, 1) END p1; END M. Partial assembly code: SYSTEM.GET(rm.a0, ch, 1); . 140 08CH 0480EH ldr r0,[pc,#56] -> 200 . 142 08EH 06800H ldr r0,...
by gray
Sun Jun 02, 2024 6:17 am
Forum: Archive
Topic: Alert: no free registers Question
Replies: 4
Views: 10738

Re: Alert: no free registers Question

Consider this test case, distilled from a real use case (Astrobe for Cortex-M0 v9.2): MODULE M; TYPE Cfg0* = RECORD END; Cfg1* = RECORD END; PROCEDURE make(dev: INTEGER; cfg0: Cfg0; x, y: INTEGER; VAR cfg1: Cfg1); END make; PROCEDURE config(dev: INTEGER; cfg0: Cfg0); VAR x, y: INTEGER; cfg1: Cfg1; B...
by gray
Sat May 25, 2024 8:34 am
Forum: Cortex-M0, M3, M4 and M7
Topic: RP2040: Library & Tools for Astrobe Available
Replies: 19
Views: 1436485

Re: RP2040: Library & Tools for Astrobe Available

Latest updates and changes: https://oberon-rtk.org/updates/2024/cn-2024-05-25/

New example program: https://oberon-rtk.org/docs/examples/v1/stringbufout/. Prepare using DMA for text output. And DMA in general.

GitHub repo: https://github.com/ygrayne/oberon-rtk
by gray
Sat May 18, 2024 10:53 am
Forum: Cortex-M0, M3, M4 and M7
Topic: RP2040: Library & Tools for Astrobe Available
Replies: 19
Views: 1436485

Re: RP2040: Library & Tools for Astrobe Available

Latest updates and changes: https://oberon-rtk.org/updates/2024/cn-2024-05-17/ I have taken a first stab at the RP2040's SPI device. There's a corresponding new example program: https://oberon-rtk.org/docs/examples/v1/spirtc/. It uses the Maxim DS3234 real-time clock as test peripheral. GitHub repo:...
by gray
Sat May 18, 2024 9:09 am
Forum: Archive
Topic: SET Parameter Problem
Replies: 2
Views: 13681

Re: SET Parameter Problem

I have just encountered this problem again, using Astrobe for Cortex-M0 v9.2, where it is partly fixed, but not for all use cases. Just to document in case someone else runs into this as well, here's the test code. MODULE M; VAR i0: INTEGER; r0: RECORD k, i: INTEGER END; a0: ARRAY 2 OF INTEGER; PROC...