Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 01, 2024, 01:32:04 01:32


Login with username, password and session length


Pages: [1]
Print
Author Topic: Re: Help with Boost C  (Read 6463 times)
0 Members and 1 Guest are viewing this topic.
Sun_rise_pt
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 87
-Receive: 9


« on: March 14, 2012, 10:42:56 10:42 »

Friends,

I like to make some changes on a Pic code writed on Boost C,  Downloadable on http://www.sparkfun.com/products/81

I've a full version of SourceBosst IDE.

When try to compile the original called  ToasterControl_Ryan_v0.05k8x_testprogram.C, with previous add of  complonent boostc.h and boostc.h, only obtain a error. I suppose all three components are correct and the error is mine.

Then I request  a help, please...

Logged
zab
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 25
-Receive: 58


« Reply #1 on: March 14, 2012, 04:00:18 16:00 »

code mentioned in the example is for for PIC16F88. as header file of this ic included in the ToasterControl_Ryan_v0.05k8x_testprogram.c.  #include <PIC16F88.h>  that is not supported by the SourceBosst IDE.
for reference see the http://www.sourceboost.com/CommonDownload/VersionLog.html
hope it will help you.
Logged
Sun_rise_pt
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 87
-Receive: 9


« Reply #2 on: March 15, 2012, 10:30:03 10:30 »

I appreciate your help  Zab.

Then need only Boost C?
Where are possible to download this program? The demo have limitations... Sad
Logged
Sun_rise_pt
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 87
-Receive: 9


« Reply #3 on: March 15, 2012, 09:13:41 21:13 »

Today I´ve tried with Boost C but can't creat the hex file. Have a message of failure...
Logged
zab
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 25
-Receive: 58


« Reply #4 on: March 16, 2012, 01:57:59 13:57 »

let me check it myself.I will let you know what can be done.please wait little bit.
Logged
zab
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 25
-Receive: 58


« Reply #5 on: March 17, 2012, 07:14:21 07:14 »

The file under discussion need following changes.
1 delete first and last line of the file.
firstline upto "<div class="moz-text-flowed" style="font-family: -moz-fixed">"
and the last line "</div>".
line no.25 starting with //#pragma DATA _CONFIG1, _CP_OFF & _INTRC_IO & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _WDT_OFF & _PWRTE_ON & _LVP_OFF & _BODEN_OFF.
have been commented .The line have to be included in programme.
so it should be   #pragma DATA _CONFIG1, _CP_OFF & _INTRC_IO & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _WDT_OFF & _PWRTE_ON & _LVP_OFF & _BODEN_OFF
secondly the entire program is  compiled in attachment file.
I Hope It will satisfy your needs.
Just for curiosity what you are intend to do with this all?
Logged
Sun_rise_pt
Junior Member
**
Offline Offline

Posts: 91

Thank You
-Given: 87
-Receive: 9


« Reply #6 on: March 18, 2012, 09:27:18 21:27 »

Very good your help, Zab!

You're a master in C.

Would be very difficult for me to find the reason of the problem. With their statements, the compiler worked perfectly!  Smiley

I always worked with Intel processors family (51) and Atmel Asm with languages ​​and Basic. So that almost do not know programming in C.

I want to slightly modify the original code to switch to adjustable steps of 1 ° C instead of steps of 5 ° C.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC