Search found 18 matches

by bscholte
Fri Jul 30, 2021 9:06 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Programming STM32 through SWD
Replies: 2
Views: 34506

Re: Programming STM32 through SWD

Perfect!

Thanks for the quick answer.
by bscholte
Thu Jul 29, 2021 8:43 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Programming STM32 through SWD
Replies: 2
Views: 34506

Programming STM32 through SWD

For custom boards, I would like to start programming STM32F746 through the SWD interface. Is there a way to do this directly from the Astrobe IDE? So far, I have done testing with a Nucleo board, where the board is addressed as a virtual Drive ("J:") from within the IDE. This works very well. Howeve...
by bscholte
Wed Mar 31, 2021 6:56 am
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Using Version Control out of the Astrobe IDE
Replies: 1
Views: 27866

Re: Using Version Control out of the Astrobe IDE

(You live and learn...) The Commit command defined in the previous post does not allow to change the comments on the changes. This is quite essential. Instead, it would be much better to open the normal TortoiseSVN commit dialog to complete all desired fields. Luckily, Tortoise is a shell extension ...
by bscholte
Tue Mar 30, 2021 7:39 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Versioning the embedded software
Replies: 0
Views: 58976

Versioning the embedded software

If you have many embedded systems in the field, keeping track of the installed software is a real problem. It would be much easier to store the software version inside the embedded code and output this when needed. In our case, our embedded systems send status reports to their hosts and they add the...
by bscholte
Tue Mar 30, 2021 6:59 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Using Version Control out of the Astrobe IDE
Replies: 1
Views: 27866

Using Version Control out of the Astrobe IDE

We are using SubVersion and version management system on Delphi and would like to use this on the embedded source code as well. The possibility to add menu items in Astrobe v7.0+ gives a very nice way to do this. 1.) Integrating SubVersion We are using TortoiseSVN for Windows. This needs to be insta...
by bscholte
Tue Mar 30, 2021 5:57 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: Some modifications to the MATH module
Replies: 0
Views: 69129

Some modifications to the MATH module

While extensively using the MATH module, we made a few modifications that made the code a bit faster and more robust. Maybe these are useful..... 1.) Avoiding unnecessary iterations during Exp The following uses some simple big steps to get a factor close to 1 and then falls back to the original Exp...
by bscholte
Wed Dec 04, 2019 10:19 am
Forum: Cortex-M0, M3, M4 and M7
Topic: Using System Tick
Replies: 4
Views: 42843

Re: Using System Tick

The posted Module works like a charm and frees up a Timer. Thanks!

The only difference for my LCP1769 at 120MHZ and a tick every 10mSec, is the RELOAD. The value given in the manual (120MHZ/100 - 1= 1199999) nicely produces the desired tick.

Cheers!
by bscholte
Fri Nov 29, 2019 7:53 am
Forum: Cortex-M0, M3, M4 and M7
Topic: Using System Tick
Replies: 4
Views: 42843

Re: Using System Tick

The article has more information than the NXP LPC manual, so it does help. In the LPC manual, the information is partly in the main section, but critical details are in the ARM section. For example, the NVIC offset vector seems to be at $3C, which is below the $40 that is the lowest in the NXP NVIC ...
by bscholte
Thu Nov 28, 2019 7:32 pm
Forum: Cortex-M0, M3, M4 and M7
Topic: Using System Tick
Replies: 4
Views: 42843

Using System Tick

We are building an "RTOS" an a LPC-1769-ARM3 and are using the standard Timer module, using Timer3 for a 10mS pulse which basically clocks everything. Following the documentation, the System Tick should do exactly the same thing. So, we thought it would be easy to convert the Timer module into a Sys...
by bscholte
Tue Apr 16, 2019 7:58 am
Forum: Cortex-M0, M3, M4 and M7
Topic: Setting Baud rates in Serial
Replies: 1
Views: 31002

Setting Baud rates in Serial

To communicate to several peripheral devices, I needed different baud rates. After building a brief spreadsheet based on the LPC manual, I optimized a list of settings for my target (LPC1769 with MCU.PCLK=30MHZ). BaudRate DLM DLL DIVADDVAL MULVAL 1200 6 27 0 1 2400 3 13 0 1 4800 1 135 0 1 9600 0 195...