Author |
Message |
Topic: Problem with configuration bits setting in MPLAB |
martind1983
Replies: 4
Views: 11288
|
Forum: General CCS C Discussion Posted: Thu Aug 01, 2013 2:17 am Subject: Problem with configuration bits setting in MPLAB |
Temtronic the issue is solved. I do not exactly how. Maybe it helped to reinstall both MPLAB IDE and CCS compiler. Or changing of MPLAB IDE to older version v8.66 as you wrote, that you use helped me. ... |
Topic: Problem with configuration bits setting in MPLAB |
martind1983
Replies: 4
Views: 11288
|
Forum: General CCS C Discussion Posted: Wed Jul 31, 2013 6:05 am Subject: Problem with configuration bits setting in MPLAB |
Thanks temtronic.
I know, that there is such possibility. But I don't know why maybe due to C plug-in in MPLAB it is not active. Checkbox is grey without possibility of changing purpose of your app ... |
Topic: Problem with configuration bits setting in MPLAB |
martind1983
Replies: 4
Views: 11288
|
Forum: General CCS C Discussion Posted: Wed Jul 31, 2013 4:52 am Subject: Problem with configuration bits setting in MPLAB |
Hi
I have an issue. I use MPLAB IDE v8.89 and CCS compiler v4.140.
I started working with PIC16F1826 MCU.
When I set configuration bits through code by using #fuses directive it doesn't want to ... |
Topic: fat.c Problem Not Enough Ram error *** Locked - old thread |
martind1983
Replies: 6
Views: 8730
|
Forum: General CCS C Discussion Posted: Mon Apr 15, 2013 7:38 am Subject: Re: fat.c Problem Not Enough Ram error |
#include "D:\INSAT_electronique\PIC C PROJECT\ddd\enfin.h"
#include <fat.h>
void main()
{
char filename[]="test.txt";
char mode[]=&quo ... |
Topic: first sector (sector 0) in SD card |
martind1983
Replies: 0
Views: 3820
|
Forum: General CCS C Discussion Posted: Thu Apr 04, 2013 12:30 am Subject: first sector (sector 0) in SD card |
Hello.
I want to ask. Each time when I use fat_init() function, where function mmcsd_init() is built for initialization and loading buffer I seen, that mmcsd_init() function passes well. But in ge ... |
Topic: FAT.c init function is not working ... |
martind1983
Replies: 11
Views: 15525
|
Forum: General CCS C Discussion Posted: Wed Apr 03, 2013 11:49 pm Subject: Re: FAT.c init function is not working ... |
Below is my code structure please can anybody suggest what might be the problem.
I am using PIC18F67 and 2 GB SD card.
(I am able to read write to raw memory of SD).
step1:
#define MMCSD_PIN_SC ... |
Topic: FAT.c init function is not working ... |
martind1983
Replies: 11
Views: 15525
|
Forum: General CCS C Discussion Posted: Wed Apr 03, 2013 1:55 am Subject: FAT.c init function is not working ... |
I think your #use spi code is wrong. This is what I have in my mmcsd.c:#use spi(MASTER,CLK=MMCSD_PIN_SCL, DO=MMCSD_PIN_SDO, DI=MMCSD_PIN_SDI, BITS=8, MODE=3, STREAM=MMCSD_SPI, FORCE_HW)The imp ... |
Topic: PIC24FJ64GA002 selectable peripheral pins |
martind1983
Replies: 5
Views: 7664
|
Forum: General CCS C Discussion Posted: Tue Apr 02, 2013 6:20 am Subject: PIC24FJ64GA002 selectable peripheral pins |
See the #pin_select in CCS manual
Thanks for your hint. It is it. It helped |
Topic: PIC24FJ64GA002 selectable peripheral pins |
martind1983
Replies: 5
Views: 7664
|
Forum: General CCS C Discussion Posted: Tue Apr 02, 2013 6:17 am Subject: PIC24FJ64GA002 selectable peripheral pins |
as well, open the processor header file to see what is allowed !
and consult the processor datasheet, as not all pins can be all things !!!
I have already seen datasheet and header file. It was ... |
Topic: PIC24FJ64GA002 selectable peripheral pins |
martind1983
Replies: 5
Views: 7664
|
Forum: General CCS C Discussion Posted: Tue Apr 02, 2013 5:17 am Subject: PIC24FJ64GA002 selectable peripheral pins |
Hi.
I have question.
I want to use PIC24FJ64GA002 16 bit PIC which has any selectable inputs for peripherals . Simply told, you can use some of peripheral I/O's with any selectable hardware pin on ... |
Topic: fatopen function with SD card writing |
martind1983
Replies: 3
Views: 7761
|
Forum: General CCS C Discussion Posted: Tue Apr 02, 2013 4:49 am Subject: fatopen function with SD card writing |
Hi Ttelmah.
I already tried to do all the changes you adviced me. Compiling was goog, compiler buit and linked program.
But fatopen() function always returns EOF value. I didn't understand your re ... |
Topic: bug in FAT.c library |
martind1983
Replies: 3
Views: 32423
|
Forum: Code Library Posted: Mon Apr 01, 2013 12:34 pm Subject: bug in FAT.c library |
Did you already try to pass that sequence of code you put it here. I have feeling you can't use fname
I already found it your code should be correct. I was not aware that fact. I didn't use it long ... |
Topic: fatopen function with SD card writing |
martind1983
Replies: 3
Views: 7761
|
Forum: General CCS C Discussion Posted: Mon Apr 01, 2013 12:07 pm Subject: fatopen function with SD card writing |
Thanks for hint.
I already found it before. But there was one different problem. I didn't notice, that compiler put g_mmcsd_buffer variable to reserve range of debbuger memory, but I solved this iss ... |
Topic: bug in FAT.c library |
martind1983
Replies: 3
Views: 32423
|
Forum: Code Library Posted: Mon Apr 01, 2013 11:55 am Subject: bug in FAT.c library |
Did you already try to pass that sequence of code you put it here. I have feeling you can't use fname[1] in set_file function because the parameter has to be base address of array it's used as pointer ... |
Topic: bug in FAT.c library |
martind1983
Replies: 3
Views: 32423
|
Forum: Code Library Posted: Sun Mar 31, 2013 5:57 am Subject: bug in FAT.c library |
Hi.
I have feeling, that I found bug in FAT.c library.
When I used fatopen() function with FAST_FAT directive active
There is this sequence of original code:
// start looking for the file, ... |
|