Search found 5 matches

by Ivan Denisov
Thu Apr 12, 2018 3:00 am
Forum: Oberon Language
Topic: Machine learning
Replies: 4
Views: 26701

Re: Machine learning

Thanks for your help. I'm impressed by the small size and power of Oberon. Is it practical to use it for machine learning? I have experience with Oberon (Component Pascal) for machine learning. I made simple multilayer network for classification of kinetic curves. https://molpit.org/page/56 Image p...
by Ivan Denisov
Sat Sep 29, 2012 5:22 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Trap in MAU
Replies: 6
Views: 45620

Re: Trap in MAU

Thanks for the answer and advice! I made a solution by making fixed circular list of pointers. Maybe somebody find it useful in same cases as mine. MODULE MauV4; IMPORT Out, Main, MAU, Random; TYPE Event = POINTER TO RECORD data: INTEGER; next: Event END; VAR list , r, w: Event; PROCEDURE InitList; ...
by Ivan Denisov
Sat Sep 29, 2012 9:36 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Trap in MAU
Replies: 6
Views: 45620

Re: Trap in MAU

I can not understand how to free memory from new elements. I make the example to demonstrate the problem. I made a chain of data structures received form PC, and then processing them one by one. But cant find the way how to free unused chain elements. Help me please. MODULE MauV4; IMPORT Out, Main, ...
by Ivan Denisov
Sun Dec 11, 2011 11:52 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Trap in MAU
Replies: 6
Views: 45620

Re: Trap in MAU

Thanks! I have been solved my problem. The NEW() should not be called in WHILE TRUE DO ... END; loop to prevent heap overflow. It should be put in PROCEDURE to memory be cleaned right way! I tested this in V4.01 of Astrobe. Right way (do not led to heap overflow): MODULE MauV4; IMPORT Out, MAU, Main...
by Ivan Denisov
Mon Oct 10, 2011 6:18 am
Forum: Getting Started
Topic: Interrupt for check if smth come with UART
Replies: 1
Views: 17530

Interrupt for check if smth come with UART

I need non blocking UART read function in my program. In the examples to lpc2103 educational board form Embedded Artists was the exaple in C. How to realise this in Astrobe? How to set up an interrupt for UART buffer to run procedure if smth new comes? tU8 uart0GetChar(tU8 *pRxChar) { tU32 tmpTail; ...