Search found 41 matches

by steve64
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: 23449

Re: HCFiler for Cortex M7

Thanks, will surely take it in consideration for future usage.
by steve64
Thu Sep 13, 2018 9:12 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: user traps
Replies: 7
Views: 27569

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...
by steve64
Mon Sep 10, 2018 9:57 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Delays
Replies: 6
Views: 25232

Re: Delays

Thanks a lot, great help from you as usual.
by steve64
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: 23449

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 ...
by steve64
Thu Sep 06, 2018 8:16 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Delays
Replies: 6
Views: 25232

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...
by steve64
Wed Sep 05, 2018 3:54 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Delays
Replies: 6
Views: 25232

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.
by steve64
Wed Sep 05, 2018 12:29 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Delays
Replies: 6
Views: 25232

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...
by steve64
Wed Sep 05, 2018 12:16 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: GPIO and leaf procedures
Replies: 2
Views: 13673

Re: GPIO and leaf procedures

Thanks, using PUT and GET in leaf procedures for critical code can be fine.
by steve64
Wed Sep 05, 2018 9:53 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: GPIO and leaf procedures
Replies: 2
Views: 13673

GPIO and leaf procedures

I suppose GPIO.Put() and GPIO.Get() are not valid inside a leaf procedure, do you confirm?
If so, it would be helpful to allow that. I have a user case in fast bitbanging where
a protocol could be implemented by calling leaf procedures just operating on GPIOs.
by steve64
Mon Aug 27, 2018 3:06 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: SPI and demo for a TFT Graphics Display
Replies: 2
Views: 21964

Re: SPI and demo for a TFT Graphics Display

Nice!
Which Nucleo board did you use?
Is the AdaFruit 1.8" TFT Display shield directly pluggable into that Nucleo board
or is there any additional HW trick to get a full system working?
Is the backlight control implemented? If so, how good is the quality?