EmBitz
Where is Linker setting "Use EB monitor ..." - Printable Version

+- EmBitz (https://www.embitz.org/forum)
+-- Forum: IDE (https://www.embitz.org/forum/forum-1.html)
+--- Forum: Using EmBitz (https://www.embitz.org/forum/forum-2.html)
+--- Thread: Where is Linker setting "Use EB monitor ..." (/thread-73.html)



Where is Linker setting "Use EB monitor ..." - vdaniel - 04-11-2021

My project with EBmonitor for 1.11 does not compile in 2.0.

When I open the "Linker settings", I noticed, that the "Use EB monitor ..." disappears.

What am I doing wrong?

vdaniel


RE: Where is Linker setting "Use EB monitor ..." - embitz - 04-11-2021

That's no longer there.

ref:
https://www.embitz.org/forum/thread-51-post-302.html#pid302

Howto:
https://www.embitz.org/forum/thread-53-post-320.html#pid320


RE: Where is Linker setting "Use EB monitor ..." - vdaniel - 04-11-2021

(04-11-2021, 12:07 PM)embitz Wrote: That's no longer there.

ref:
https://www.embitz.org/forum/thread-51-post-302.html#pid302

Howto:
https://www.embitz.org/forum/thread-53-post-320.html#pid320

Hi, EmBitz,

I found the ebmon.h and ebmon.c, included in my project and
compiled successively.
I use the STM32G061C8T6 with the STLINK-V3MINI.

My code fragment:
// cli_init();  /* from 1.11 */
printf("Circle Starts!\r\n");
fflush(stdout); // don't wait for EOL, send prompt now


In the EB monitor window I see:

The EB monitor variables are not found.

Check if:
- You have added the EB monitor source files to your target.
  Menu: Debug->Plugins->EB monitor.

- Enable debug information at the compiler settings.
- Have a debugger probe with live variables capabilities.

Please, can you provide a brief instruction, how to use the new EB monitor
for not professional system programmer users like me.


vdaniel


RE: Where is Linker setting "Use EB monitor ..." - embitz - 04-11-2021

Sure but I would repeat myself, it is all in this thread
https://www.embitz.org/forum/thread-53-post-320.html#pid320

Just start reading from the begin.


RE: Where is Linker setting "Use EB monitor ..." - vdaniel - 08-11-2021

(04-11-2021, 01:39 PM)embitz Wrote: Sure but I would repeat myself, it is all in this thread
https://www.embitz.org/forum/thread-53-post-320.html#pid320

Just start reading from the begin.
Hi,

My problem with EBmonitor is solved!
The reason was that somewhere in my code was, inherited from an old project,
definition of function:
// Retarget function
int _write_r(struct _reent *r, int file, char * ptr, int len)
{
    r = r;
    file = file;

    HAL_UART_Transmit(&huart2, (uint8_t *)ptr, (uint16_t)len, 1000);

    return len;
}

I commented it and now EBmonitor runs.

Maybe this information will be useful.

vdaniel