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.

re-write some pieces of code in PIC BASIC PRO

Status
Not open for further replies.

gorkin

Advanced Member level 1
Joined
Feb 27, 2002
Messages
422
Helped
13
Reputation
26
Reaction score
5
Trophy points
1,298
Location
brazil
Activity points
3,375
Hello!

I am actually involving in re-wrote some pieces of code for one AVL vehicle tracker developed with microchip pic18f6627 uC. In this design, Melabs PIC BASIC PRO was used for develop the entire source code (in BASIC dialect).

The project initiate in 2005 and now, need some modifications (because of use another GPS module, GSM modem, and others fews hardware modifications). The main problem now concern about the methodologies adopted for another two programmers that begin the design:
1. They don´t use interrupts in serial tx and rx, the data comming from modules (GPS and GSM) are treated by polling using serin/serout subrotines

2. Not develop a good programming practice, the unstructural aproach result in poor code design, large utilization of goto´s statements instead of gosub´s.

3. Usage some peaces of assembly code for build data arrays instead of use arrays in BASIC language.

Well, thats is all. Then I would like hear if someone develop huge firmware using PIC BASIC PRO, the dificulties founded and the programmings abstractions utilized for contourn then.

Thanks in advance, Gorkin.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top