Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Debugging usin PICBASIC PRO

Status
Not open for further replies.

mtkee2003

Full Member level 2
Joined
Sep 24, 2005
Messages
132
Helped
4
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,356
hi

in some compilers like CodeVision or BASCOM we cun run the program line by line and step by step, so debugging the program is easy. i want to know that does PicBasic PRO support this capability?

in other word i want to debug Basic Codes line by line.

with best regards
 

hi blueroomelectronics

yes i know that MPLAB can debug PBP's Programs, but it can debug in Assembly not Basic.

i need a debugger in Basic

with best regards, Mostafa
 

mtkee2003 said:
hi blueroomelectronics

yes i know that MPLAB can debug PBP's Programs, but it can debug in Assembly not Basic.

i need a debugger in Basic

with best regards, Mostafa

proteus can do that just give try

regards
Fragrance
 

hi !!!

proteus can't do this job.

i want to debug Basic Codes line by line.

best regards
 

mtkee2003 said:
hi !!!

proteus can't do this job.

i want to debug Basic Codes line by line.

best regards

just read pic16 help file and then read topic debug format answer is there man proteus can do that i think you need some teaching
 

hi Fragrance.

thanks, i read the "PIC16 Microprocessor Model" document. proteus can support this High Level Languages:
IAR UBROF Loader
ByteCraft COD Loader
Hitech PICC and PICC Lite
Crownhill Proton Plus PIC BASIC compiler

but i want to debug programs that written with PIC BASIC PRO (from MELabs company Not Crownhill).

is it possible?

thanks in advance.
 

mtkee2003 said:
hi Fragrance.

thanks, i read the "PIC16 Microprocessor Model" document. proteus can support this High Level Languages:
IAR UBROF Loader
ByteCraft COD Loader
Hitech PICC and PICC Lite
Crownhill Proton Plus PIC BASIC compiler

but i want to debug programs that written with PIC BASIC PRO (from MELabs company Not Crownhill).

is it possible?

thanks in advance.



Yes it is with "MicroCode Studio Plus"...

Each line of source code is animated in the main editor window, showing you which program line is currently being executed by the host microcontroller. You can even toggle multiple breakpoints and step through your PICBASIC PRO™ code line by line.
The MicroCode Studio ICD communicates with the microcontroller using its hardware USART...

This project will introduce you to the MicroCode Studio In-Circuit Debugger with PIC16F628 :

http://www.rentron.com/PicBasic/MCS_X3.htm
 

    mtkee2003

    Points: 2
    Helpful Answer Positive Rating
hi hugo,

thanks, i have MicroCode Studio PLUS, but it seems that MicroCode Studio PLUS needs some special hardware for line by line debugging. when i work in KEIL or CodeVision they didn't need any hardware for debugging.

is there anyway to debug my program in PICBASIC PRO without any special hardware?

thanks in advance, Mostafa
 

when you want debug MicroCode Studio PLUS with Microchip pic , you must connect serial port ( TX, RX, GND ) from PIC MCU to PC.

"when i work in KEIL or CodeVision they didn't need any hardware for debugging." It is simulate ( not debug )
 

    mtkee2003

    Points: 2
    Helpful Answer Positive Rating
nooknikz said:
when you want debug MicroCode Studio PLUS with Microchip pic , you must connect serial port ( TX, RX, GND ) from PIC MCU to PC.

"when i work in KEIL or CodeVision they didn't need any hardware for debugging." It is simulate ( not debug )

thus it is impossible to simulate PICBASIC PRO, programs? is it true? :|

best regards.
 

MPLAB SUPPORTS SINGLE STEP DEBUGGING with PICBASIC Pro.
You can OPTIONALLY look at the assembly code if you like.
 

    mtkee2003

    Points: 2
    Helpful Answer Positive Rating
HI
you can debug with a small hardware(max232) . loock in help

--in circuit debugger
--hardware setup

that is all .it is too simple to make this hardware
 

    mtkee2003

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top