User forums > Embedded development
I need a Debug output window (RS232)
oBFusCATed:
You have to describe it lots of detail if you want this implemented.
Keep in mind that I'm not embedded programmer and I've never programmed embedded devices (except arduino, but it doesn't count).
So please describe the whole setup you're using at the moment also please answer all unanswered question from my previous post.
scarphin:
I think he wants an output that shows the serial port (rs232) packets formatted in various ways. Like for example when a program is communicating with a USB memory, there are lots of packets coming in and out in the USB bus. He wants to see these packets in a window on CB but for the serial port (rs232).
oBFusCATed:
OK, but how do I capture them? I want details.
ILoveSpeccy:
So, it's easy ... :)
I see two possibilities to realize it:
1. Open a COM port and receive the strings. The characters (ASCII 32-255) will be displayed in this window. A new row is started with "\ n". (A simple terminal, I need only receiver)
2. It runs an external program. The program writes to "stdout", which is received via COM port. This information should be forwarded to the desired CodeBlocks-window.
I prefer the second possibility. I am very flexible with it.
I do not need formatting or otherwise. Simply display.
Best regards
ILoveSpeccy
P.S. sorry for my English.
oBFusCATed:
1). It won't be implemented*, because COM handling is not an easy thing to do, it is even harder to do it cross platform way.
2). What is the benefit here? As far as I can see you can run your tool in a terminal and then inspect its output there.
You can setup a tool which you can start from C::B (see Tools->Configure tools...)
* This is at least someone else, with a lot of free time and desire to implement it and maintain it in the long run, steps up.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version