views:

268

answers:

1

Hello,

I dont know if this is a very specific question, but still posting in hope that there might be few who have this prior experience/background and can point something to me in my problem.

I am havign a C code for ARM926 target. I am trying to debug it using Arm Xtended Debugger(AXD). The main( ) of this code, takes say 14 command line arguments which are mentioned in the code warrior project settings at proper place and behaviour of the code is as expected.

But when i try to use the same AXF(Arm eXecutable Format file) file and try to do source level debugging using the RVDEBUG by changing the settings of the Codewarrior project, and start debugging using the RVDEBUG(after connecting to the target) argc value is 1, and the behaviour of the code is unexpected.

When i select RVDEBUG in code warrior settings i give the same options as i used during AXD debug session.

My question is :

1.) I am using the same AXD for both the debugging sessions(AXD and RVDEBUG), why behaving the way it is.

2.) Is there any other setting change needed in codewarrior project setting to get it working using the RVDEBUG debugger.

3.) Is there any other setting that i need to give in RVDEBUG debugger IDE to get it working using the RVDEBUG debugger. How do i solve this.

P.S. I need to use RVDEBUG because it gives me a clean way of source level debugging, and profiling, better in some sense than AXD.

-AD

A: 

Hello, I don't use CodeWarrior but I know AXD and RVD: I remember Code Warrior can invoke AXD with the suitable arguments for the image, and so on. I don't know if Code Warrior can invoke RVD as well. So I suppose you run RVD yourself, outside any Code Warrior menu, don't you? Then you just have to add the arguments in the dedicated input box at the bottom of the Load Image menu.

If this still does not work, I suggest you have a look at the semihosting options (they're rather in the connections options of RVD than in Code Warrior's).

Good luck!

RonBlackCultist

related questions