AppWizard doesn't run when images are stored in microSD

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • AppWizard doesn't run when images are stored in microSD

      As title says, AppWizard shows a black screen when run whenever I try to store images in the microSD card of my Renesas RX72N Envision Kit. Program runs flawless unless the images are stored there.

      The microSD is the one shown in the image, it is FAT32 formatted.

      [img]https://res.cloudinary.com/rsc/image/upload/b_rgb:FFFFFF,c_pad,dpr_2.625,f_auto,h_214,q_auto,w_380/c_pad,h_214,w_380/R1249640-02?pgw=1[/img]
    • Hi aristi,

      My guess is that most likely your target file system is not properly set up yet.

      Which file system are you using on your target and can you confirm that it is correcty setup?
      Did you implement the file system layer between AppWizard and your file system (such as APPW_X_emFile.c)?

      Are you exporting the files correctly to your SD card? In the AppWizard preferences you can setup a media path, this should be the path to your SD card when it's plugged into your PC. You can then mark desired files as extern, and when you click "File -> Export external data", your external files will be written to your SD card with the correct folder hierarchy.

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.
    • Hello Florian,

      To be honest, I don't know which file system I'm using on my target, nor do I know how to setup the file system layer between AppWizard and my file system.

      I managed to export the images correctly to my SD card, now they show up in the microSD (D:\) root as .dta files: D:\Resource\Image\ .

      How do I proceed to implement the file system layer? Also, at runtime, the microSD should be plugged in the PC where AppWizard is running, or in the target (RX72N Envision Kit)?

      Thanks.
    • Hi aristi,

      as for a file system on your target, I would recommend our own emFile. With the AppWizard installer comes a ready-to-use configuration between emFile and AppWizard, this is the file APPW_X_emFile.c. It is located in the directory C:\ProgramData\Segger\AppWizard...\Sample.

      Currently, it is not documented how to implement the interface to another file system, but if you take a look at the file, it is rather straightforward. You simply need to implement a handful of methods for basic file operations (open file, close file, etc.) as well as initialization of your file system.

      aristi wrote:

      Also, at runtime, the microSD should be plugged in the PC where AppWizard is running, or in the target (RX72N Envision Kit)?
      In AppWizard play mode, you don't need to plug in the SD card to your PC. You only need to plug it in for exporting the external data to the SD card. Then, you can export and program the project onto your target and plug in the SD card to your target. The AppWizard project will load all the extern resources from your SD card.

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.