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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 829
» Latest member: msakata
» Forum threads: 803
» Forum posts: 5,519

Full Statistics

Latest Threads
ST-Link V2-1 and Windows ...
Forum: ARM gdb
Last Post: woocom
08-17-2017, 09:12 AM
» Replies: 35
» Views: 3,788
How to enable ""JTAG-DP D...
Forum: EmBitz IDE
Last Post: dietervolke
08-14-2017, 10:52 PM
» Replies: 0
» Views: 82
Big collection of SVD-fil...
Forum: SVD (System view) files
Last Post: cvrtky
08-04-2017, 09:36 PM
» Replies: 1
» Views: 267
Problem launching debugge...
Forum: EmBitz IDE
Last Post: papawhiskey
08-03-2017, 03:01 PM
» Replies: 0
» Views: 110
EmBitz pros and cons
Forum: EmBitz IDE
Last Post: cvrtky
08-02-2017, 11:48 PM
» Replies: 5
» Views: 353
problem flashing Nucleo F...
Forum: STmicro
Last Post: crutzel
07-29-2017, 10:36 PM
» Replies: 9
» Views: 1,010
EmBitz with JLink and LPC...
Forum: EmBitz IDE
Last Post: EmBitz
07-29-2017, 04:06 PM
» Replies: 1
» Views: 61
EmBitz source code / SVN
Forum: EmBitz IDE
Last Post: jibaer
07-29-2017, 02:33 PM
» Replies: 2
» Views: 195
nucleo-32 STM32L432 wokin...
Forum: STmicro
Last Post: vdaniel
07-23-2017, 08:30 AM
» Replies: 8
» Views: 1,182
IDE pop's up annoying fil...
Forum: EmBitz IDE
Last Post: EmBitz
07-19-2017, 05:23 AM
» Replies: 6
» Views: 257

 
  How to enable ""JTAG-DP Disabled and SW-DP Enabled"" mode?
Posted by: dietervolke - 08-14-2017, 10:52 PM - Forum: EmBitz IDE - No Replies

STM32F446 RM0390, page 33.4.2
STM32F429 RM0090, page 38.4.4
describes that at reset debug interface are setup as ""Full SWJ (JTAG-DP + SW-DP)"" eating 5 pins.
This is also mentioned at page 7.3.1. (RM0390)

Page 33.4.4 (RM0390) Describes the procedure prior change in MODER register to enable other modes, a JTAG sequence.
How/can i turn from that default mode to ""JTAG-DP Disabled and SW-DP Enabled"" mode because
i need PA15 PB3 PB4 pins because any changes to GPIO MODER have no affect as of now.

The impression is that under system reset the debugger host never sends the JTAG sequence
to switch from JTAG-DP to the SW-DP and tus enabling user software to change MODER etc.

Principles are described here:
http://infocenter.arm.com/help/topic/com...hfbhc.html

Print this item

  Problem launching debugger from IDE
Posted by: papawhiskey - 08-03-2017, 03:01 PM - Forum: EmBitz IDE - No Replies

Hi,

I'm new to Embitz and am quite impressed with it however, I'm having some problems trying to get the debugger to run against a remote GDBServer that was launched by OpenOCD. It may just be a misconfiguration issue on my part but despite trying numerous different configurations, I can't get it to work.

I have set the interface to 'Generic' and entered the IP address and port of the remote GDBServer but when I try to start debugging, I get an error:

'No debug interfaces configured. You want to do it now?'

There is an interface configured though - perhaps it is misconfigured?

I know the remote GDBServer is working correctly because I can start the version of GDB supplied with EmBitz (arm-gdb.exe) from the command line, connect to it and debug.

Any ideas what I must do to get this to work.

TIA!

Print this item

  Big collection of SVD-files
Posted by: jibaer - 07-30-2017, 08:58 PM - Forum: SVD (System view) files - Replies (1)

can be found here:

https://github.com/posborne/cmsis-svd

in subdir data.

Print this item

  EmBitz pros and cons
Posted by: jibaer - 07-29-2017, 03:12 PM - Forum: EmBitz IDE - Replies (5)

EmBitz is great for fast development of embedded projects but there are some shadows...

I compared EmBitz with Code::Blocks-16.01 and GnuMcuEclipse and found some good and some weak points:

First the good ones:
+ It is very fast. Loads a lot faster then C::B and Eclipse and project build is faster then GnuMcuEclipse
+ Very good support for many embedded plattforms compared to C::B. GnuMcuEclipse also has good Cortex-M support
+ Good integration of embedded debugging compared to C::B. GnuMcuEclipse also has good embedded debugging support

And now the shadows:
- The compiler is totally outdated.
- The support of different compilers is very bad compared to C::B
- It seems that the development is stalled



It would be nice to merge the strength of C::B (Compiler-Support) and EmBitz(plattform-support and debugger-integration)  to get a better version of EmBitz. And i think with a move to soucreforge or github there would be a chance to get more developers for active development.

Print this item

  EmBitz with JLink and LPC1114
Posted by: jibaer - 07-29-2017, 02:50 PM - Forum: EmBitz IDE - Replies (1)

I started with a tiny LPC1114 project (the classic blinky) in EmBitz and found two errors in the scripting/templates:

- Debugger show no semihosting output.
  -> in file debuggers/interfaces/jlink/nxp/interface.script line:210 is commented out.
  remove the comment-characters and semihosting-printf will work

