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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 795
» Latest member: James
» Forum threads: 791
» Forum posts: 5,453

Full Statistics

Latest Threads
How to choose between sev...
Forum: EmBitz IDE
Last Post: vdaniel
Yesterday, 09:29 AM
» Replies: 0
» Views: 26
Hou to use stm32L4
Forum: EmBitz IDE
Last Post: fiim
06-20-2017, 11:36 AM
» Replies: 2
» Views: 90
Assembler project in EmBi...
Forum: General
Last Post: troyerta
06-17-2017, 03:44 AM
» Replies: 1
» Views: 134
Can't flash Olimex H407 B...
Forum: ARM gdb
Last Post: troyerta
06-17-2017, 03:41 AM
» Replies: 0
» Views: 45
Suggestions future releas...
Forum: EmBitz IDE
Last Post: Droid32
06-15-2017, 12:56 PM
» Replies: 128
» Views: 40,845
Ignoring Timer interrupts...
Forum: ARM gdb
Last Post: amramsey
06-14-2017, 01:33 AM
» Replies: 2
» Views: 140
Can EmBitz display variab...
Forum: EmBitz IDE
Last Post: nathanrhoch
06-08-2017, 02:53 PM
» Replies: 5
» Views: 520
EmBitz with STMCubeMX
Forum: EmBitz IDE
Last Post: DD4DA
06-02-2017, 12:26 AM
» Replies: 16
» Views: 2,384
EB monitor Question
Forum: EmBitz IDE
Last Post: OliviliK
05-25-2017, 01:01 AM
» Replies: 12
» Views: 1,765
ST-Link V2-1 and Windows ...
Forum: ARM gdb
Last Post: vargham
05-17-2017, 11:53 AM
» Replies: 17
» Views: 2,286

 
  How to choose between several nucleos?
Posted by: vdaniel - Yesterday, 09:29 AM - Forum: EmBitz IDE - No Replies

I have several prototypes based on different nucleo boards connected
simultaneously to USB.  For example generator, based on nucleo-f334r8
and counter, based on nucleo-l432
Sometimes are connected up to 3, even more.

I have noticed, that debugger try to program even wrong type microcontroller
depending of the order, how boards were connected to USB.  In such case to
cure the problem I have to close EmBitz, disconnect all nucleos.  And then
start again with the correct order.

How can I tell to EmBitz, which program I am debugging just now?

If there is no such possibility, it would be very useful to implement direct
choice between several programmer/debugger devices connected to USB
in the next version of EmBitz.

Great thanks.

vdaniel

Print this item

  Hou to use stm32L4
Posted by: fiim - 06-19-2017, 10:12 AM - Forum: EmBitz IDE - Replies (2)

Hello! I would like to use stm32L4. Like someone already uses. But I was not able to create a project for this controller(not found template). And separately, did not find for it the startup file(.s) and the .dl file. Share how you use this controller?

Print this item

  Can't flash Olimex H407 Board, GDB is blind
Posted by: troyerta - 06-17-2017, 03:41 AM - Forum: ARM gdb - No Replies

On two separate applications and targets now, I've been unable to flash and debug an external board using the ST-Link 2.0 built onto a brand-new Nucleo.

I take off the two top jumpers per user manual instructions, I triple check my pinout, and GDB says there is an unknown chip id! 0

GDB connects to the ST-Link just fine, and it reads the core voltage correctly. Though it says Chip ID is 00000000, and Core ID is 00000000. The GDB console's last output is "GDB connected.", but it just hangs and doesn't ever erase or flash the device.

Keil flashes and debugs firmware just fine in this case, so I know the connection is good.

The targets have been the F446RE and now an F407ZGT6 on an Olimex H407 board with a JTAG breakout - both of which are supported by Embitz's GDB for a long time now. I also make sure to power the target before powering the ST-LINK (per the nucleo user manual).

Is there something I'm doing wrong? I've run into this stuff before with new parts the GDB doesn't support immediately, but these parts are old now.

STM32-Nucleo 64 Boards (PDF Warning) page 19

This guy's blog post for connecting ST-Link to JTAG - works fine for Keil IDE.

and the Olimex H407G User Manual

Print this item

  Ignoring Timer interrupts while debugging?
Posted by: amramsey - 06-08-2017, 04:38 PM - Forum: ARM gdb - Replies (2)

Is there a way to disable various interrupts while debugging with Emblitz? At a minimum, having the timer interrupts not firing while single stepping would be handy. I'm using an ST-Link/V2 for debugging, but could switch over to a j-link if required. 

I looked through the debug options but couldn't find anything obvious to turn this on or off. Perhaps an environment variable that I need to set? Keil does this sort of thing so I know it is possible, but just can't find a setting in Embitz to make it happen.

Thanks,
Aaron

Print this item

  Assembler project in EmBitz
Posted by: Isaev_ivan - 06-07-2017, 12:37 PM - Forum: General - Replies (1)

Hello, everybody! Smile I usually wrote my project on assembler language in IAR. But because of I have not license for IAR, I decided start to use new for me IDE - EmBitz. Somebody could help me: how to create project on assembler language in EmBitz???

