CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 59 matches
CCS Forum Index
Author Message
  Topic: Happy Christmas everyone & Happy New Year
-Terppa-

Replies: 7
Views: 6777

PostForum: General CCS C Discussion   Posted: Sat Dec 23, 2023 4:34 pm   Subject: Happy Christmas everyone & Happy New Year
Merry christmas!
  Topic: Authentication in web server with PIC18F67J60
-Terppa-

Replies: 4
Views: 12774

PostForum: General CCS C Discussion   Posted: Tue Nov 14, 2023 5:49 am   Subject: Authentication in web server with PIC18F67J60
A little digging i found some interesting failure. When i use MPFS (my bat file have: mpfs /b /r0 /ll /k ../pages mpfsimg.bin)

It only generates ”root” files in mpfsimg.bin
All files what incl ...
  Topic: Authentication in web server with PIC18F67J60
-Terppa-

Replies: 4
Views: 12774

PostForum: General CCS C Discussion   Posted: Mon Nov 13, 2023 3:21 pm   Subject: Authentication in web server with PIC18F67J60
I am also try that and it doesen’t work.. I have one difference, i have folder called protect/test.htm and always it says ”internal server error” ccs_http2.c file i turned on debug files and in ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Fri Aug 18, 2023 12:29 am   Subject: RAW microSD
Some progress. Now i have different types of SD card's. Brands are Transcend, Hama, Kingston and Biltema. Size are 16Gb to 32Gb.

Mr. Ttelmah suggested "dummy" data function and after digg ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 12:56 pm   Subject: RAW microSD
Thank you very much those links! I’ll check them out.
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 10:25 am   Subject: RAW microSD
It is my bad.. Accidentally i wired up MicroSD chip select to my board "heartbeat" led Embarassed
It is fixed now and now i get message to terminal
"Trying to init MicroSD module..
mm ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 8:48 am   Subject: RAW microSD
Oh, i'm sorry files in main.c


#include "hardwareprofile.h" //CPU setup
#include "globals.h" //nothing for MicroSD
#include "mmcsd.c" //copy of CCSC forum


Only ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 6:14 am   Subject: RAW microSD
Thank you very much Mr. Ttelmah for your help!

There is something progress:

CPU: DSPic33ep512mc204 (SPI1)

SDcard adapter wiring:
(4k7 is 4.7k resistor pull-up to 3v3)

CD:4k7
DAT1: ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 1:58 am   Subject: RAW microSD
temtronic:
Thank you for your idea! It is nice little module, but final product has very small and even that is too big.

Ttelmah:
Thank you for info!
I have now driver called "mmcsd.c&quo ...
  Topic: RAW microSD
-Terppa-

Replies: 13
Views: 13528

PostForum: General CCS C Discussion   Posted: Mon Aug 07, 2023 6:52 am   Subject: RAW microSD
Hello!
What is the simplest way to add MicroSD card to handle large amount of data?
I don't need any File Allocation Table just raw data.
That's because i can dump necessary data over uart.
What ...
  Topic: DSPic33ep512mc204 and max30001
-Terppa-

Replies: 9
Views: 16005

PostForum: General CCS C Discussion   Posted: Fri Jun 16, 2023 5:04 am   Subject: DSPic33ep512mc204 and max30001
Now i get "detected" status!
Maybe i little bit tired but i have MISO and MOSI crossed Embarassed

Little change to "regread" function:

void max30001RegRead(unsigned int8 Re ...
  Topic: DSPic33ep512mc204 and max30001
-Terppa-

Replies: 9
Views: 16005

PostForum: General CCS C Discussion   Posted: Fri Jun 16, 2023 4:34 am   Subject: DSPic33ep512mc204 and max30001
Thank you for your help Mr.Ttelmah

Now, before when i asking "Info reg" i send FIFO reset. Now i get same answer back in info register all the time.

I check clock line in oscilloscope ...
  Topic: DSPic33ep512mc204 and max30001
-Terppa-

Replies: 9
Views: 16005

PostForum: General CCS C Discussion   Posted: Fri Jun 16, 2023 1:28 am   Subject: DSPic33ep512mc204 and max30001
I cannot use reference point in Info register.. Because:

Note: Due to internal initialization procedures,
this command will not read-back valid data if it is the first command executed follow ...
  Topic: DSPic33ep512mc204 and max30001
-Terppa-

Replies: 9
Views: 16005

PostForum: General CCS C Discussion   Posted: Fri Jun 09, 2023 7:52 am   Subject: DSPic33ep512mc204 and max30001
I believe device speed is 1000000 and i think you are right about that 4-bytes reading..

Info register content should be look like this:
(0 1 0 1 x x x x) REVid

should i send info address(0x0f) ...
  Topic: DSPic33ep512mc204 and max30001
-Terppa-

Replies: 9
Views: 16005

PostForum: General CCS C Discussion   Posted: Fri Jun 09, 2023 7:09 am   Subject: DSPic33ep512mc204 and max30001
Hello!
I'll try to read max30001 info register (0x0f) but i cannot get any data out..
only (0xff)
There is thousands of way what i try but there is one of them.


SPI setup:

#ifdef USE_SPI1
...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group