JTAG debug?

Post your requests and ideas on the future development of mikroPascal PRO for AVR.
Post Reply
Author
Message
mbruck
Posts: 51
Joined: 19 Apr 2006 21:55

JTAG debug?

#1 Post by mbruck » 24 Sep 2009 06:57

JTAG debug support for AVR compilers... When?
Why PIC developers are privileged with mikroICD almost from beginning?

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

#2 Post by mileta.miletic » 24 Sep 2009 15:39

Hi,

We will support COFF file generate from the next release of AVR compilers. So, you will be able to debug code written in our AVR compilers with JTAG from AVR Studio.
Regards,
Mileta

mbruck
Posts: 51
Joined: 19 Apr 2006 21:55

JTAG debug from compiler...

#3 Post by mbruck » 24 Sep 2009 18:08

No, no...

Not with COFF and AVR studio..... FROM compiler, as same as for PIC.

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: JTAG debug from compiler...

#4 Post by mileta.miletic » 26 Sep 2009 10:29

mbruck wrote:No, no...

Not with COFF and AVR studio..... FROM compiler, as same as for PIC.
It is not in our plans for the near future.
Regards,
Mileta

mbruck
Posts: 51
Joined: 19 Apr 2006 21:55

...

#5 Post by mbruck » 26 Sep 2009 15:06

We will support COFF file generate from the next release of AVR compilers. So, you will be able to debug code written in our AVR compilers with JTAG from AVR Studio.
Well, better than nothing then... Do you know when can we expect this feature ?

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: ...

#6 Post by mileta.miletic » 29 Sep 2009 14:52

Hi,

next release of AVR compiler is expected to be available by the end of the October.
Regards,
Mileta

sadman
Posts: 11
Joined: 13 Oct 2009 23:06

Re: ...

#7 Post by sadman » 11 Nov 2009 05:07

mileta.miletic wrote:Hi,

next release of AVR compiler is expected to be available by the end of the October.
hello,

is this supposed to be working with the current beta?

i can get COFF file generated but i'm having problem opening it in AVR Studio

when i open it and create a new projects, avr studio asks for path to sources of libraries (they're not supplied) and then asks for path to empty string
and after that, it complains it has no main()

Mapped files at 'C:\Program Files\Mikroelektronika\mikroC PRO for AVR\Uses\LTE64KW\' to 'C:\atmel\timer\'.
Mapped files at '' to ''.
JTAGICE mkII: Program entry function 'main' was not defined.

what are the correct steps to get it working?

thanks

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: ...

#8 Post by mileta.miletic » 11 Nov 2009 09:38

Hi,

Please send us your project (project folder with all files in it) if possible to http://www.mikroe.com/en/support/
Thanks.
Regards,
Mileta

sadman
Posts: 11
Joined: 13 Oct 2009 23:06

Re: ...

#9 Post by sadman » 11 Nov 2009 20:47

mileta.miletic wrote:Hi,

Please send us your project (project folder with all files in it) if possible to http://www.mikroe.com/en/support/
Thanks.
well, i've created an empty project with just one line (PORTA=0;) and it's the same (except it's not looking for library sources because there are none linked)

mikroc 2.10, avr studio 4.17

just tell me whether it works for you (opening coff file generated by mikroc in avr studio and being able to debug it with source code) and i'll find the problem if it's something about my setup

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: ...

#10 Post by mileta.miletic » 12 Nov 2009 10:48

Hi,

It works fine, please check instructions in mikroC help on using JTAGICE mkII debugger.
Regards,
Mileta

sadman
Posts: 11
Joined: 13 Oct 2009 23:06

Re: ...

#11 Post by sadman » 13 Nov 2009 06:41

mileta.miletic wrote:Hi,

It works fine, please check instructions in mikroC help on using JTAGICE mkII debugger.
thanks, that got me further (had to check "Open platform options next time debug mode is entered" checkbox and select correct options there)

now i gotta find out why there's a mismatch between the current position and arrow in c code window

JeffAC0C
Posts: 22
Joined: 25 Oct 2009 02:24

#12 Post by JeffAC0C » 16 Nov 2009 05:29

"It works fine, please check instructions in mikroC help on using JTAGICE mkII debugger."

May I know if there is debug support in mikroC Pro 1.45 for the MKII debugger for ICE?

I don't see any comment on the JTAGICE from searching the MikroC Pro help file.

Thanks!

sadman
Posts: 11
Joined: 13 Oct 2009 23:06

#13 Post by sadman » 16 Nov 2009 06:25

JeffAC0C wrote:"It works fine, please check instructions in mikroC help on using JTAGICE mkII debugger."

May I know if there is debug support in mikroC Pro 1.45 for the MKII debugger for ICE?

I don't see any comment on the JTAGICE from searching the MikroC Pro help file.

Thanks!
there is a coff file generation support (maybe only in mikroc 2 beta), no support for debugging, you have to debug in avr studio (using that coff file)

JeffAC0C
Posts: 22
Joined: 25 Oct 2009 02:24

#14 Post by JeffAC0C » 16 Nov 2009 06:30

Oh, yes. I see now. This applies to the v2.10 only. Thanks!

Dawn
Posts: 7
Joined: 09 May 2009 15:31

Re: JTAG debug?

#15 Post by Dawn » 25 Dec 2010 02:27

In my view, you should reconsider implementing JTAG debugging with JTAGICE MKII into your otherwise brilliant software. I am currently dearly missing that function as AVR Studio seems to disassemble strange call-statements that do not appear during the normal function and which lets the program continue at some "data or unknown opcode"...

yours,
Dawn

Post Reply

Return to “mikroPascal PRO for AVR Wish List”