Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 851
» Latest member: DRail
» Forum threads: 822
» Forum posts: 5,588

Full Statistics

Latest Threads
Build Error Reports With ...
Forum: EmBitz IDE
Last Post: EmBitz
Yesterday, 03:37 PM
» Replies: 8
» Views: 117
LPC2478 .S and .ld file
Forum: EmBitz IDE
Last Post: Argo4x4
Yesterday, 02:44 PM
» Replies: 2
» Views: 112
Project for multi type MC...
Forum: EmBitz IDE
Last Post: peterb
10-17-2017, 03:06 PM
» Replies: 2
» Views: 66
STM32F091xx
Forum: EmBitz IDE
Last Post: Argo4x4
10-17-2017, 01:27 PM
» Replies: 0
» Views: 36
Custom Compiler in Tool s...
Forum: EmBitz IDE
Last Post: EmBitz
10-16-2017, 08:38 PM
» Replies: 3
» Views: 63
EmBlocks + STM32 Nucleo b...
Forum: EmBitz IDE
Last Post: harchenko_pavel
10-16-2017, 04:24 PM
» Replies: 23
» Views: 6,958
Three Console IO examples
Forum: STmicro
Last Post: vdaniel
10-16-2017, 07:33 AM
» Replies: 0
» Views: 36
EmBitz with STMCubeMX
Forum: EmBitz IDE
Last Post: OliviliK
10-16-2017, 03:19 AM
» Replies: 19
» Views: 3,562
Ladder Logic
Forum: General
Last Post: Workalot
10-12-2017, 09:56 AM
» Replies: 0
» Views: 60
STlinkGDB support for STM...
Forum: ARM gdb
Last Post: paussems
10-11-2017, 05:07 PM
» Replies: 2
» Views: 575

 
  Build Error Reports With XMC4500 Project
Posted by: Workalot - 10-18-2017, 08:28 AM - Forum: EmBitz IDE - Replies (8)

