PDA

View Full Version : Problem to compile my program



wagner
- 2nd July 2008, 20:20
I am an user of Proton and I have a problem that I dont know how to solve it.

Proton compiles my program normally but when start the asm compiler I have the result that you can see in the attached file. what I must to do to solve it?

The BASiC program is OK. If I remove the USB rotine the program compile the basic part and after the asm part. But When I insert the USB rotine, the basic compiler normally but the asm part show the problem of the "Out of range".

I have the PROTON IDE I update the compiler, by on line update but I dont find the problem.

I am using PIC 18F4550 USB port active. The program has 2200 lines.

I can see that the problem is in the PBP file, line 1110 I have the instruction:
"rcall initialiseusb@driver"

Thank you in advance

Wagner

Darrel Taylor
- 2nd July 2008, 20:34
Hi wagner,

It's a bit confusing with this being picbasic.co.uk/forum/

But the forum for Proton is at http://picbasic.org/forum/

We do PicBasic Pro here.
<br>

wagner
- 4th July 2008, 14:55
Hi wagner,

It's a bit confusing with this being picbasic.co.uk/forum/

But the forum for Proton is at http://picbasic.org/forum/

We do PicBasic Pro here.
<br>

Hi DT,

I tried in the picbasic.org/forum, but the people there told me to try here, because my problem is in the file .PBP

Wagner

mackrackit
- 4th July 2008, 15:23
Do you have Proton or PIC BASIC? I do not think a PBP file will work with anothet compiler. It might compile, but not correctly.

wagner
- 7th July 2008, 15:05
Do you have Proton or PIC BASIC? I do not think a PBP file will work with anothet compiler. It might compile, but not correctly.

Hi Dave,

I have the "Developement Suite Proton" Version 3.1 july 2005 that I bought in 2005.
I dont know what is PIC BASIC program. I have the program that I bought from Crowhill.
Wagner

mackrackit
- 7th July 2008, 20:17
Hi Dave,

I have the "Developement Suite Proton" Version 3.1 july 2005 that I bought in 2005.
I dont know what is PIC BASIC program. I have the program that I bought from Crowhill.
Wagner
This is PicBasic
http://www.melabs.com/products/index.htm#Compiler

There is an online manual on the above site. You might be able to figure out what the troubling line you have does and do a re-write for Proton ?