It is currently 20 Oct 2017 04:47

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 11 Aug 2017 12:50 
Offline

Joined: 08 May 2017 07:37
Posts: 19
I'm coming from Arduino and would like to start using mikroC Pro for AVR.
I have sucessfuly written my first, seccond and more programs. Now it's time to start debugging.

When I hit from menu Run > Start Debugger (F9). It starts and works, but this is only "virtual" (software) debugger that works even if mikroProg is not connected to PC.

How to start hardware debugger? I need to read some PINs and can,t do that with software debugger.

Thank you.

EDIT1
I have learnd that i'm missing this
Image
I dont have Build/Debugger type options to chose :( Why is that?

Currently using ATMEGA328P


Top
 Profile  
 
PostPosted: 14 Aug 2017 17:33 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 520
Hello,

Currently, hardware debugging is not supported for the AVR micro controllers and mikroe programmers.

Regards


Top
 Profile  
 
PostPosted: 16 Aug 2017 06:53 
Offline

Joined: 08 May 2017 07:37
Posts: 19
This means that the only way to do hardware debugging is via serial port? Or there are some other better methods of doing this? Thank you :)


Top
 Profile  
 
PostPosted: 16 Aug 2017 14:25 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 520
Hi,

Unfortunately, yes - only by using serial port - or you could use LED debug method - power on a led if the line of code has been successful - then you know that the specific line has been executed

Best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: