Hot!aria_showcase/configurations/DM320008/help!

Page: 12 > Showing page 1 of 2
Author
TimH
Starting Member
  • Total Posts : 69
  • Reward points : 0
  • Joined: 2017/09/07 12:19:01
  • Location: 0
  • Status: offline
2017/09/07 14:06:34 (permalink)
0

aria_showcase/configurations/DM320008/help!

I know I have a lot to learn...but...
 
I have purchased a MEBII and DM320008 (PIC32MZ2064DAA288) following advice from Microchip support, so I can see if the tools and processor are suitable for a new design I desperately need to start. It all looks really promising but I want to see some graphics demos.
 
Cool! Aria_showcase should do it! I have latest MPHC (2.04) and X-IDE.
 
No joy with "showcase" (loads of compilation errors) so tried "aria_showcase" and "aria_splashscreen" and after some messing around with BSP and configurations and I can compile and load these to the eval board. They run (no touchscreen functionality, but not investigated yet).
 
But I *so* want to see the "showcase" running!!
 
I think the issue is that I need the right "harmony configuration" for the DM320008 and 32MZ variant, but whatever I try I just get compilation errors.
 
So....since the other demos (splashscreen, for example) work, I think I should be able to copy the config files from that over to the "showcase". But I can't get it to work. Nothing but compilation errors, or complaints about incompatible or not-found configurations. 
 
Bottom line - how can I get the "showcase" running on my hardware so I can decide if the 32MZ is the right choice!!?? Surely running MC demo code on MC hardware should be a breeze?
#1