- There is a mismatch between section-names in gcc_arm.ld and startup_ARMCM0.S
  -> change section-name in startup_ARMCM0.S from 'vectors' to 'isr_vector'

Greetings from Berlin

Jan Ingwer Baer

Print this item

  EmBitz source code / SVN
Posted by: jibaer - 07-22-2017, 09:17 PM - Forum: EmBitz IDE - Replies (2)

How can i download the EmBitz-sourcecode?

The download function on the embitz SVN page doesnt work, and if i try to checkout with tortoise-SVN get an error message :
"Redirect cycle detected for URL 'https://www.embitz.org/svn'"


Greetings from Berlin

Jan Ingwer Baer

Print this item

  IDE pop's up annoying files!
Posted by: dietervolke - 07-16-2017, 04:44 PM - Forum: EmBitz IDE - Replies (6)

Every time a debug session is started after flash download to device the IDE pops up the "startup_stm32Fxxxxx.S"
file i recall it was possible to disable this annoying thing but i have forgotten how?

Print this item

  Font Size change
Posted by: DD4DA - 07-02-2017, 11:27 PM - Forum: EmBitz IDE - Replies (2)

Hello,

i am trying to modify the font size of memory or watches window. How is it possible to change them?

Print this item

  Custom start address of work program
Posted by: Bogdan - 06-24-2017, 11:27 PM - Forum: STmicro - Replies (2)

Hello everyone=)
Could you help me. This is stm32f0 project. I want to make start  address of my program at 0x8000800. How can I do it in Embitz IDE? When I created my project, I changed vector table start:
 https://www.dropbox.com/s/8pm8znjvh1z58d3/qwe.bmp?dl=0
 and after this I changed ld file:

Code:
  ROM  (rx) : ORIGIN = 0x08000800, LENGTH = 64K
  MyBufferRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0xC0
  RAM (rwx) : ORIGIN = 0x200000C0, LENGTH = 8k-192
Code:
SECTIONS
{
  .myBufSection (NOLOAD):
  {
      *(.myBufSection)
  } > MyBufferRAM
 In main() I relocated vector table to myBuferSection in RAM:
Code:
void relocate_vector_table(void){
__disable_irq();

// Copy the vector table from the Flash (mapped at the base of the application
 // load address FLASH_START_WORK_ADDR) to the base address of the SRAM at 0x20000000.
uint32_t i;
for(i = 0; i < 48; i++)
{
  VectorTable[i] = *(__IO uint32_t*)(FLASH_START_WORK_ADDR + (i<<2));
}
 // Enable the SYSCFG peripheral clock
RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE); // Not Reset, Clock

// Remap SRAM at 0x00000000
SYSCFG_MemoryRemapConfig(SYSCFG_MemoryRemap_SRAM);

__enable_irq();
}
My Bootloader is situated at 0x8000000 . When I do these cases for stm32f030c6, everything is fine and works.  But when I created project for stm32f030c8 and did the same, something went wrong and  program doesn't work. In this case debug works good and I scroll my program step by step, but nothing happens (in program I use USART peripheral and it must send me a message). What am I doing wrong?



Attached Files
.bmp   qwe.bmp (Size: 167.68 KB / Downloads: 21)
Print this item

  Custom start address of work program
Posted by: Bogdan - 06-24-2017, 11:18 PM - Forum: EmBitz IDE - No Replies

Hello everyone=)
Could you help me. This is stm32f0 project. I want to make start  address of my program at 0x8000800. How can I do it in Embitz IDE? When I created my project, I changed vector table start:
 https://www.dropbox.com/s/8pm8znjvh1z58d3/qwe.bmp?dl=0
[Image: qwe.bmp?dl=0]
 and after this I changed ld file:

Code:
   ROM  (rx) : ORIGIN = 0x08000800, LENGTH = 64K
   MyBufferRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0xC0
   RAM (rwx) : ORIGIN = 0x200000C0, LENGTH = 8k-192
Code:
SECTIONS
{
   .myBufSection (NOLOAD):
   {
       *(.myBufSection)
   } > MyBufferRAM
 In main() I relocated vector table to myBuferSection in RAM:
Code:
__attribute__ ((section (".myBufSection"))) uint32_t VectorTable[48];
__attribute__((aligned(32))) uint32_t VectorTable[48];

void relocate_vector_table(void){
__disable_irq();

 // Copy the vector table from the Flash (mapped at the base of the application
  // load address FLASH_START_WORK_ADDR) to the base address of the SRAM at 0x20000000.
 uint32_t i;
 for(i = 0; i < 48; i++)
 {
   VectorTable[i] = *(__IO uint32_t*)(FLASH_START_WORK_ADDR + (i<<2));
 }
  // Enable the SYSCFG peripheral clock
 RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE); // Not Reset, Clock

 // Remap SRAM at 0x00000000
 SYSCFG_MemoryRemapConfig(SYSCFG_MemoryRemap_SRAM);

__enable_irq();
}

My Bootloader is situated at 0x8000000 . When I do these cases for stm32f030c6, everything is fine and works.  But when I created project for stm32f030c8 and did the same, something went wrong and  program doesn't work. In this case debug works good and I scroll my program step by step, but nothing happens (in program I use USART peripheral and it must send me a message). What am I doing wrong?



Attached Files
.bmp   qwe.bmp (Size: 167.68 KB / Downloads: 16)
Print this item