Print this item

  No memory usage info after build
Posted by: mculibrk - 05-11-2017, 05:59 PM - Forum: EmBitz IDE - No Replies

I'm playing lately with EmBitz probably doing something it was not supposed to be done...
trying to make a "combined project" where each build target has more than just "a few changed build options" (using different palforms, archs etc) 

I'm using "build targets" where each target has a different set of build and output directories. To simplify I wanted to use the ${TARGET_NAME} as the "base" folder name and have all the obj/bin under. 
To allow easy "cloning" of the target for different chips I thought of using variables in folder names, like this:
   

build is working ok, all files are generated at the right place but I noticed that there is no "usage report" at the end of build process, i get just this:
   
instead of the "usage" as normally:
   

If I remove the variables from the "Output filename" field and enter there a relative or absolute path the usage report is back again.
Is that supposed to be like this?

How can I show that "usage report" after build and keep variables in the output directory?
There is no option (at least I did not find anything) in options/settings/environment regarding that.

Any help would be appreciated.
Regards

Print this item

  File role with expansion "*.specs".
Posted by: AVI-crak - 05-08-2017, 06:57 PM - Forum: General - No Replies

Good afternoon.

According to information from a global garbage can, files with expansion ".specs" are intended for automatic assembly of packages, including - libraries. Thus the program code from catalogs of GCC is included in the project. 

This GCC, "correct" from the point of view of creators, - distribution of the memory card.
It is a doll of the file of setup of the periphery, the general and rather buggy for all line of ST chips - for time.
It is a set of functions having the weak announcement. A set of functions of the world of adult cars, with brutal appetite.
Part of expansions for the used programming languages, a peculiar crutch. Replacement of net set a mnemonik of the specific chosen processor, on set a mnemonik from the weakest and defective of all line.

And the most important, at the time of connection of similar libraries - in impudent switches the version of a kernel of the processor. All manual settings from ID EmBitz - are just ignored.

That I want.
To understand as well as what to write to the *.specs" file - for the minimum impact on process of assembly of an insertion.

Print this item

  ESP32 Support
Posted by: OliviliK - 05-02-2017, 01:38 PM - Forum: EmBitz IDE - No Replies

The ESP32 SDK has started to mature.  The developers can use the "native" tools in Linux, simple Arduino IDE, slow Eclipse, common Javascipt, popular Python, traditional Lua, and some others. Perhaps it would not be too big effort to install the ESP32 libraries and tool kits on EmBitz.  That would attract new users and keep the existing users on EmBitz.

I have been using ESP32 on Arduino IDE, but there is a slight conflict when Arduino is using the quite nice infrastructure and architecture in the "Arduino way".  The core ESP32 has a rich support for embedded IoT applications and the price per performance and functionality is excellent.

Print this item

  Custom build and link to executable
Posted by: mri - 04-27-2017, 07:57 AM - Forum: EmBitz IDE - Replies (1)

Hi all!

I'm using EmBitz 1.11 and building for STM32F411, using the default EmBitz bare-metal compiler.
I have a binary file (.bin) that I would like to convert to an object file (.o) and link to the project output executable (.elf).

I can convert the binary file manually with objcopy, but would like EmBitz to do it automatically:

arm-none-eabi-objcopy.exe -I binary -O elf32-littlearm -B ARM my_file.bin my_file.o

I would like to add "my_file.bin" to the project, then use the "Custom build" for this file to run objcopy, and then somehow get the "my_file.o" linked to the executable.

Below the "Custom build" fields there is this text: "You can use the same macros as those in advanced compiler options."
Where can I find out those macros?

Is this possible, and if so, how?



OK, got a bit forward.

When right clicking on my .bin file after it has been added to the project, I get the Properties dialog.
There in Build tab I enable "Compile file" and "Link file".
Then in the Advanced tab, I enable "Use custom command to build this file".
In the textbox below I add:
arm-none-eabi-objcopy.exe -I binary -O elf32-littlearm -B ARM my_folder\my_file.bin my_file.o

Now I can see that my_file.o is getting built, but it does not end up in the object file folder.
I can see that GCC tries to link in my_file.o to the executable, but it fails because my_file.o is in wrong folder.

Those macros, anyone?
:-)

Print this item

  Project runs only in debug
Posted by: smitjs - 04-22-2017, 05:50 AM - Forum: EmBitz IDE - No Replies

Hi,
I am very happy with Embitz 1.11, and using it on a STM32C8T6 (blue pill) from ebay.
Even so, sometimes I get totally frustrated with problems I don't understand.
I started a new project, reasonably minimum code to get underway with SPI which I have not used on the STRM32 before. Everything works fine under the debugger, but it will not run stand-alone. Even under the debugger, reset the processor, and everything stops.
Looking at a previous project, I saw I used STM32R8 instead of STM32C8. So I deleted the project and started again using STM32R8 instead of STM32C8 in the project.
Everything works fine!
My knowledge of Embitz and ARM is surely lacking, so I assume my fault is mine, but I cannot see the problem.
Please help.
I renamed the project .edb file in order to attach it.
Thank you

Print this item