Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PicBasic Pro, PicBasic Plus, Proteus Download

Status
Not open for further replies.

sonsivri

New Member
I have updated my web site from hatshepsut.virtualave....
The new address is www.sonsivri.com
you can download PicBasic Pro, PicBasic Plus, (proteus not now) full versions.
Entertainment and knowledge is coming.
 
Hey, I got your PicBasic Pro and I'm having trouble with your software. It compiles correctly, but doesn't work like I'm expecting it to. It should output "Hello World" onto the screen using Hyperterm. But I don't get anything.

--------------------------------------------------------------------------------
Include "bs1defs.bas"

DEFINE CHAR_PACING 1000

Serout PORTB.1, N2400, [15]

START:
High PORTB.0
Pause 1000

Serout PORTB.1, N2400, ["Hello World"]
Serout PORTB.1, N2400, [10]
Low PORTB.0
Pause 1000
Goto START
End
--------------------------------------------------------------------------

and here is another program that does similar function, but doesn't work either

--------------------------------------------------------------------------
Include "bs1defs.bas"

DEFINE CHAR_PACING 5000

Serout PORTB.1, N2400, [15]

START:
PORTB.0 = 1
Pause 1000

Serout PORTB.1, N2400, ["Hello", 10, "World"]
PORTB.0 = 0
Pause 1000
Goto START
End
-----------------------------------------------------------------------

does your software not work correctly with P16C765 chips??? do you have an unaltered version of the software?
 
I am guessing you have the UV ereasable version of the P16C765....
:?:
how do you have it connected?
What crystal do you have?
Are you sure that the grounds between PC and PIC are connected?
What voltage levels are you using for serial transmition?
Are you using a MAX232?
Are you connecting it straight to the PC?
Is your PC set for 2400 baudrate?

:!: There are some things you are missing as well:
- You are not defining your TRIS registers.
- Include "modedefs.bas"

Try this:
Code:
Include "modedefs.bas"

DEFINE CHAR_PACING 1000 

TRISB = 0

Serout PORTB.1, N2400, [15] 

START: 
High PORTB.0 
Pause 1000 

Serout PORTB.1, N2400, ["Hello World", 10] 
Low PORTB.0 
Pause 1000 
Goto START 
End

I hope this helps you some

Ivancho
 
thanks

yes, I didn't have the TRISB register defined. I checked out the following things

1). ground between PC & PIC is connected
2). i'm using inverted 2400baud, 8N1 directly from PIC to PC at 0-5V
3). i'm using a 4MHz crystal

the code will run and execute on a 16F877A, but the same code compiled for the 16C765 will not work. Is it because of the modified PicBasic Pro compiler used?
 
Did you change the settings so that it compiles for a P16C765 instead that for the 16F877?

Are you sure that the PIC is ereasable and not OTP chip? Are you setting the chip to accept external oscilator? Can the P16C765 blink a LED.... is it alive?

From the datasheet:
The PIC16C745/765 devices have special features to
reduce external components, thus reducing cost,
enhancing system reliability and reducing power consumption.
There are 4 oscillator options, of which EC is
for the external regulated clock source, E4 is for the
external regulated clock source with PLL, HS is for the
high speed crystals/resonators and H4 is for high
speed crystals/resontators with PLL. The SLEEP
(power-down) feature provides a power-saving mode.
The user can wake up the chip from SLEEP through
several external and internal interrupts and resets.

good luck

Ivan
 
Thaks for the replies

1). Yes it is compiling for the 16C765
2). No, it isn't a OTP chip, it is UV, and has been erased
3). I can get an LED to blink, so the chip is somewhat functional
4). The chip is set to HS mode for an external oscillator
 
Did you program the PIC with the code I posted? Does the LED ( + resistor) blink on portB.0. That code works well over here :?

:arrow: A schematic of how you have everything connected would help a lot. Can you connect something into the serial port to make sure the port is working? The HS setting is for high speed, try porgramming it with a XT option or crystal option insead and see if that makes a difference.

In my computer there are 2 serial ports and I always have to double check that the one I am talking to is the one I open. It might apply to you too.

If your PIC blinks there is a problem most likly on the PC side. Perhaps not the right baudrate, if you get something but is not what you sent try sending in non-inverted. Try at 9600 baudrate.

Let me know who it is going
Good LUck

Ivan
 
Thanks for posting the software! Really appreciate them.

.. Why are there several versions of Picbasic Plus v1.24X?



sonsivri said:
I have updated my web site from hatshepsut.virtualave....
The new address is www.sonsivri.com
you can download PicBasic Pro, PicBasic Plus, (proteus not now) full versions.
Entertainment and knowledge is coming.
 
Thx for the software, i already have a old 2.33 of PBP (regularly paid) and not undestranding whi this kind of minor update are not freely avalaible on melabs website.....
 
"trutan"
There are archive. This for a different syntaxs in source code.
Maybe you need the old versions :)

"Robertino"
You can download 2.43 version now from my web site.

New tools:
Pic Basic Plus 1.4j, 2.1
Pic basic Pro 2.43
MicroCode Studio Plus 2.0.5.2
Proteus 6.2 SP4
PicC (PCW)
Hitech PicC
Bascom-Avr
Bascom-8051
 
thanks....

hey, do you have or know where download :

Salvo RTOS library for pic ? (not the lite version) ???

thx Roberto
 
ivancho CAN YOU HELP PLEASE?

hi, it seems that you would be able to help?
I have posted a long series of replies to explain what difficulties I am having. Please see 'Karenthestudent' under micro controllers?
thank you
(anyone that could help would be great) :?:
 
The page to download thr picbasic pro is dead?
Any ideas how I can download the picbasic pro 2.44?

Thanks
 
i can't enter to sonsivri.com why?

Deleted by moderator
This site isn't for requests for pirate software
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top