How to enable the Debug (print) Viewer in Keil uVision4 IDE console

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable the Debug (print) Viewer in Keil uVision4 IDE console

How to enable the Debug (print) Viewer in Keil uVision4 IDE console

It took me a while, plus a few contradicting and confusing answers from ARM support until I managed to make this work. Therefore, I do want to share with you the easiest method in order to save you some precious time (tested with MQX 4.0):

1. Make sure to install keil's TAD plugin during the MQX installation (it can also be installed separately from MQX\tools\keil_extensions\uVision4).

2. Make the following changes in the MQX configuration file "user_config.h":

#define BSPCFG_ENABLE_IODEBUG   1

#define BSP_DEFAULT_IO_CHANNEL  "iodebug:"

3. Rebuild BSP debug library.

4. Configure Debugger as detailed in your MQX release documentation, which can be found in the following folder: MQX\doc\tools\uv4\MQX-uVision4-Getting-Started.pdf

That's it, you're good to go - now you can see printf's using your uVision4 IDE console!

%3CLINGO-SUB%20id%3D%22lingo-sub-1113414%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20enable%20the%20Debug%20(print)%20Viewer%20in%20Keil%20uVision4%20IDE%20console%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1113414%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20took%20me%20a%20while%2C%20plus%20a%20few%20contradicting%20and%20confusing%20answers%20from%20ARM%20support%20until%20I%20managed%20to%20make%20this%20work.%20Therefore%2C%20I%20do%20want%20to%20share%20with%20you%20the%20easiest%20method%20in%20order%20to%20save%20you%20some%20precious%20time%20(tested%20with%20MQX%204.0)%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E1.%20Make%20sure%20to%20install%20keil's%20TAD%20plugin%20during%20the%20MQX%20installation%20(it%20can%20also%20be%20installed%20separately%20from%20%3CSTRONG%3EMQX%5Ctools%5Ckeil_extensions%5CuVision4%3C%2FSTRONG%3E).%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E2.%20Make%20the%20following%20changes%20in%20the%20MQX%20configuration%20file%20%22user_config.h%22%3A%3C%2FP%3E%3CP%3E%23define%20BSPCFG_ENABLE_IODEBUG%26nbsp%3B%26nbsp%3B%201%3C%2FP%3E%3CP%3E%23define%20BSP_DEFAULT_IO_CHANNEL%26nbsp%3B%20%22iodebug%3A%22%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E3.%20Rebuild%20BSP%20debug%20library.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E4.%20Configure%20Debugger%20as%20detailed%20in%20your%20MQX%20release%20documentation%2C%20which%20can%20be%20found%20in%20the%20following%20folder%3A%20%3CSTRONG%3EMQX%5Cdoc%5Ctools%5Cuv4%5CMQX-uVision4-Getting-Started.pdf%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThat's%20it%2C%20you're%20good%20to%20go%20-%20now%20you%20can%20see%20printf's%20using%20your%20uVision4%20IDE%20console!%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎12-31-2012 04:59 AM
Updated by: