<div dir="ltr">Hi,<div><br></div><div>I have a new BBB now, but the problem still persists.</div><div>So my guess about the broken SD Card slot, causing the problem, was wrong.</div><div><br></div><div>The other thing is that I am not always able to recreate the problem.</div><div>Sometimes rtems freezes on the open call for the file on the SD.</div><div>And when it passes that line, my program fails using mmap on the returned file descriptor.</div><div><br></div><div>Best,</div><div>Nils</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 Aug 2019 at 16:28, Nils Hölscher <<a href="mailto:nilhoel1@gmail.com">nilhoel1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Gerade,<div dir="auto"><br></div><div dir="auto">Yes I checked with two cards and both are working fine on Linux.</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Nils</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> schrieb am Fr., 16. Aug. 2019, 16:25:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Aug 16, 2019 at 6:04 AM Christian Mauderer <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>> wrote:<br>
><br>
> Hello Nils,<br>
><br>
> you are right that system freezes are not a wanted behaviour. But<br>
> hot-plugging a disk isn't that common in embedded systems (except maybe<br>
> for USB drives). It's a case that isn't tested that often. So most<br>
> likely no one noticed that bug. I wouldn't see it critical as long as I<br>
> don't have a project where I need that (either hobby or funded).<br>
><br>
+1<br>
<br>
> Is this a blocking problem for your project? If not you might want to<br>
> fill a bug report for this. But I suspect that no one will work on that<br>
> too fast as long as there is no urgent necessity.<br>
><br>
> Note that if it would have been a FAT bug the situation would have been<br>
> quite different. FAT bugs are bad for all targets and for quite some<br>
> funded projects too. So I would have tried to fix that as soon as possible.<br>
><br>
> Best regards<br>
><br>
> Christian<br>
><br>
> On 16/08/2019 12:08, Nils Hölscher wrote:<br>
> > Ok.<br>
> > But back to the bug.<br>
> > The behaviour I described should be reproducible by removing SD-Card<br>
> > after it was mounted.<br>
> > And then the System should freeze when open is called on some file on<br>
> > SD-Card.<br>
> > System freezes can't be wanted behaviour.<br>
<br>
We have occasionally received bug reports like this. It is better to<br>
avoid unplugging something that is being accessed. Even in commodity<br>
systems that can cause data corruption on the device. In fact, did you<br>
confirm with a new SDcard that it is the BBB that is broken, and not<br>
the SDCard that has gone bad?<br>
<br>
> ><br>
> > Best,<br>
> > Nils<br>
> ><br>
> > On Fri, 16 Aug 2019 at 11:40, Christian Mauderer <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>> wrote:<br>
> ><br>
> > PS: If neither the SD nor the eMMC has a bootable image your BBB falls<br>
> > back to serial and then USB boot anyway. So no need to change any<br>
> > boot pins.<br>
> ><br>
> > On 16/08/2019 11:38, Christian Mauderer wrote:<br>
> > > Hello Nils,<br>
> > ><br>
> > > if the U-Boot doesn't start from eMMC any more it won't be easy.<br>
> > > Theoretically it is possible to boot via serial. See for example<br>
> > ><br>
> > ><br>
> > <a href="http://linuxkernel51.blogspot.com/2015/08/booting-beagle-bone-black-over-uart.html" rel="noreferrer noreferrer" target="_blank">http://linuxkernel51.blogspot.com/2015/08/booting-beagle-bone-black-over-uart.html</a><br>
> > ><br>
> > > With that you could load an U-Boot (via X-Modem) that could start a<br>
> > > system from USB (image from Beagle home page maybe could work if<br>
> > it can<br>
> > > boot from USB) that could re-write the eMMC. Most likely it would<br>
> > need a<br>
> > > few hours to a day to figure out the details. So you should<br>
> > definitively<br>
> > > order a replacement as a backup solution.<br>
> > ><br>
> > > Best regards<br>
> > ><br>
> > > Christian<br>
> > ><br>
> > > On 16/08/2019 11:13, Nils Hölscher wrote:<br>
> > >> Hi Christin,<br>
> > >><br>
> > >> Thanks for the hint.<br>
> > >> But how can I alter the U- Boot on eMMC?<br>
> > >> Problem is I have a Linux version with an U-Boot that disables<br>
> > emmc on<br>
> > >> the emmc...<br>
> > >> And I guess I cant flash emmc without SD.<br>
> > >><br>
> > >> Best,<br>
> > >> Nils<br>
> > >><br>
> > >> On Fri, 16 Aug 2019 at 11:03, Christian Mauderer<br>
> > <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>> wrote:<br>
> > >><br>
> > >> On 16/08/2019 10:55, Nils Hölscher wrote:<br>
> > >> > Hi,<br>
> > >> ><br>
> > >> > It seems the problem was hardware related.<br>
> > >> > My SD-Card connector just died.<br>
> > >> > I hope I can get a new BBB oin a timely manner.<br>
> > >> ><br>
> > >> > Best,<br>
> > >> > Nils<br>
> > >><br>
> > >> Hello Nils,<br>
> > >><br>
> > >> thanks for the information. That's annoying. Good luck finding a<br>
> > >> replacement.<br>
> > >><br>
> > >> For a quick workaround: I haven't tried that yet but if your<br>
> > on-board<br>
> > >> eMMC is still intact, you might can use that U-Boot to boot<br>
> > from USB.<br>
> > >><br>
> > >> Best regards<br>
> > >><br>
> > >> Christian<br>
> > >><br>
> > >> ><br>
> > >> > On Fri, 16 Aug 2019 at 10:48, Christian Mauderer<br>
> > >> <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>> wrote:<br>
> > >> ><br>
> > >> > Hello Nils,<br>
> > >> ><br>
> > >> > thanks for the file list. I can't reproduce your<br>
> > problem with it.<br>
> > >> ><br>
> > >> > On 16/08/2019 10:01, Nils Hölscher wrote:<br>
> > >> > > Hi,<br>
> > >> > ><br>
> > >> > > Short update.<br>
> > >> > ><br>
> > >> > > It seems the device only hangs while I am connected<br>
> > with the<br>
> > >> debugger.<br>
> > >> ><br>
> > >> > Is that true for the original file system tree? You are<br>
> > >> debugging via<br>
> > >> > Ethernet, right? In that case I would lean more toward a<br>
> > >> problem with<br>
> > >> > the debugger support than the file system. Do you have<br>
> > enough file<br>
> > >> > descriptors configured?<br>
> > >> ><br>
> > >> > Best regards<br>
> > >> ><br>
> > >> > Christian<br>
> > >> ><br>
> > >> > > looks like a Heisenberg bug.<br>
> > >> > ><br>
> > >> > > Best,<br>
> > >> > > Nils<br>
> > >> > ><br>
> > >> > > On Fri, 16 Aug 2019 at 09:50, Nils Hölscher<br>
> > >> <<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>><br>
> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>>><br>
> > >> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>><br>
> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>>>><br>
> > >> > > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a><br>
> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a><br>
> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>>><br>
> > >> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>><br>
> > <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a> <mailto:<a href="mailto:nilhoel1@gmail.com" rel="noreferrer" target="_blank">nilhoel1@gmail.com</a>>>>>> wrote:<br>
> > >> > ><br>
> > >> > ><br>
> > >> > > On Thu, 15 Aug 2019 at 19:51, Christian Mauderer<br>
> > >> > <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> > > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>>> wrote:<br>
> > >> > ><br>
> > >> > > Hello Nils,<br>
> > >> > ><br>
> > >> > > maybe another bug in our FAT file system...<br>
> > >> > ><br>
> > >> > > Please do three things:<br>
> > >> > ><br>
> > >> > > 1. Create an image of your current card (with<br>
> > dd or<br>
> > >> a similar<br>
> > >> > > tool). FAT<br>
> > >> > > bugs are sometimes hard to reproduce but it's<br>
> > really<br>
> > >> > urgent that<br>
> > >> > > we fix<br>
> > >> > > them. So maybe I'll ask for that image later.<br>
> > >> > ><br>
> > >> > > I did that.<br>
> > >> > > Let me know if you need the image.<br>
> > >> > ><br>
> > >> > > 2. Create a complete list of the files on<br>
> > your card (for<br>
> > >> > example the<br>
> > >> > > Linux `tree -h` command), post it here and<br>
> > tell me<br>
> > >> what you<br>
> > >> > > tried to open.<br>
> > >> > ><br>
> > >> > > .<br>
> > >> > > ├── [ 50K] am335x-boneblack.dtb<br>
> > >> > > ├── [ 49K] am335x-boneblack+pruss.dtb<br>
> > >> > > ├── [ 883] AM335X-PRU-UIO-00A0.dtbo<br>
> > >> > > ├── [ 649] AM335X-PRU-UIO-BSD-00A0.dtbo<br>
> > >> > > ├── [162K] Linux-with-UIO.dtb<br>
> > >> > > ├── [ 44] loob.bin<br>
> > >> > > ├── [108K] MLO<br>
> > >> > > ├── [2.1M] pru.exe.img<br>
> > >> > > ├── [ 12] test.bin<br>
> > >> > > ├── [471K] u-boot.img<br>
> > >> > > ├── [ 390] uEnvLinuxfdt.txt<br>
> > >> > > └── [ 560] uEnv.txt<br>
> > >> > ><br>
> > >> > > 3. Try another name / folder for the file<br>
> > you wanted to<br>
> > >> > open.\<br>
> > >> > ><br>
> > >> > > I moved the file in another folder and renamed it.<br>
> > >> > > It now works but I got en error, I am currently<br>
> > >> investigating if<br>
> > >> > > this is on the pru driver side or not.<br>
> > >> > > The tree while doing this was:<br>
> > >> > > .<br>
> > >> > > ├── [ 50K] am335x-boneblack.dtb<br>
> > >> > > ├── [ 49K] am335x-boneblack+pruss.dtb<br>
> > >> > > ├── [ 883] AM335X-PRU-UIO-00A0.dtbo<br>
> > >> > > ├── [ 649] AM335X-PRU-UIO-BSD-00A0.dtbo<br>
> > >> > > ├── [162K] Linux-with-UIO.dtb<br>
> > >> > > ├── [ 44] loob.bin<br>
> > >> > > ├── [108K] MLO<br>
> > >> > > ├── [2.1M] pru.exe.img<br>
> > >> > > ├── [2.0K] test<br>
> > >> > > │ └── [ 12] test2.bin<br>
> > >> > > ├── [ 12] test2.bin<br>
> > >> > > ├── [471K] u-boot.img<br>
> > >> > > ├── [ 390] uEnvLinuxfdt.txt<br>
> > >> > > └── [ 560] uEnv.txt<br>
> > >> > ><br>
> > >> > ><br>
> > >> > > Thanks,<br>
> > >> > > Nils<br>
> > >> > ><br>
> > >> > > Best regards<br>
> > >> > ><br>
> > >> > > Christian<br>
> > >> > ><br>
> > >> > > On 15/08/2019 19:32, Nils Hölscher wrote:<br>
> > >> > > > Hi Christian,<br>
> > >> > > ><br>
> > >> > > > The commands ls and cat work.<br>
> > >> > > > I just tested them, this seems kinda awkward.<br>
> > >> > > ><br>
> > >> > > > Best,<br>
> > >> > > > Nils<br>
> > >> > > ><br>
> > >> > > > On Thu, 15 Aug 2019 at 19:27, Christian<br>
> > Mauderer<br>
> > >> > > <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>><br>
> > >> > > > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>>>> wrote:<br>
> > >> > > ><br>
> > >> > > > Hello Nils,<br>
> > >> > > ><br>
> > >> > > > does some other access to the file system<br>
> > >> work? Like<br>
> > >> > a ls<br>
> > >> > > on the console<br>
> > >> > > > or creating a file. Can you do a `cat`<br>
> > on some<br>
> > >> text file<br>
> > >> > > on the file<br>
> > >> > > > system? If not: Does it work for a file<br>
> > in the<br>
> > >> root file<br>
> > >> > > system (should<br>
> > >> > > > be a IMFS)?<br>
> > >> > > ><br>
> > >> > > > Best regards<br>
> > >> > > ><br>
> > >> > > > Christian<br>
> > >> > > ><br>
> > >> > > > On 15/08/2019 15:54, Nils Hölscher wrote:<br>
> > >> > > > > Hi,<br>
> > >> > > > ><br>
> > >> > > > > I when my app wants to open a file on<br>
> > the SD<br>
> > >> card<br>
> > >> > > dev=mmcsd-0-0 rtems<br>
> > >> > > > > freezes.<br>
> > >> > > > > Exact call is:<br>
> > >> > > > > fd = open(file, O_RDONLY);<br>
> > >> > > > > With file being the pru binary I want<br>
> > to upload.<br>
> > >> > > > ><br>
> > >> > > > > Thanks,<br>
> > >> > > > > Nils<br>
> > >> > > > ><br>
> > >> > > > > On Tue, 13 Aug 2019 at 17:56,<br>
> > Christian Mauderer<br>
> > >> > > > ><br>
> > <<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>><br>
> > >> > > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>>><br>
> > >> > > ><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>><br>
> > >> > > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>>>><br>
> > >> > > > ><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>><br>
> > >> > > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>>><br>
> > >> > > ><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>><br>
> > >> > > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>><br>
> > >> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > >> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> > <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" rel="noreferrer" target="_blank">christian.mauderer@embedded-brains.de</a>>>>>>>> wrote:<br>
> > >> > > > ><br>
> > >> > > > > Hello Nils,<br>
> > >> > > > ><br>
> > >> > > > > a third possibility: You could<br>
> > start a<br>
> > >> FTP server<br>
> > >> > > and push the<br>
> > >> > > > file<br>
> > >> > > > > via network.<br>
> > >> > > > ><br>
> > >> > > > > Best regards<br>
> > >> > > > ><br>
> > >> > > > > Christian<br>
> > >> > > > ><br>
> > >> > > > > Am Dienstag, 13. August 2019<br>
> > schrieb Nils<br>
> > >> > Hölscher:<br>
> > >> > > > > > Hi,<br>
> > >> > > > > ><br>
> > >> > > > > ><br>
> > >> > > > > > Thanks for the input I will try<br>
> > the SD<br>
> > >> card<br>
> > >> > first.<br>
> > >> > > > > > That way I won't have to alter the<br>
> > >> code when I<br>
> > >> > > want to run other<br>
> > >> > > > > stuff on the pru.<br>
> > >> > > > > ><br>
> > >> > > > > ><br>
> > >> > > > > > Best,<br>
> > >> > > > > > Nils<br>
> > >> > > > > ><br>
> > >> > > > > ><br>
> > >> > > > > > On Tue, 13 Aug 2019 at 17:32,<br>
> > Gedare Bloom<br>
> > >> > > <<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>><br>
> > >> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>>><br>
> > >> > > > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>><br>
> > >> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>>>><br>
> > >> > > > > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>>><br>
> > >> > > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>><br>
> > >> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>><br>
> > >> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>><br>
> > <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a> <mailto:<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>>>>>>>> wrote:<br>
> > >> > > > > ><br>
> > >> > > > > > You can also build the PRU<br>
> > image into<br>
> > >> the RTEMS<br>
> > >> > > binary. See<br>
> > >> > > > > > examples-v2.git/file_io/crc/init.c<br>
> > >> > > > > ><br>
> > >> > > > > > On Tue, Aug 13, 2019 at 8:46 AM<br>
> > Christian<br>
> > >> > Mauderer<br>
> > >> > > > > <<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>><br>
> > >> > > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>>><br>
> > >> > > > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>><br>
> > >> > > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>><br>
> > >> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>><br>
> > >> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>><br>
> > <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a> <mailto:<a href="mailto:list@c-mauderer.de" rel="noreferrer" target="_blank">list@c-mauderer.de</a>>>>>>>> wrote:<br>
> > >> > > > > > ><br>
> > >> > > > > > > Hello Nils,<br>
> > >> > > > > > ><br>
> > >> > > > > > > that's a bit odd. I attached<br>
> > an expected<br>
> > >> > output<br>
> > >> > > below.<br>
> > >> > > > Some guesses:<br>
> > >> > > > > > ><br>
> > >> > > > > > > - Did you add FAT file system<br>
> > to your<br>
> > >> > application?<br>
> > >> > > > > > > - Is there some odd formatting on<br>
> > >> the SD?<br>
> > >> > > Normally at<br>
> > >> > > > least the FAT<br>
> > >> > > > > > > partition used by U-Boot<br>
> > should be<br>
> > >> visible.<br>
> > >> > > > > > > - Is your BDBUF configuration OK?<br>
> > >> > > > > > > - Do you have enough file<br>
> > descriptors?<br>
> > >> > > > > > ><br>
> > >> > > > > > > Beneath that: If you only need<br>
> > >> something where<br>
> > >> > > you can put<br>
> > >> > > > some<br>
> > >> > > > > files,<br>
> > >> > > > > > > you can try to connect a USB<br>
> > stick<br>
> > >> instead.<br>
> > >> > > Maybe that<br>
> > >> > > > works better.<br>
> > >> > > > > > ><br>
> > >> > > > > > > Best regards<br>
> > >> > > > > > ><br>
> > >> > > > > > > Christian<br>
> > >> > > > > > ><br>
> > >> > > > > > ><br>
> > >> > > > > > > media listener: event = DISK<br>
> > ATTACH,<br>
> > >> state =<br>
> > >> > > INQUIRY, src<br>
> > >> > > > = mmcsd<br>
> > >> > > > > > > media listener: event = DISK<br>
> > ATTACH,<br>
> > >> state =<br>
> > >> > > SUCCESS, src =<br>
> > >> > > > > mmcsd, dest<br>
> > >> > > > > > > = /dev/mmcsd-0<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > INQUIRY,<br>
> > >> > > src =<br>
> > >> > > > /dev/mmcsd-0<br>
> > >> > > > > > > mmcsd0: 4GB <SDHC TO 15.15 SN<br>
> > >> 000002F6 MFG<br>
> > >> > > 02/2017 by 25<br>
> > >> > > > DY> at mmc0<br>
> > >> > > > > > > 24.0MHz/4bit/65535-block<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > FAILED, src =<br>
> > >> > > > /dev/mmcsd-0<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> INQUIRY,<br>
> > >> > state =<br>
> > >> > > > INQUIRY, src =<br>
> > >> > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> INQUIRY,<br>
> > >> > state =<br>
> > >> > > > SUCCESS, src =<br>
> > >> > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> ATTACH,<br>
> > >> > state<br>
> > >> > > = INQUIRY,<br>
> > >> > > > src =<br>
> > >> > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> ATTACH,<br>
> > >> > state<br>
> > >> > > = SUCCESS,<br>
> > >> > > > src =<br>
> > >> > > > > > > /dev/mmcsd-0, dest =<br>
> > /dev/mmcsd-0-0<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > INQUIRY,<br>
> > >> > > src =<br>
> > >> > > > /dev/mmcsd-0-0<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > SUCCESS,<br>
> > >> > > src =<br>
> > >> > > > > /dev/mmcsd-0-0,<br>
> > >> > > > > > > dest = /media/mmcsd-0-0<br>
> > >> > > > > > > media listener: event = DISK<br>
> > ATTACH,<br>
> > >> state =<br>
> > >> > > INQUIRY, src<br>
> > >> > > > = mmcsd<br>
> > >> > > > > > > media listener: event = DISK<br>
> > ATTACH,<br>
> > >> state =<br>
> > >> > > SUCCESS, src =<br>
> > >> > > > > mmcsd, dest<br>
> > >> > > > > > > = /dev/mmcsd-1<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > INQUIRY,<br>
> > >> > > src =<br>
> > >> > > > /dev/mmcsd-1<br>
> > >> > > > > > > mmcsd1: 4GB <MMCHC MMC04G 5.8 SN<br>
> > >> 160D224B MFG<br>
> > >> > > 09/2014 by 112<br>
> > >> > > > > 0x0000> at<br>
> > >> > > > > > > mmc1 48.0MHz/8bit/65535-block<br>
> > >> > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > FAILED, src =<br>
> > >> > > > /dev/mmcsd-1<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> INQUIRY,<br>
> > >> > state =<br>
> > >> > > > INQUIRY, src =<br>
> > >> > > > > > > /dev/mmcsd-1<br>
> > >> > > > > > > media listener: event = PARTITION<br>
> > >> INQUIRY,<br>
> > >> > state<br>
> > >> > > = FAILED,<br>
> > >> > > > src =<br>
> > >> > > > > > > /dev/mmcsd-1<br>
> > >> > > > > > > media listener: event = DISK<br>
> > ATTACH,<br>
> > >> state =<br>
> > >> > > INQUIRY, src =<br>
> > >> > > > > mmcsd1boot<br>
> > >> > > > > > > mmcsd1boot0: 2MB partion 1 at<br>
> > mmcsd1<br>
> > >> > > > > > > mmcsd1boot1: 2MB partion 2 at<br>
> > mmcsd1<br>
> > >> > > > > > > mmcsd1rpmb: 131kB partion 3<br>
> > at mmcsd1<br>
> > >> > > > > > ><br>
> > >> > > > > > ><br>
> > >> > > > > > > On 13/08/2019 13:30, Nils<br>
> > Hölscher<br>
> > >> wrote:<br>
> > >> > > > > > > > Hi,<br>
> > >> > > > > > > ><br>
> > >> > > > > > > > Thanks for the help.<br>
> > >> > > > > > > > I tried to use your code, but I<br>
> > >> always get<br>
> > >> > > "ERROR: SD<br>
> > >> > > > could not be<br>
> > >> > > > > > > > mounted after timeout".<br>
> > >> > > > > > > > Even after raising the<br>
> > waiting time.<br>
> > >> > > > > > > ><br>
> > >> > > > > > > > The sources I use start here:<br>
> > >> > > > > > > ><br>
> > >> > > ><br>
> > >> > ><br>
> > >> ><br>
> > >><br>
> > <a href="https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/main.c#L110" rel="noreferrer noreferrer" target="_blank">https://github.com/nilhoel1/rtems-pru/blob/pruss-shell/main.c#L110</a><br>
> > >> > > > > > > ><br>
> > >> > > > > > > > And my uart output is:<br>
> > >> > > > > > > > ""<br>
> > >> > > > > > > > waiting for SD...<br>
> > >> > > > > > > ><br>
> > >> > > > > > > > usbus0: 480Mbps High Speed<br>
> > USB v2.0<br>
> > >> > > > > > > > usbus1: 480Mbps High Speed<br>
> > USB v2.0<br>
> > >> > > > > > > > media listener: event = DISK<br>
> > >> ATTACH, state =<br>
> > >> > > INQUIRY,<br>
> > >> > > > src = mmcsd<br>
> > >> > > > > > > > media listener: event = DISK<br>
> > >> ATTACH, state =<br>
> > >> > > SUCCESS, src =<br>
> > >> > > > > mmcsd, dest<br>
> > >> > > > > > > > = /dev/mmcsd-0<br>
> > >> > > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > > INQUIRY, src =<br>
> > >> > > > /dev/mmcsd-0<br>
> > >> > > > > > > > ugen0.1: <Mentor Graphics<br>
> > OTG Root<br>
> > >> HUB><br>
> > >> > at usbus0<br>
> > >> > > > > > > > ugen1.1: <Mentor Graphics<br>
> > OTG Root<br>
> > >> HUB><br>
> > >> > at usbus1<br>
> > >> > > > > > > > uhub0: <Mentor Graphics OTG<br>
> > Root<br>
> > >> HUB, class<br>
> > >> > > 9/0, rev<br>
> > >> > > > > 2.00/1.00, addr 1><br>
> > >> > > > > > > > on usbus0<br>
> > >> > > > > > > > uhub1: <Mentor Graphics OTG<br>
> > Root<br>
> > >> HUB, class<br>
> > >> > > 9/0, rev<br>
> > >> > > > > 2.00/1.00, addr 1><br>
> > >> > > > > > > > on usbus1<br>
> > >> > > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > FAILED,<br>
> > >> > > src =<br>
> > >> > > > /dev/mmcsd-0<br>
> > >> > > > > > > > media listener: event =<br>
> > PARTITION<br>
> > >> > INQUIRY, state =<br>
> > >> > > > INQUIRY, src =<br>
> > >> > > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > > media listener: event =<br>
> > PARTITION<br>
> > >> > INQUIRY, state =<br>
> > >> > > > SUCCESS, src =<br>
> > >> > > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > > media listener: event =<br>
> > PARTITION<br>
> > >> > ATTACH, state =<br>
> > >> > > > INQUIRY, src =<br>
> > >> > > > > > > > /dev/mmcsd-0<br>
> > >> > > > > > > > media listener: event =<br>
> > PARTITION<br>
> > >> > ATTACH, state =<br>
> > >> > > > SUCCESS, src =<br>
> > >> > > > > > > > /dev/mmcsd-0, dest =<br>
> > /dev/mmcsd-0-0<br>
> > >> > > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > > INQUIRY, src =<br>
> > >> > > > > /dev/mmcsd-0-0<br>
> > >> > > > > > > > media listener: event =<br>
> > MOUNT, state =<br>
> > >> > FAILED,<br>
> > >> > > src =<br>
> > >> > > > > /dev/mmcsd-0-0<br>
> > >> > > > > > > > media listener: event = DISK<br>
> > >> ATTACH, state =<br>
> > >> > > INQUIRY,<br>
> > >> > > > src = mmcsd<br>
> > >> > > > > > > > media listener: event = DISK<br>
> > >> ATTACH, state =<br>
> > >> > > SUCCESS, src =<br>
> > >> > > > > mmcsd, dest<br>
> > >> > > > > > > > = /dev/mmcsd-1<br>
> > >> > > > > </blockquote></div>
</blockquote></div>