Search found 44 matches
- Tue Oct 23, 2018 11:02 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Dump variables to PC
- Replies: 3
- Views: 68242
Dump variables to PC
I'm trying to fill an Oberon-07 array variable inside a program and, after program termination, dumping back the array from the PC. The array is defined as: VAR shared: ARRAY 32 OF BYTE; and filled in the init body as: FOR i := 0 TO 15 DO shared := i END; where I also print the physical addresses as...
- Tue Oct 23, 2018 8:57 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Upload and Run
- Replies: 2
- Views: 52268
Re: Upload and Run
Perfect!
I'm able to load programs with a plain copy to the USB drive and run then using st-link_cli -rst
I mostly use the Astrobe IDE to do this, but I needed a way to handle some batch scenarios.
I'm able to load programs with a plain copy to the USB drive and run then using st-link_cli -rst
I mostly use the Astrobe IDE to do this, but I needed a way to handle some batch scenarios.
- Mon Oct 22, 2018 3:14 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Upload and Run
- Replies: 2
- Views: 52268
Upload and Run
I would like to know, possibly, which are the commands /mechanisms internally invoked by Astrobe IDE for the Nucleo boards in order to carry out the following two actions: 1) transfer a binary image from PC to target flash memory 2) run the program previously stored in flash For custom purposes, com...
- Tue Oct 02, 2018 3:16 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: HCFiler for Cortex M7
- Replies: 4
- Views: 79991
Re: HCFiler for Cortex M7
Thanks, will surely take it in consideration for future usage.
- Thu Sep 13, 2018 9:12 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: user traps
- Replies: 7
- Views: 112740
user traps
It's not clear if it is possible to assign a procedure to a user-defined trap number. I tried to do something like: PROCEDURE MyTrapper; BEGIN Out.String("MY TRAPPER"); Out.Ln END MyTrapper; ... Traps.ShowRegs(FALSE); (* simplified trap log *) Traps.Assign(100, MyTrapper); ASSERT(FALSE, 100); ... bu...
- Mon Sep 10, 2018 9:57 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Delays
- Replies: 6
- Views: 94610
Re: Delays
Thanks a lot, great help from you as usual.
- Thu Sep 06, 2018 4:03 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: HCFiler for Cortex M7
- Replies: 4
- Views: 79991
HCFiler for Cortex M7
I have take a quick look at the HCFiler for Cortex M3. It looks very appealing in bare-metal applications needing to store data on persistent storage (e.g. from long duration tests). Should I expect big difficulties in adapting such code to run on Nucleo F767ZI (Cortex M7) ? Is there already a plan ...
- Thu Sep 06, 2018 8:16 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Delays
- Replies: 6
- Views: 94610
Re: Delays
There's a strange behavior in my environment (Cortex M7). Let try the following test. It takes 5 seconds whatever the CPU clock. I also performed a HW reset before each run with different clock. Maybe I'm missing something... MODULE SpeedTest; IMPORT Main, LinkOptions, Out, Clock; VAR i, x, secs: IN...
- Wed Sep 05, 2018 3:54 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Delays
- Replies: 6
- Views: 94610
Re: Delays
The Cortex M7 used in the STM32 MCU has a six-stage dual-issue pipeline.
So I guess that that loop is executed faster than expected for such reason.
Thanks for all the info on timing.
So I guess that that loop is executed faster than expected for such reason.
Thanks for all the info on timing.
- Wed Sep 05, 2018 12:29 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Delays
- Replies: 6
- Views: 94610
Delays
How much precise is the Timers.Delay() in terms of the generated wait interval when using a timer initialized with Timers.uSec as unit? Also, is there a way (by other means) to generate a specific delay below 1 us ? I can guess something like a FOR loop with EMIT passing a NOP instruction... (clearl...