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

Username
  

Password
  





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,578
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,971
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: 365
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: 605

 
  Could not debug with ST-Link
Posted by: vargham - 23-01-2018, 07:42 AM - Forum: STmicro - Replies (5)

I use EmBitz with STM32 devices daily since 2016. The debug was fine until today. The bundled STLinkGDB.exe could not connect to the debugger. I tried a few ST-Links with all USB ports, restart Windows, reinstall ST-Link driver and utility. No luck. The same setup works fine with ST-Link utility software.
I tried to start STLinkGDB.exe manually. Here is the error message:
C:\Program Files (x86)\STMicroelectronics\stlink_server>cd "C:\Program Files (x86)\EmBitz\1.11\share\contrib"
C:\Program Files (x86)\EmBitz\1.11\share\contrib>STLinkGDB.exe
STLINK GDB Server (EmBitz Dec  8 2016 12:12:38)
Connect under reset is active.
2018-01-23T07:31:57 WARN E:\_stlink\stlink-master\src\stlink-usb.c: Couldn't open STlink/V2 probe at 002:008

Print this item

Bug STM32F105 project creation problem
Posted by: AlexNL - 10-01-2018, 05:32 PM - Forum: EmBitz IDE - Replies (3)

Hello. It's very strangely but when i create project for STM32 connectivity line device (like stm32f103) i have compilation error:
Thanks.



Attached Files Thumbnail(s)
   
Print this item

  EmBitz 1.11 math.h problem( help )
Posted by: isackmk - 21-12-2017, 11:09 PM - Forum: EmBitz IDE - Replies (1)

Hello,
I try to move my Project Uvision 5 to EmBitz...

I use pow and round function in my Project...

If i use pow function with global variables, i have error " undefined reference to 'pow' "

with local variables no have problem... 

For Example ;

void abc()
{
    char a = 1;
    int   b;
    b = pow(10,a); // This is no have problem
}

////////////////////////////////////////////////////////
char a = 1;
void abc()
{
   int b;
   b = pow(10,a); // This is have problem
}

Can anyone help me ?

Print this item

  impact of -eb_lib on static functions
Posted by: jheissjr - 19-12-2017, 05:02 PM - Forum: EmBitz IDE - Replies (1)

There seems to be two different behaviors concerning static functions when "Exclude Standard Libraries" is enabled (the -eb_lib flag).

Code:
void compute_floor()
{
   double floor = floor(1.3);  // no error, successful compile
}

Code:
static void compute_floor()
{
   double floor = floor(1.3);  // "undefined reference to 'floor' "
}

The built-in functions such as floor() are not linked when static functions include them inside the function.  Compiling stops during the linking stage.  I'm going to check gcc documentation because I believe I have a misunderstanding.  How is -eb_lib implemented so I can search the correct terms?  Does it enable certain gcc flags?

Print this item

  Using GDB with EMBitz
Posted by: Günter Strack - 19-12-2017, 09:31 AM - Forum: EmBitz IDE - Replies (3)

Hello,

I'm building my EmBitz project to different platforms (STM32F446, STM32F103, Windows). For the latter, I utilized an unused Compiler Setting (in my case ARM Generic Toolchain), replaced the Names of Executables and Paths with an existing installation of MinGW64 and applied all necessary compiler and linker settings, to build my target for Windows (with SDL graphics interface). This works like a charm. The result is an *.exe-file, which can be run under Windows and Debugged with the GDB in Windows command line interface.

However, unfortunately, I did not manage to get GDB working with EmBitz (starting the executable and allowing debugging of the *.exe file).

Since the debuggers for embedded targets are based on GDB, I don't think there is a general limitation.

So: Can I get some advice how to embed the windows GDB in EmBitz?

Sincerily
Günter

Print this item

  Simple SD-card driver for SPL?
Posted by: peterb - 18-12-2017, 02:35 PM - Forum: General - Replies (2)

Hi,
I'm looking for a simple, low level SD card driver with SPL for STM32 devices without SDIO interface. Just simple initialize and block read/write/erase functions with SPI bus, no need of any filesystem, INT or DMA, etc. I found a very similar driver what I need, but in C++ with HAL:
https://ralimtek.com/Stm32_SPI_SD/
My C++ knowledge is very poor/old/dusty, so what do you think, how hard work would be to port this code to simple C with SPL?
Or can somebody suggest some similar SD card driver written for SPL?

Print this item

  Multiple linker scripts
Posted by: AlexNL - 16-12-2017, 11:25 PM - Forum: EmBitz IDE - Replies (2)

Hello! Thanks you for great IDE!!
So, my question is: Can i have separate linker script files for debug and release. I tried setup this in project property, but it doesn't work. 
Thanks.



Attached Files Thumbnail(s)
   
Print this item

  STLinkGDB Debugger Server is closed/terminated
Posted by: kriisi - 15-12-2017, 10:31 AM - Forum: ARM gdb - Replies (1)

I have been working several months with my STM32L1xxx project with Embitz 1.11 on Windows 10. Some times I have needed to restart the IDE to get the debugger working. Now however I have tried all my different projects, two different debuggers (different cables too) and I have restarted IDE several times (and the target) and I have restarted windows and changed STLinks USB port. Now I'm out of ideas since there are no error messages to study.
With STM32 ST-LINK Utility I can still connect to target and program the sw. Just the Embitz debugger wont work.
Device manager says the debugger is working fine and there are no errors in windows events.
Only thing I haven't tried is installing Embitz again or using some other manufacturers debugger.
From JTAG I have only six wires connected (VCC, GND, TRST, TMS, TCLK, TDO ).

Print this item

Sad EbMonitor stopped working
Posted by: OliviliK - 15-12-2017, 02:47 AM - Forum: EmBitz IDE - Replies (12)

I can do single stepping and all other debugging commands in my F407 project.  I have enabled the EbMonitor in tools and linker settings like in all other projects where EbMonitor is working.

Could the problem be in the loader file?  In past, I did use loader files provided by EmBitz.  Now, I am generating all source files and loader file with CubeMX.  I can see that the old project map files have the _read and _write symbols.  In the new project map file, there are no duplicate definitions for these.  Actually, there are no _read and _write symbols.

How can I fix this?

Print this item

  transferring data to the console via SWO
Posted by: jheissjr - 12-12-2017, 02:33 PM - Forum: EmBitz IDE - Replies (4)

I really like the new EBmonitor.  I have one question about it so far.  If one were to write data to the ITM register in the Cortex-M core, will the data appear in the console?

Code:
void main()
{
 ITM->PORT[0] = 'H';
 ITM->PORT[0] = 'i';
}

Print this item