30 Replies Related Threads

    MHGC
    Super Member
    • Total Posts : 153
    • Reward points : 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/07 15:17:08 (permalink)
    0
    Hi,
     
    For v2.04, there is no configuration of aria_showcase that supports the MEB-II and the DM320008.  We will be adding this in v2.05.
     
    However, we do have two other applications that have been designed specifically for that hardware setup.  
     
    They are aria_coffee_maker and aria_image_stretch.  
     
    If your MEB-II have the new blue screen PDA 4.3" TM4301B display, the pic32mz_da_sk_extddr_meb2 configuration for both demonstrations should run right out of the box for you.
     
    If your MEB-II has the legacy Newhaven 4.3" display, aria_coffee_maker has the pic32mz_da_sk_extddr_meb2_legacy that will work for you.
     
    The difference between new and legacy is the PCAP touch driver support.
     
    Please let me know if they work for you.
    #2
    MHGC
    Super Member
    • Total Posts : 153
    • Reward points : 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/07 15:33:43 (permalink)
    0
    On an added note, as the original designer for both applications, I can say aria_coffee_maker incorporates a good majority of the features demonstrated in aria_showcase, but in a more application specific package.
    #3
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/08 12:06:37 (permalink)
    3 (1)
    Thanks for the guidance. I now have the coffee maker demo running after I obtained a 60 day "pro" trial XC32 licence - it was easier than trying to fathom how to change the build so that warnings aren't treated as errors!
     
    Touchscreen working too. Bit sluggish, but working.
     
    I will now have a play with all the tools and see if I can get some graphics running that closer mimic my intended application to further evaluate this controller.
     
    Plan had been to use a SAM9x35 to replace the AT91SAM9261 in an aging design being updated - but like the fact that the MPHC could speed up the redesign considerably!
     
    If all goes well I will graft the 5" 800x480 resistive touch display I'll be using to the MEB...although I don't think it supports resistive touch out of the box :(
    #4
    MHGC
    Super Member
    • Total Posts : 153
    • Reward points : 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/08 13:43:59 (permalink)
    0
     
    We have received multiple customer requests regarding resistive touch support to go with our graphics offering and we will be looking to address this in future releases.
     
    There are other customers on this forum that have successfully used Aria with their own resistive touch solution.  Please feel free to continue posting in this forum if you need support.
     
    With regard to the touch response and overall graphics performance, we are continuing to put effort to improve this on all fronts, especially on the MZ DA device.  This effort will be reflect in the upcoming v2.05 release.
    #5
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/08 14:03:44 (permalink)
    0
    Again, thanks for the response.
     
    I am also alarmed at how hot the 32MZ runs - you can hardly touch it when its running the coffee maker demo which, realistically, is not doing very much.
     
    FYI, the image stretch does not compile no matter what I try.
     
    I am, currently, concerned that this device will not be suitable - I need to update the screen at 20Hz (for multiple gauge dial pointers, data received via CANbus) and can't have it running that hot (the AT91SAM9261 is never hot). But I will persevere for a while and try and mock up a gauge to evaluate realtime performance.
    #6
    automate
    Starting Member
    • Total Posts : 52
    • Reward points : 0
    • Joined: 2014/11/10 09:58:57
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 12:54:56 (permalink)
    0
    @TimH
     
    Please detail the compile errors observed with ImageStretch.
     
     
    #7
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 13:35:27 (permalink)
    0
    automate
    @TimH
     
    Please detail the compile errors observed with ImageStretch.



    OK. I started to run through this and detail the steps that cause it to fail and, of course, it compiled and ran first time. Unbelievable!
     
    Maybe it's because I'm now using the internal DDR DM not the external, or maybe I'm just getting more familiar with the tools, or maybe something else was interfering. Grrr.
     
    I feel embarrassed of course. I will now run up other demos and see if they run and, if I have time, will swap back to the external DDR DM (DAA288) and see if it then fails.
     
    Newbies...tsk tsk
    #8
    MikeinAZ
    Administrator
    • Total Posts : 263
    • Reward points : 0
    • Joined: 2014/06/03 07:25:32
    • Location: Chandler, AZ
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 13:37:54 (permalink)
    0
    Hi Tim,
     
    Just so you know, both the two helping you on this thread, and two of the others in the other thread all work in the same group as part of my team.  So these are the developers of the various applications and libraries in some cases.  When they are asking for specifics, it is because they are working in parallel to see if they can duplicate any specific issue.
     
    I just tried the image_stretch app with XC32 v1.44, MPLAB X v4.0 and Harmony v2.04 and it compiles right out of the box for us.  This is a setting of -O1, which was specified on shipment.  It would help if you can take a picture or attach the log file of what the compile failure is.
     
    That said, this app has a known issue with functionality (run time) with compiler above v1.42.  We have an easy fix for this, but you may have noticed that the native compiler was set to v1.42 which should not have been the case.  It may be possible that you have some older version compiler which was reverted by this setting, and thus you are compiling with something even older than v1.42 which cause your errors.
     
    Once you get past this compile issue, I have asked Keith (automate) to get you the change info you need to path the functionality.  It is a small change, and already corrected for our next release.
     
    From what I understand, "quickstart" and "coffee_maker" are already compiling and working for you.  Please confirm.
    #9
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 13:49:43 (permalink)
    0
    Can confirm coffee maker works with the DAA288 and DAG169.
     
    Quick start also works, but doesn't do much (not looked at what it's supposed to do, though)
     
    Image stretch did not work on the 288 but does on the 169. Have not swapped back to the 288 to confirm.
     
    Not familiar (yet) with -01 vs -03 compiler settings but have the "pro" version on 60 day trial so not an issue at the moment.
    #10
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 14:02:09 (permalink)
    0
    Just tried a random selection of other aria demo projects and it seems those 3 are the only gooduns.
     
    What I need to do now is try and get SQI, SD, Wi-Fi, Bluetooth and audio working on the eval as these are features I need (I forgot to mention audio in other thread).
     
    Will play with other demos and see what I find!
    #11
    automate
    Starting Member
    • Total Posts : 52
    • Reward points : 0
    • Joined: 2014/11/10 09:58:57
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 14:10:39 (permalink)
    0
    Tim,
     
    Please find the change info needed for ImageStretch.
     
    There are gpu initialization lines that should be removed from app.c. These lines are present to initialize the gpu with DDR memory. Previously, DDR GPU initialization was not available in the graphics library. Now that the library generates its own correct gpu initialization code, the app code is no longer required.
     
    Remember that a generation step is required afterwards
     
    Starting at line 221, remove the following.
     
                /* initialize and open gpu driver  */
                n2d_module_parameters_t gpu_params;
                gpu_params.registerMemBase2D = 0xBF8EB000;
                gpu_params.contiguousBase = (uint32_t)0xA85DC000;
                gpu_params.baseAddress = 0;
                n2d_init_hardware(&gpu_params);
                n2d_open();
    #12
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 14:13:48 (permalink)
    0
    Hi "automate"...are these changes only needed to make it work on the external DDR (DAA288)? The demo works on internal DDR (DAG169) but would be good to know it wasn't finger trouble on my part when trying to get it to work on the DAA288 :)
    #13
    automate
    Starting Member
    • Total Posts : 52
    • Reward points : 0
    • Joined: 2014/11/10 09:58:57
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 14:18:19 (permalink)
    0
    Tim,
     
    The demo has the following configurations:
    pic32mz_da_sk_extddr_meb2  (wqvga display)
    pic32mz_da_sk_extddr_meb2_wvga   (wvga display)
     
    Currently, there are no internal ddr configurations and no testing has been performed on DAG169
    #14
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 14:20:27 (permalink)
    0
    Well, I just tested it on the DAG169 and it worked...without those changes :)
    #15
    NKurzman
    A Guy on the Net
    • Total Posts : 14837
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: aria_showcase/configurations/DM320008/help! 2017/09/14 16:13:37 (permalink)
    0
    If you are updating App the Regular demo should include all the controls as the original ones did.  This allows one to see an example of everything.  It is good for a visual demo and good as an example.  The current one is most a layer sample now.
    #16
    MHGC
    Super Member
    • Total Posts : 153
    • Reward points : 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/15 15:32:50 (permalink)
    0
    NKurzman,
     
    If you are talking about a demo that highlights the various widgets on offering by the library, that is called aria_showcase, for v2.04 it is only supported on MZ EF.  
     
    But we will be extending that to include MZ DA in v2.05.
    #17
    NKurzman
    A Guy on the Net
    • Total Posts : 14837
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: aria_showcase/configurations/DM320008/help! 2017/09/15 17:11:39 (permalink)
    0
    bill.li
    NKurzman,
     
    If you are talking about a demo that highlights the various widgets on offering by the library, that is called aria_showcase, for v2.04 it is only supported on MZ EF.  
     
    But we will be extending that to include MZ DA in v2.05.


    OK  I will Give it a Look (I have an EF).  The Earlier 2.0X Version left my boss unimpressed and unconvinced we need to invest time to move to 2.XX
    #18
    TimH
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2017/09/07 12:19:01
    • Location: 0
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/16 09:58:30 (permalink)
    0
    Any expectation of when V2.05 is likely to be available?
    #19
    MikeinAZ
    Administrator
    • Total Posts : 263
    • Reward points : 0
    • Joined: 2014/06/03 07:25:32
    • Location: Chandler, AZ
    • Status: offline
    Re: aria_showcase/configurations/DM320008/help! 2017/09/27 14:40:37 (permalink)
    3 (1)
    November 2017.  We do not have an exact date yet.
    #20
    Page: 12 > Showing page 1 of 2
    Jump to:
    © 2017 APG vNext Commercial Version 4.5