Author |
Message |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2023 5:00 am Subject: SDCARD problems |
Sorry for forgetting.
I had forgotten to give an answer to this problem that had been left open for 15 days.
First of all I put one of the MPLABx examples up and running with XC16, it took some work ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Thu Mar 16, 2023 5:22 am Subject: SDCARD problems |
I appreciate the information on http://www.brushelectronics.com/software
I will consider purchasing, although for learning about SDs and PICs, it seems a bit excessive at the moment... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Thu Mar 16, 2023 5:03 am Subject: SDCARD problems |
Thanks for the notice about dir. I always refer to "dir", but the tests are always give the same results:
/> dir
--/--
/> dir
-----------------------
/> dir /
--/--
/>
-- ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Thu Mar 16, 2023 2:25 am Subject: SDCARD problems |
I just formatted it with version 5.02 and it doesn't work either. There is always streaming data at initialization. Data also flows to the first "dir" through the I/Os, although it never app ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Thu Mar 16, 2023 12:28 am Subject: SDCARD problems |
Thanks asmallri
I have configured the SPI with 8MHz, but nothing is achieved and it is not a card problem; Fortunately I have found the MiniTool Partition Wizard application that allows us to see if ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2023 11:51 am Subject: SDCARD problems |
Microchip has examples for 32-bit micros and some examples for PIC24s. Could it be that I have to throw in the towel and work with the MPLABx? Because between adapting the examples to CCS and working ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2023 10:57 am Subject: SDCARD problems |
Are they formatted as GPT, there is no way that they can be used in CCS?
I have tried to change the format with "DISKPART" and it does not allow me to change it because it considers SD as C ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2023 3:51 am Subject: SDCARD problems |
In both cases they are formatted from windows 10 with the own windows 10 application in FAT 32 format. |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2023 2:14 am Subject: SDCARD problems |
I am using an 8GB SD card, but I also try a 2GB one and the same thing happens.
I am using the original versions of CCS version 5.109 (fat.c and mmscd.c)
So which versions of these libraries can I u ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2023 10:29 am Subject: SDCARD problems |
As the oscilloscope signals were the same at all times, when I changed the oscilloscope sweep I realized that many milliseconds after the first MMCSD_PIN_SELECT there were more pulses, but since the d ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2023 5:57 am Subject: SDCARD problems |
I'll start at the end of your answer: It's actually OLIMEX PIC32-PINGUINO with a PIC32MX440F256H micro, but I replaced these boards with a PIC33EP256MU806 micro; their prints are identical. I have bee ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2023 3:42 am Subject: SDCARD problems |
I am using an OLIMEX board with the micro PIC33EP256MU806 and the wiring that this board has for the SD is the one that I am configuring, so I cannot change to SPI2. Regarding the WDT, I have deactiva ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2023 1:40 am Subject: SDCARD problems |
I have verified that the MMCSD_PIN_SELECT pin was not programmed correctly, I don't know why:
MMCSD_err mmcsd_init(){
uint8_t
i,
r1;
g_CRC_enabled = TRUE;
g ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2023 12:51 am Subject: SDCARD problems |
Thank you for the interest shown.
Indeed it seems that it is not initialized. I've lowered the speed to 400KHz, but it's still the same; I have connected the oscilloscope and there are no pulses of a ... |
Topic: SDCARD problems |
[email protected]
Replies: 32
Views: 60290
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2023 10:52 am Subject: SDCARD problems |
I'm trying
Thank you so much |
|