Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2024, 04:56:14 16:56


Login with username, password and session length


Pages: [1]
Print
Author Topic: Salvo RTOS for HTPICC and MPLAB  (Read 10617 times)
0 Members and 1 Guest are viewing this topic.
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« on: July 02, 2006, 09:50:17 21:50 »

Hi!
I have arranged 6 tutorials.
Prerequisites: Salvo Pro RTOS v.3.2.3. Can be found elsewhere on this forum(search...). Install it as C:\Salvo. Replace all the files in the tut folder with the ones attached. Compiled for 16F877. What is actually happening is described in SalvoUserManual, appendix C. There are a number of interesting app.notes as well. Read them! Smiley
 
I've tried FreeRTOS as well but it's a mess... You can also try the CCS RTOS examples as well. The advantage there is that You don't have to connect any hardware to see what's happening. Just compile under MPLAB and choose MPLAB SIM for debugger. Choose Settings and select UART1 I/O tab. Pick Enable UART1 IO and choose Window for output. The new tab UART IO is now visible in the Output window. Now Run and watch! If You want to attach hardware to the CCS examples just replace the different OSTASK:s with LED blinking routines or whatever...
« Last Edit: July 02, 2006, 10:04:57 22:04 by robban » Logged

Code Warrior
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #1 on: July 02, 2006, 09:51:26 21:51 »

Forgot the attached files...
Logged

Code Warrior
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #2 on: July 02, 2006, 10:00:25 22:00 »

Download link:http://rapidshare.de/files/24767787/tut.rar.html since attached files doesn't work...
Logged

Code Warrior
wh_hsn
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 0
-Receive: 4


« Reply #3 on: July 03, 2006, 08:11:09 08:11 »

Thanx a lot Robban.
Logged
mana111
Newbie
*
Offline Offline

Posts: 28

Thank You
-Given: 9
-Receive: 6


« Reply #4 on: July 03, 2006, 10:01:46 10:01 »

Hi robbin
have you compiled the microchip example of salvo found here
ww1.microchip.com/downloads/en/DeviceDoc/an11.pdf

i have tried but i think it has some errors
please upload the files if you did
and thanx for the tutorials
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #5 on: July 03, 2006, 01:39:29 13:39 »

Hi mana11!
I think You supplied the wrong app.note. It doesn't contain any source code...
This app.note just explain how to optimize HT_PICC18 with Salvo.
Logged

Code Warrior
mana111
Newbie
*
Offline Offline

Posts: 28

Thank You
-Given: 9
-Receive: 6


« Reply #6 on: July 03, 2006, 05:44:51 17:44 »

i am soory
this is the link
[size=-1]ww1.microchip.com/downloads/en/AppNotes/00777b.pdf[/size]
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #7 on: July 03, 2006, 06:56:31 18:56 »

Both HI-TECH PICC18 and MPLAB C18 report the same problem: Redefinition of OSCOMPILER and OSTARGET. I have to dig a little deeper into this before I can supply an answer....
If You installed the above mentioned compilers with preprocessor source code, have a look and compare to what salvocfg.h has to say.
Logged

Code Warrior
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #8 on: July 04, 2006, 01:10:32 01:10 »

Hi!
OK, after some digging I realize that this is a jungle. We can establish some facts: folder sysa belongs to HTPICC, folder syse belongs to MPLABC18 and sysf is the HTPIC18 folder. In each folder the salvocfg.h determines the behaviour of the supplied examples. With me so far? Now, since the HTPICC(sysa) folder can be compiled without too much fuzz, let's take a look at that: Nowhere in the sysa folder the file "salvocfg.h" is mentioned OSCOMPILER or OSTARGET! Nevertheless, the compiler is complaining about redefenition of these preprocessor defines. My best guess is that this Salvo edition is out of date, but what can we do since we don't pay for it. We've had it!! Some consolation for all of You: You can probably control a steel mill with just a PIC 16F877, at least when it comes to code space!! The Salvo method leaves very small footprint compared to others.
Any clever remarks?
Logged

Code Warrior
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