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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,003
» Latest member: wbicaxias
» Forum threads: 859
» Forum posts: 5,100

Full Statistics

Latest Threads
Suggestions future releas...
Forum: EmBitz IDE
Last Post: bufran
Yesterday, 06:39 AM
» Replies: 137
» Views: 73,575
Does EmBitz support Nucle...
Forum: EmBitz IDE
Last Post: Lutz Kämmerling
17-02-2019, 10:35 PM
» Replies: 0
» Views: 29
loading to device without...
Forum: EmBitz IDE
Last Post: escalator
08-02-2019, 04:54 PM
» Replies: 18
» Views: 9,970
Introducing section withi...
Forum: ArmGCC - EmBlocks
Last Post: PDonchev
22-01-2019, 08:58 PM
» Replies: 1
» Views: 426
Kinetis MK66 & SVD
Forum: SVD (System view) files
Last Post: Workalot
16-12-2018, 04:39 AM
» Replies: 1
» Views: 470
Download/Debugging Silabs...
Forum: Debug interface scripting
Last Post: Polarisru
10-12-2018, 01:38 PM
» Replies: 4
» Views: 1,617
Burning flash and debuggi...
Forum: Debug interface scripting
Last Post: Polarisru
10-12-2018, 01:33 PM
» Replies: 0
» Views: 236
Embitz with GCC-ARM
Forum: ArmGCC - EmBlocks
Last Post: Tony201800
30-11-2018, 12:01 AM
» Replies: 0
» Views: 364
emBitz, MK66, Debugger an...
Forum: EmBitz IDE
Last Post: Workalot
27-11-2018, 10:40 AM
» Replies: 1
» Views: 422
EBLINK: STM32L496ZG not s...
Forum: Debug interface scripting
Last Post: vargham
22-11-2018, 09:36 AM
» Replies: 1
» Views: 602

Posted by: AVI-crak - 07-07-2018, 09:09 AM - Forum: ArmGCC - EmBlocks - No Replies

There was a new gcc-arm-none-eabi-7-2018-q2-update-win32. In which there is no default.specs file.
The specification file has a very unusual syntax for me, it is closer to macros - than to monosyllabic expressions.
So I just copied the default.specs from the obsolete gcc to the new one.

Also has received surprising bug.
GCC has removed half of the interrupt functions. He left the interruptions in the wrapper __cplusplus, and removed all the steel.

If the default.specs file is not required for normal work in the popular ide, then how it should look for EmBitz?

Print this item

Question How to compile ASM code?
Posted by: ray911 - 25-06-2018, 03:06 PM - Forum: EmBitz IDE - Replies (4)


I recently started to learn STM32. The referenced program was compiled successfully in MDK, but after copying to EmBitz, the ASM code can't be compiled.
Does anyone know why? Big Grin 

__asm void MSR_MSP ( uint32_t ulAddr )
    MSR MSP, r0                    //set Main Stack value
    BX r14

"Logs & others":
USER\IAP\iap.c|41|error: expected '(' before 'void'|

||=== Build finished: 1 errors, 1 warnings (0 minutes, 0 seconds) ===|

Print this item

  Sometime debugging not work
Posted by: dccomp - 20-06-2018, 10:10 AM - Forum: EmBitz IDE - No Replies

Hello all,
I bought 15 ST32F407G Discovery boards (at two different dealers). 9 Works completely at 6 comes the error: "debug server is closed / terminated, debug session will stop" when I try to connect with EMBitz (V1.11).
When I connect to the STM32 ST-LINK utility, all the boards work. All have the same (latest) ST-LINK firmware version V2J29M18.
I also got the latest ST-LINK driver and installed.
I work with Windows 10 Pro.
Does anyone have an idea what that could be?

Many thanks for your help.

Print this item

  reproducible crash sequence
Posted by: jheissjr - 31-05-2018, 03:16 PM - Forum: EmBitz IDE - Replies (2)

I identified a sequence of adding comments to a text file that creates an unhandled exception.  

To reproduce the unhandled exception, open arm_common_tables.c file in EmBitz.  Select all text with Ctrl-A.  Comment the text with Ctrl-Shift-C. An unhandled exception occurs when the text is commented.

The test file exceeds the 200kB forum limit - https://drive.google.com/file/d/1K8YdrLX...sp=sharing

Print this item

  STM8 Cosmic support
Posted by: RaJa - 08-05-2018, 05:36 PM - Forum: STmicro - Replies (1)

From 2016 Cosmic for STM8 is fully supported in STVD, it's free and have no functionality limits.
It's fully compatible with STM8 SPL unlike SDCC. 
It would be nice if a dubugging could be integrated in embitz.
Integrating device wizards I could help (scripts) but debugger is core functionality. 
Is it possible to support this family of MCU?

Print this item

  Better assert
Posted by: smitjs - 08-05-2018, 04:30 PM - Forum: General - Replies (2)

I have to send assert output through canbus to the display unit.
At present my assert looks like this:
.h file
#define assert(left,operator,right)\
    if(!((left) operator (right))) \
     {asprintf(&astrbuf,"\nAssert error %s %d %ld %ld\n",__FILE__, __LINE__,\

.c file
void asserted(void)
{ dprint("%s",astrbuf);
  cmd_text(10,50,30,0, astrbuf);
This is followed by the code to switch off outputs.

This works very well, example:
assert(millis, <, maxtime);

What irks me is that I cannot see how to send the operator to asprintf.
It would be so much better if the operator could also be displayed.
Any help will be appreciated.
Thank you
Johan Smit

Print this item

  STLinkGDB does not work with STM32F722
Posted by: vdaniel - 08-05-2018, 12:31 PM - Forum: Debug interface scripting - Replies (4)

Dear EmBitz,

The STLinkGDB does not work with STM32F722, while it works Ok with STM32F746.
The message:

Remote debugging using localhost:4242
0x010000000x01000000 in ?? ()
Loading section .isr_vector, size 0x1e0 lma 0x8000000
Note: automatically using hardware breakpoints for read-only addresses.
Error: Warning:Cannot insert hardware breakpoint 1:Remote communication error.  Target disconnected.: No error..

In previous similar case you asked for the device name and ID.
Here are the data:

Device STM32F72x/F73x
Device ID 0x452
Revision ID Rev A

I have an urgent project, which I do not want to switch to other toolchain.
Please, can you help me before the next release?

Thank you very much,

EmBitz member


Print this item

  feature or bug in IDE context menu?
Posted by: escalator - 12-04-2018, 03:28 PM - Forum: EmBitz IDE - Replies (2)

    Hi, notice the top choices in the (right-clicked) menu: some include the tilde operator to the left of TIM_IT_CC1, some (correctly) do not. BTW in the text, the tilde is separated by a space.

Print this item

  How to Copy Wizard Script-Files?
Posted by: Jay - 02-04-2018, 07:35 AM - Forum: EmBitz IDE - No Replies


I have made some custom scripts for the file-wizard to create class-templates when creating c++ h-files and the function implementation of the corrosponding h-file, when creating a cpp-file.
It works pretty good and I like to share it with u, but I dont know how to copy the script-files from the embitz directory (%appdata). When I try to just copy them with windows, I do only get the original file, not my modified one. It only works to copy the code in a txt-file and paste it into another one.
How to do this proberly?

thanks and happy easter monday.

Print this item

  cluster contents in .svd not shown in reg viewer
Posted by: jheissjr - 26-03-2018, 09:51 PM - Forum: EmBitz IDE - Replies (6)

Using an .svd file with <cluster> does not seem to show the cluster contents in the register window.  Do I possibly have a mistake somewhere?

The .svd file was too large to upload to the forum.

Attached Files Thumbnail(s)
Print this item