Getting messages like...

    C:\Users\Workalot\AppData\Local\Temp\ccOTTiFg.s Line 633
    Error: selected processor does not support `vstmdbeq r0!,{s16-s31}' in Thumb mode


... when building an XMC4500 project. 

All the C modules in the project are compiled.

To Note: In other projects that issued likewise messages the problem was located to not having set the MCU type in Build Options->Device->Device set to 'cortex-m3' /  'cortex-m4'. But in this project the setting is 'cortex-m4'.

The answer escapes me for the moment - tia, Workalot.

Print this item

  STM32F091xx
Posted by: Argo4x4 - 10-17-2017, 01:27 PM - Forum: EmBitz IDE - No Replies

Hi Gerard

I Have added the STM32F091xx missing in the file interface.xrc when you use J-Link. Not necessary for Embitz to work but nice to have ( clean )

you can get it there 

https://github.com/aroyer-qc/Embitz-add-on

Print this item

  Project for multi type MCU?
Posted by: peterb - 10-17-2017, 09:43 AM - Forum: EmBitz IDE - Replies (2)

Hi,

I have a multipurpose MCU board type, which I plan to mount with STM32F072, F103 and F405. Is there a way in Embitz IDE to configure a project, where I can choose one of these MCU targets to build with my common source file set? Perhaps I can handle the MCU register differences in my sources with #ifdef-s, but how can configure the IDE to use the related CMSIS, SPL and other "system" files and configurations?

Peter

Print this item

  Custom Compiler in Tool settings compiler
Posted by: Argo4x4 - 10-16-2017, 05:00 PM - Forum: EmBitz IDE - Replies (3)

Hi Gerard,

Is it possible to get a version of Embitz with a custom selection in the tool settings compilers. 
I would like to try renesas compiler in Embitz... I can after this, share the information with you.
maybe even work on some wizard.
There is even GCC version fro kpit GNU tools that should work almost identically to GCC

Thank.

Print this item

  Three Console IO examples
Posted by: vdaniel - 10-16-2017, 07:33 AM - Forum: STmicro - No Replies

Recently I bought from eBay two very cheap boards with 20-pin STM32F030F4P6 and 48-pin STM32F103C8T6
microcontrollers just for fun.
I could not find good quality schematic in the web, so, having a couple of free days, I made my own versions.
For the 20-pin chip I made as well an alternative version with free PA9 and PA10 pins reserved for I2C usagel.
Then I made very simple generic EmBitz projects, using STM32CubeMX, implementing only console IO through
USART ports.
Here I am presenting both projects and, additionally, also a similar project for NUCLEO-L476RG.

vdaniel



Attached Files
.zip   F030F4P6_Console.zip (Size: 614.95 KB / Downloads: 5)
.zip   F103C8T6_Console.zip (Size: 503.51 KB / Downloads: 6)
.zip   L476RGT_Console.zip (Size: 738.93 KB / Downloads: 5)
Print this item

  Ladder Logic
Posted by: Workalot - 10-12-2017, 09:56 AM - Forum: General - No Replies

Workalot has been tinkering in his cavern for some time to realize his interpretation of a ladder logic regime.

The ARM Cortex-M3/M4 is the target MCU platform and runtime kernels have been developed for the SAM3X8E on the Arduino,  STM32F407 on the discovery board, and for the LPC1837 on an Xplorer board.

You should know all the kernels were developed with emBitz.

Over at http://www.dge.com.au there is more info.

Thank you, Workalot.

Print this item

  LPC2478 .S and .ld file
Posted by: Argo4x4 - 10-09-2017, 11:52 PM - Forum: EmBitz IDE - Replies (2)

Someones has those 2 files working in a project for Embitz?

I Know it's an old ARM7TDMI..

I have a project running on IAR and a few boards laying around, that I want to bring to Embitz.
Theproject compiles, and j-link support the LPC2478 ... 


I have 2 files... but there is something wrong with them...


Thanks

Print this item

  Cannot run printf() properly
Posted by: vdaniel - 10-06-2017, 02:09 PM - Forum: General - Replies (3)

I try to use printf() with different nucleo STM32 boards.
I try as retarget

int _write_r(struct _reent *r, int file, char * ptr, int len)
{
    r = r;
    file = file;
    ptr = ptr;
    HAL_UART_Transmit(&huart2, (uint8_t *)ptr, len, 0xFFFF);

    return len;
}

Operator     printf("Start\n\r>") prints only the part of the string,
without "\r>".

Please, help

Print this item

  Can't debug STM32F373
Posted by: Mattia - 10-04-2017, 09:05 AM - Forum: EmBitz IDE - Replies (5)

Hello,
I've tried to debug a new project using STM32F373RC microcontroller, using the project wizard. I am able to build all the project, but it when I try to debug it, it never goes to main but stay always in the startup routine. The board is full functional (I'm able to use it in Atollic, Keil or Segger IDE).

Is it possible that the startup file is not correct?

Thank you

Print this item

  Request for extension of auto-substitution functions.
Posted by: AVI-crak - 10-02-2017, 07:35 PM - Forum: ArmGCC - EmBlocks - No Replies

The plug-in plug-in works correctly, but there is a desire to expand its capabilities. There are specific conditions under which writing code becomes predictable from the user's side. The simplest example is changing the contents of the periphery register. All the elements of the registers have a part of the register name, this is practiced literally everywhere. The descriptions of the bits of registers up to 32, multiplied by the number of registers used - that is, a crazy set. All of them are in the same zone of visibility, without the means of division. And when a person prints the name of the register, he has to print it again in the second part of the mathematical operation. There are errors that are difficult to control.

The first improvement is auto-substitution at the heritage level. If, for example, RCC-> CR is printed, then it makes sense to prompt everything that starts with RCC_CR_, with further exclusion from the prompt for the values used.

The second sentence is the automatic substitution of enumerations according to the type of data named by the function declared in the parameters of the function. If you explicitly specify the type and name of the enumeration, it makes sense to give a hint.

Interested in the possibility of improving this plugin, any answer is welcome.

Print this item