This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX with USB to SD

I'm new to RTX. Has anyone seen an example of how to run USB device to SD memory card (I'm using MCB2300) under RTX? I see various pieces but nothing whole. There's an RTX demo with USB, but it uses a dummy memory disk. There are good examples of USB to SDCard, but not under RTX. I'm planning on starting with RL/USB/DEVICE/RTX/MEMORY and then going through the documentation for adding MCI drivers and RL-FlashFS. Any hints or help out there?

Parents
  • Just an update, I attached all of the files, libraries, and config files as per the instructions, but in the instructions it then says to call "init_card" which I think is out of date. Looking at the RL/USB/DEVICE/MEMORY/SD_FILE/MEMORY example, the initialization of the interface starts with:

    mc0 = ioc_getcb (NULL); if (ioc_init (mc0) == 0) {

    The first line seems to execute OK, but if the second line is included, doesn't even have to run, the code crashes, goes straight to retartget.c _sys_exit

Reply
  • Just an update, I attached all of the files, libraries, and config files as per the instructions, but in the instructions it then says to call "init_card" which I think is out of date. Looking at the RL/USB/DEVICE/MEMORY/SD_FILE/MEMORY example, the initialization of the interface starts with:

    mc0 = ioc_getcb (NULL); if (ioc_init (mc0) == 0) {

    The first line seems to execute OK, but if the second line is included, doesn't even have to run, the code crashes, goes straight to retartget.c _sys_exit

Children