Newbie question
Newbie question
Hi
I'm a Delphi programmer and I need to start writing code on AVR processor.
Using Mikropascal and Mikroprog connected with my custom board will I be
able to debug the code line by line ?
Sorry if I made a stupid question
Thanks a lot
FL
I'm a Delphi programmer and I need to start writing code on AVR processor.
Using Mikropascal and Mikroprog connected with my custom board will I be
able to debug the code line by line ?
Sorry if I made a stupid question
Thanks a lot
FL
Re: Newbie question
Unfortunately, no. mikroProg for AVR is just a programmer, not a debugger. You can only use software simulator to debug line by line.
Regards
Regards
Re: Newbie question
Thanks for the answer.
Is there any device to debug from witin Mikroprg ?
tks
fl
Is there any device to debug from witin Mikroprg ?
tks
fl
Re: Newbie question
Unfortunately, the answer is no again. mE's software supports only their in-house developed hardware. If I remember correctly, there were plans for the development of hardware debugger for AVR, but I don't know the current status of that project. Maybe someone from the support team can give you more info.
Regards
Regards
- biljana.nedeljkovic
- mikroElektronika team
- Posts: 1043
- Joined: 30 Jun 2015 15:15
Re: Newbie question
Hello,
unfortunately, at this moment, we don't have a debugger for AVR, and you can only use software simulator.
Also, as aCkO mentioned, our software supports only in-house developed hardware.
As for the plans about developing a hardware debugger, we had them, but at this moment, I can't give you any certain information about its release.
Best regards,
Biljana
unfortunately, at this moment, we don't have a debugger for AVR, and you can only use software simulator.
Also, as aCkO mentioned, our software supports only in-house developed hardware.
As for the plans about developing a hardware debugger, we had them, but at this moment, I can't give you any certain information about its release.
Best regards,
Biljana
Re: Newbie question
Hi
as I say before Im a really newbie in this field, so can you please
explain more on debugging with a software simulator ? Is there any
doc I can read for undestrand ?
Tks
fl
as I say before Im a really newbie in this field, so can you please
explain more on debugging with a software simulator ? Is there any
doc I can read for undestrand ?
Tks
fl
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: Newbie question
Hi,
You can read about it in our Help section in the mikroPascal for AVR.
Software debugger does its work without the hardware being connected.
This can predict certain bugs that may occur in the code, however it can't respond to inputs, communicate with other devices etc...
Hardware debugging can be done by generating a COFF file and importing it into AVR Studio, there is a detailed explanation in our Help file on how to do this step by step.
I hope this clears it up.
Best regards,
Aleksa
You can read about it in our Help section in the mikroPascal for AVR.
Software debugger does its work without the hardware being connected.
This can predict certain bugs that may occur in the code, however it can't respond to inputs, communicate with other devices etc...
Hardware debugging can be done by generating a COFF file and importing it into AVR Studio, there is a detailed explanation in our Help file on how to do this step by step.
I hope this clears it up.
Best regards,
Aleksa
Re: Newbie question
Maybe with JTAGICE mkII Debugger but NOT only with AVR Studio simulator!!!!aleksa.jovanovic wrote:Hardware debugging can be done by generating a COFF file and importing it into AVR Studio, there is a detailed explanation in our Help file on how to do this step by step.
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: Newbie question
I believe that the JTAGICE mkII is mentioned in the instructions that I've mentioned earlier.dibor wrote:Maybe with JTAGICE mkII Debugger but NOT only with AVR Studio simulator!!!!aleksa.jovanovic wrote:Hardware debugging can be done by generating a COFF file and importing it into AVR Studio, there is a detailed explanation in our Help file on how to do this step by step.
Best regards,
Aleksa
Re: Newbie question
I'm very sorry but all others compilers(like IAR,ICC,GCC,CodeVisionAVR,BascomAVR)generates .coff file compatible with AVRStudio, but only ME doesn't!!!!!
Here quotation from Help :
"Generate COFF(Common Object File Format) file for software and hardware debugging under AVR Studio®." !!!!!!
So, I believed to ME and purchased MikroC compiler, but I can't to simulate and debug my programs!!!
I open ticket more then 6 month ago but got only child answers (like "I relaid that problem to our software department.
We will find problem and fix in some of next release of compiler.").
Please DO something.
Here quotation from Help :
"Generate COFF(Common Object File Format) file for software and hardware debugging under AVR Studio®." !!!!!!
So, I believed to ME and purchased MikroC compiler, but I can't to simulate and debug my programs!!!
I open ticket more then 6 month ago but got only child answers (like "I relaid that problem to our software department.
We will find problem and fix in some of next release of compiler.").
Please DO something.
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: Newbie question
I'm very sorry about the issues you are experiencing.
I've used the COFF file for a project and successfully used it to debug in AVRStudio.
Could you send me your project so I could see if it will debug properly?
Best regards,
Aleksa
I've used the COFF file for a project and successfully used it to debug in AVRStudio.
Could you send me your project so I could see if it will debug properly?
Best regards,
Aleksa
Re: Newbie question
Hello.
Tnx for answer.
I take simple example from ....Examples\Development systems\EasyAVR7\Seven Segment Display .
You can see all information in the tick # MXG-330-28858.
I do not want debug in disassembly window.
If you have any tutorial ,how debug ME program in AVRStudio, I think many users will happy to see it.
Best Regards.
Tnx for answer.
I take simple example from ....Examples\Development systems\EasyAVR7\Seven Segment Display .
You can see all information in the tick # MXG-330-28858.
I do not want debug in disassembly window.
If you have any tutorial ,how debug ME program in AVRStudio, I think many users will happy to see it.
Best Regards.
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: Newbie question
The tutorial for using mikroC PRO for AVR can be found at
Help > Tutorials > Using mikroC PRO for AVR with AVR Studio
Best regards,
Aleksa
Help > Tutorials > Using mikroC PRO for AVR with AVR Studio
Best regards,
Aleksa
Re: Newbie question
Hi.
It's not seriously answer!
Do you saw this tutorial????
This tutorial contains 8 rows of text and link to JTAGICE mkII Debugger!!!!
Where any word about software debugging in the AVRStudio?????
And ones again, I do not want to debug in assembler!!!
Yours .coff file is not compatible with any simulators/debuggers!!!!
Please try to change yours coff format!!!!!
Regards.
It's not seriously answer!
Do you saw this tutorial????
This tutorial contains 8 rows of text and link to JTAGICE mkII Debugger!!!!
Where any word about software debugging in the AVRStudio?????
And ones again, I do not want to debug in assembler!!!
Yours .coff file is not compatible with any simulators/debuggers!!!!
Please try to change yours coff format!!!!!
Regards.
Re: Newbie question
... little OT I think..... talking of Mikro C in wrong section can compromise thread readability