The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 09:10:10 09:10


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC16F1507 & PBP3: missing some register support?  (Read 3852 times)
0 Members and 1 Guest are viewing this topic.
enzine
Junior Member
**
Offline Offline

Posts: 65

Thank You
-Given: 315
-Receive: 38



« on: February 18, 2012, 10:26:13 22:26 »

Hello friends,
I'm working on a project for low frequency synthesis.
A recently introduced pic (PIC16F1507) contains a 20-bit  Numerically Controlled Oscillator (NCO) that greatly simplify such a project.
The micro PIC16F1507 is supported by the PBP3 (not earlier versions) and with your help  Wink  I'm writing the code for this project.
Much to my surprise I noticed that all its instructions for use of the registries of NCO were not accepted by the compiler!
I did not find any mention of this lack in the WEB.
The analysis of the file PIC16F1507.PBPINC has confirmed that ALL THE REGISTERS ASSOCIATED WITH NCO MODULE  are not present.
I was able to edit this file and now the code is compiled correctly.
My question is this:
this is an exception / error or it may be that other pic is partially supported by the PBP?

P.S.
Sorry for my English but I am of the Latin countries!   Cheesy Cheesy Cheesy Cheesy

PP.SS.
If it can be useful to someone, I'll be happy to post the file PIC16F1507.PBPINC modified.

Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 3816

Thank You
-Given: 567
-Receive: 2049


There is no evidence that I muted SoNsIvRi


« Reply #1 on: February 19, 2012, 01:53:28 01:53 »

did you try PSD, as it looks like it supports the NCO resisters.
PSD also seems to have a better following.
Logged

Note: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
enzine
Junior Member
**
Offline Offline

Posts: 65

Thank You
-Given: 315
-Receive: 38



« Reply #2 on: February 19, 2012, 12:09:47 12:09 »

did you try PSD, as it looks like it supports the NCO resisters.

when you say "PSD ", you mean Proton Development Suite?
If yes, this does not seem to support the pic16f1507.
The only basic compiler that supports this pic seems to be PBP3.
Am I wrong?

Ciao
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #3 on: February 19, 2012, 12:28:36 12:28 »

when you say "PSD ", you mean Proton Development Suite?
If yes, this does not seem to support the pic16f1507.

PDS supports the pic16f1507 (from version 3.5.2.9)

Edit:
but Proteus does not (yet)
« Last Edit: February 19, 2012, 12:46:17 12:46 by zuisti » Logged
joator
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 233
-Receive: 7



WWW
« Reply #4 on: February 19, 2012, 12:35:16 12:35 »

Yes enzine you are wrong  Smiley

Try the Mikroelektronika's Basic Compiler, it does support the PIC16F1507 among many PIC devices

http://www.mikroe.com

//joator
Logged

//Joator
enzine
Junior Member
**
Offline Offline

Posts: 65

Thank You
-Given: 315
-Receive: 38



« Reply #5 on: February 19, 2012, 12:47:22 12:47 »

The PDS is supported the the pic16f1507 (from version 3.5.2.9)

PDS supported microchips:

http://www.protonbasic.co.uk/content.php/1878

16f1507 not present!



What am I doing wrong?

Posted on: February 19, 2012, 12:45:14 12:45 - Automerged

Yes enzine you are wrong  Smiley

Try the Mikroelektronika's Basic Compiler, it does support the PIC16F1507 among many PIC devices

//joator

Thank you joator,
I will try this compiler

Ciao

Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #6 on: February 19, 2012, 02:06:53 14:06 »

That link isn't correct

Quote
Changes made to Beta version 3.5.2.9
Additions
Added signed variables SByte, SWord and SDword:
SByte can hold a value between -128 to 127
SWord can hold a value between -32768 to 32767
SDword can hold a value between -2147483648 to 2147483647
This is a major change in the compiler's operation and means that existing programs
using Dword variables as signed will need to change them to SDword as Dword
variables are now unsigned.
Added support for devices: 16F1503, 16F1507, 16F1526, 16F1527, 16F1847 and
12LF1840T48A
.
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
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