Jump to content

Kabron

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

774 profile views
  1. Kabron

    uGFX on PSOC 4

    Finally, I switched my application to work with uGFX. To my surprise and satisfaction, it draws 4x times faster than mine custom LCD driver. And memory requirement are quite similar. See it on picture. Thanks again! BTW I have a project similar to your remote display idea. Please, see these videos:
  2. Kabron

    uGFX on PSOC 4

    Thanks a lot for consulting, Joel! Step by step I"m making a progress. I could add fonts. As to version 2.7. I compiled the example with the exact the same settings as for 2.6. The result was 0.3% smaller size. When I set GFX_CPU to GFX_CPU_CORTEX_M0, the following errors occurred: ccSNwxqe.s:36: Error: lo register required -- `str sp,[r0,#20]' ccSNwxqe.s:37: Error: lo register required -- `ldr sp,[r1,#20]' ccSNwxqe.s:2595: Error: lo register required -- `str sp,[r0,#20]' ccSNwxqe.s:2596: Error: lo register required -- `ldr sp,[r1,#20]' so, some progress obvious.
  3. Kabron

    uGFX on PSOC 4

    Well, changing to GFX_CPU_UNKNOWN dramatically improve the situation. Errors gone. I even could to draw something. BUT! uGFX is so resource hungry! Any attempt to wide the operation scope(add fonts, even the smallest, images etc.) fails in flash memory shortage. Obviously I'm loosing something. I attached modifed project. uGFX Demo.cywrk.Archive01.zip
  4. Kabron

    uGFX on PSOC 4

    Hello, Joel. I tried to reproduce the example for PSOC 4 CY8CKIT -049-42xx. Application generated OK, but build stage I got various errors concerning invalid registers. These errors refers to some .s files that do not exists anywhere. And each build attempt I got different names of these files. E.g. cch53yPh.s at first build, ccabGOXB.s at second attempt, cc4TpoIF.s at 3rd, etc. Just simple compiling gfx_mk.c file gives these errors. It is rather strange, from the cross-platforming declared. These files also figured in gfx_mk.lst with location at C:\Users\me\AppData\Local\Temp\cc4TpolF.s. in log file I found: C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s: Assembler messages: C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:837: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:838: Error: lo register required -- `str sp,[r2,#20]' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:839: Error: lo register required -- `ldr sp,[r3,#20]' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:840: Error: invalid register list to push/pop instruction -- `pop {r4,r5,r6,r7,r8,r9,r10,r11,pc}' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:865: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:866: Error: lo register required -- `str sp,[r2,#20]' C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:867: Error: lo register required -- `ldr sp,[r3,#20]' I do understand that Cortex M3 and M0 are different, but I think that Creator have to resolve the cases. PS I found #define GFX_CPU and changed it to M0. But some errors remains: C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:843: Error: lo register required -- `str sp,[r2,#20]' C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:844: Error: lo register required -- `ldr sp,[r3,#20]' C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:875: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}' C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:876: Error: lo register required -- `str sp,[r2,#20]' C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:877: Error: lo register required -- `ldr sp,[r3,#20]'
×
×
  • Create New...