Helpful ReplyHot!Harmony 2.04 Widget

Author
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
2017/09/18 04:46:01 (permalink)
0

Harmony 2.04 Widget

Hardware:  PIC32MZ2025DAH176        Software:   MPLABX 4.01
                 800x480 LCD Generic                          Harmony 2.04
                 Custom design board                           XC32 1.44 compiler
 
Doing some application graphical test, in the graphic composer I used 1 imagewidget as image background and 2 imagewidget for counter numbers. Attached pictures shows what looks in the graphic composer and what paints in the LCD. Down the numbers there is a small square that I don´t know from where appears.
 
All Graphics are JPG´s.
                
 
 
 
post edited by jiggoly - 2017/09/18 04:51:42

Attached Image(s)

#1
MHGC
Super Member
  • Total Posts : 176
  • Reward points : 0
  • Status: offline
Re: Harmony 2.04 Widget 2017/09/19 13:24:31 (permalink)
0
Hi,

Is this the very first design you have tried on this board?
#2
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
Re: Harmony 2.04 Widget 2017/09/19 13:43:27 (permalink)
3 (1)
Hi, a real application yes. I run all demos without any problems. Did some testings with 800x480 images and they look perfect. Not all imagewidgets have the same problem.
#3
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
Re: Harmony 2.04 Widget 2017/09/21 11:45:39 (permalink)
4 (1)
I answer myself, looks like JPG images are not suitable for small or medium imagewidgets. I had to convert all of them to PNG, some of them added a transparency layer, other imagewidgets RAW with RLE compression.With those combinations works fine.
 
Cons: Jpeg images with preload to DDR should be the best to save storage space into flash.
 
Regards.
#4
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
Re: Harmony 2.04 Widget 2017/09/22 12:46:19 (permalink)
3 (1)
Update: Still learning how this works. Increasing DDR clock JPG artifacts dissapears. Now it´s very fast and pretty nice.
 
 
#5
kuku
Starting Member
  • Total Posts : 66
  • Reward points : 0
  • Joined: 2012/03/03 08:05:54
  • Location: 0
  • Status: offline
Re: Harmony 2.04 Widget 2018/01/06 15:57:20 (permalink)
0
In pdf I read: 
Predecoded Images in DDR (RAW)
For PIC32MZ DA devices with DDR, the MHGC Image Asset Manager provides an option to predecode images from Flash and store them into DDR as RAW images...
 

I look also in demo app and this section is not complete for me, how to proper store image in DDR?.
I think that has something to do with my attachet screen, but how to calculate addres and what is mean "padding".
(when I simple check "Enable" box then my app still restart). Second question is where I can see how many DDR I have left


 
post edited by kuku - 2018/01/06 15:58:32

Attached Image(s)

#6
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
Re: Harmony 2.04 Widget 2018/01/06 17:29:36 (permalink)
0
Hi, in other thread Ed@Microchip posted an calc sheet to calculate the address for your graphic.
 
Take a look:
 
http://www.microchip.com/forums/m1032076.aspx
 
 
Second question is where I can see how many DDR I have left

 
Well, in this version looks like there is no such utility to calculate so you have to do by hand. I guess next releases will be implemented.
 
Regards. Francisco
 
 
#7
MHGC
Super Member
  • Total Posts : 176
  • Reward points : 0
  • Status: offline
Re: Harmony 2.04 Widget 2018/01/11 13:54:56 (permalink)
0
Hi,

We are looking at improving the tool support for DDR image preprocessing.  Any ideas and feedback is much appreciated.
#8
jiggoly
Junior Member
  • Total Posts : 77
  • Reward points : 0
  • Joined: 2016/01/19 15:02:48
  • Location: Spain
  • Status: offline
Re: Harmony 2.04 Widget 2018/01/12 11:44:42 (permalink) ☄ Helpfulby MHGC 2018/01/12 13:09:06
5 (1)
Hi, for me could be the simplest way. Free DDR to place items is after third layer double buffer so I think a good start could be automatic address fill for each item you click to preprocess and a info screen where you can see how much DDR is left.
 
Regards. Francisco.
#9
Jump to:
© 2018 APG vNext Commercial Version 4.5