- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When I download the code of RAID0 with both of the SD cards inserted, I can not display any storage?. I get "no disk inserted" even tho the two SD cards are inserted.Thanks in advance for your help.
regards.
Solved! Go to Solution.
- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I attached a working RAID-0 firmware on RAID-1 USB dongle with the above said modifications. You may use it for testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please specify what is the hardware that you are using for this test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fx3s board with two SD cards and I am using fx3s_Raid0 example code but I do not get any storage capacity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which board you are using? Is it USB RAID 1 Dongle or FX3S -FPGA DVK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
usb RAID 1 Dongle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please test the following firmware first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes RAID1 is working fine but I am trying to test RAID 0 https://www.cypress.com/documentation/code-examples/ez-usb-fx3s-sdmmc-backed-raid-0-example .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to modify the RAID0 firmware in order to make it work on RAID-1 Dongle hardware.
Please check the both the codes (RAID 1 and RAID 0) and do necessary modifications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can u kindly explain the modifications that is needed to be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edited: Corrected the GPIO number in the comments and point 3.
You need to do the following in RAID-0 example firmware to work on RAID-1 USB dongle.
- Map low voltage switch GPIO to GPIO 12 and GPIO 13 for card 0 and card 1 respectively
- Set GPIO 14 and 15 to high. These GPIOs controls the VDD supply of the SD cards respectively.
3. In configuring SIB interface using CyU3PSibSetIntfParams API, pass GPIO 12 to intfParams.voltageSwGpio for card 0 and GPIO 13 for card 1 as follows
intfParams.voltageSwGpio = VSEL_S0_GPIO; /* Use GPIO_12 for voltage switch on S0 port. */
status = CyU3PSibSetIntfParams (0, &intfParams);
if (status == CY_U3P_SUCCESS)
{
intfParams.voltageSwGpio = VSEL_S1_GPIO; /* Use GPIO_13 for voltage switch on S1 port. */
status = CyU3PSibSetIntfParams (1, &intfParams);
}
You may use the following macros.
#define VSEL_S0_GPIO 12
#define VSEL_S1_GPIO 13
#define VSD0_GPIO 14
#define VSD1_GPIO 15
Refer CyFxMscApplnGpioInit function in RAID -1 example firmware for configuring the GPIOs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hope that the attached firmware worked on RAID 1 Dongle.
I have tested on my end. It is working fine.