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.

PIC BASIC

Imalu3055

Member level 1
Joined
Dec 23, 2020
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
269
Hi there!

I need to edit a .BAS file from a PIC16F628A microcontroller and nMicrochip no longer provides an editor. There is one from Microcode Mecanique but its value is approximately 270 Dollars, very expensive for the use that I will give it. Does anyone know a simple and free editor?

Thanks,

Claudio
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,462
Helped
4,304
Reputation
8,613
Reaction score
4,260
Trophy points
1,393
Activity points
129,071
Hi,

Isn't a .bas file a simple text file?
Then it may be edited with every text editor you like.

Klaus
 

Imalu3055

Member level 1
Joined
Dec 23, 2020
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
269
Hi Klaus !!

Once edited it must be compiled .BAS ->. HEX and then I save the PIC.
(The transmitter works perfect)

Claudio
 

Aussie Susan

Advanced Member level 4
Joined
Jan 5, 2015
Messages
1,248
Helped
377
Reputation
754
Reaction score
375
Trophy points
83
Activity points
13,517
Have you tried a Google search for "pic basic compiler" - when I did it showed several options (unfortunately also including the Microchip's one that is not now available) some that are free and some that have a cost.
However, check to see if there are 'extensions' (to the syntax or compiler capabilities etc.) that are expected by the source you have.
Frankly, the quickest way to move forward may be to convert this to C and use one of the free compilers (XC8 from Microchip as a suggestion). This may require that you study the original source and fully understand it before you start to create the equivalent C source, but that means you will be able to support it better into the future as well.
Susan
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,462
Helped
4,304
Reputation
8,613
Reaction score
4,260
Trophy points
1,393
Activity points
129,071
Hi,
Once edited it must be compiled .BAS ->. HEX and then I save the PIC.
The initial question was just about an editor.

For sure you need a compiler.....and many other things...

Are there still questions?

Klaus
 

Kripton2035

Advanced Member level 4
Joined
Jul 19, 2001
Messages
1,163
Helped
209
Reputation
422
Reaction score
182
Trophy points
1,353
Location
Western Europe
Activity points
7,856
the first lines beginning the BAS file generally tells you about the compiler that was used.
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,866
Helped
4,857
Reputation
9,732
Reaction score
4,640
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,540
The cheapest PIC BASIC compiler I know of is at www.oshonsoft.com and there is a limited trial version you can experiment with. It is far less expensive than $270, more like one tenth of that.

As a compiler it works well but and the debugging functions are quite good but it has a feeling of "written in MS BASIC" about it and the debugger runs painfully slow.

Brian.


[edit] cost for compilers for all PIC families is 29 Euros (about $29).
 

Imalu3055

Member level 1
Joined
Dec 23, 2020
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
269
Hello Betwixt!!!

A cost of 30 Euros is balanced with the use that I will give it. I appreciate the information.

Greetings,
Claudio
 

Imalu3055

Member level 1
Joined
Dec 23, 2020
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
269
Hello Kripton2035!

COW BASIC is very interesting. The only problem that I have several programs developed on the Pic Basic Pro Golden platform and the COW is not compatible. But hey ... I liked the Cow Basic.

Thank you,

Claudio
 

Aussie Susan

Advanced Member level 4
Joined
Jan 5, 2015
Messages
1,248
Helped
377
Reputation
754
Reaction score
375
Trophy points
83
Activity points
13,517
Then you have a decision: 1) pay for the PIC Basic Compiler; 2) find a free Basic compiler that takes the PIC Basic code; or 3) understand the code you have and then change whatever is needed to make it compatible with the Cow Basic compiler.
Susan
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top