Currently I am sending the UART the strings I want to log and reading it on the host with any terminal.
In order to reduce the logging time and hopefully the image size as well (my flash is tiny), I figured out that the strings are unused in the embedded system, so why storing them on the flash?
I want to implement a server, whom I can send a hashed-key of any string (for example - it's ROM address) and the string will be output to file or screen.
My questions are:
- How to create the key2string converter out of the image file (the OS is CMX, but can be answered generally)
- Is there a recomended way to generate image, that will know the strings addresses but will exclude them from ROM?
- Is there a known generic (open-source or other) that implemented a similar logger?
Thanks