Pumpkin, Inc.

Pumpkin User Forums

compile problem

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

compile problem

Postby hakan » Sat Dec 27, 2003 2:59 am

i have downloaded salvo demo. when i change processor type to 16f84 and lib node to sfp40amb or sfp40aab or sfp40aaa i can not able to compile the tu1/sysa/tu1lite.pjt. i use mplab5.7 and htsoft's compiler.
i can't understand the reason why i get error messages.
is there anybody who can help me?
thks,

------------------
hakan

[This message has been edited by hakan (edited December 27, 2003).]

hakan
hakan
 
Posts: 3
Joined: Sat Dec 27, 2003 12:00 am
Location: istanbul, turkey

Re: compile problem

Postby aek » Sat Dec 27, 2003 3:31 am

Hello.

On the 'F84, I get fixup overflow errors using MPLAB v6.4 after configuring salvo ut u1sysa u1lite for the 'F84.

This is because the Salvo freeware libraries expect RAM in bank1, which the 'F84 doesn't have (it has only a RAM bank 0).

You'll have to try using Salvo Lite with a larger PIC (e.g. an 'F87x) that has bank 1 RAM.

Salvo Pro users can run Salvo on the 'F84 by locating Salvo's global objects in bank 0.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: compile problem

Postby aek » Sat Dec 27, 2003 8:42 am

On further reflection, this means that the standard '40a libraries are basically useless, and we should build them with Salvo variables located in bank 0.

I need to check with HI-TECH on some issues to solve this problem. If we can generate new '401 libraries that will work on the 'F84, we will post them to the Salvo Lite download area and included them in the next release.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: compile problem

Postby hakan » Sun Dec 28, 2003 1:49 am

dear aek,

thank you verymuch for your interest

But please check the page 105 too. it says that "For instance, to compile and run tu4.pjt on a PIC16F84, you will need to replace the library sfp42Cab.lib with sfp40Aab.lib in the project's nodes."

best regards,

------------------
hakan

hakan
hakan
 
Posts: 3
Joined: Sat Dec 27, 2003 12:00 am
Location: istanbul, turkey

Re: compile problem

Postby aek » Sun Dec 28, 2003 5:25 am

A patch for v3.2.3 is now available in the download area -- it contains a complete set of Salvo '40a libraries for the 'F84 and similar PICmicro(R) MCUs ...

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: compile problem

Postby aek » Sun Dec 28, 2003 8:58 am

Hello.
quote:
But please check the page 105 too. it says that "For instance, to compile and run tu4.pjt on a PIC16F84, you will need to replace the library sfp42Cab.lib with sfp40Aab.lib in the project's nodes."
Are you using an older version of Salvo Lite? This text does not appear in the current release's documentation ...

Nevertheless, I hope that we can update the s?p40a??.lib libraries to be compatible with the 'F84.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 3 guests

cron