Hello there, i am working on a project in which I have to receive data from UART port and display it on 7 inch TFT LCD display. For that, I have developed an python based gui code using PyQt5 package, in which I am interfaced text widget to display received data and interfaced some button widget to send some characters('A', 'B' etc) via UART. But while running the python code it shows error as follow:
And is this right way to display data(UART received data) on TFT LCD display?
root@mys-6ul:~# python3 gui.py
[ 541.582479] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 541.587815] Modules linked in: caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes mx6s_capture ov2659 caam secvio error
[ 541.602121] CPU: 0 PID: 699 Comm: python3 Not tainted 5.10.9-1.0.0+g01da9a3a13a2 #1
[ 541.609784] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[ 541.615988] PC is at __handle_domain_irq+0x64/0xd0
[ 541.620791] LR is at 0x86000130
[ 541.623941] pc : [<8017c5c8>] lr : [<86000130>] psr: 200f0193
[ 541.630216] sp : 84575f78 ip : 86000144 fp : 00000400
[ 541.635451] r10: 84575fb0 r9 : 84575f90 r8 : 8400a000
[ 541.640687] r7 : 00000001 r6 : 00000000 r5 : 32cbc155 r4 : 81179274
[ 541.647223] r3 : 84575f78 r2 : 00000000 r1 : 00000019 r0 : 32cbc155
[ 541.653762] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 541.660994] Control: 10c5387d Table: 8536c06a DAC: 00000051
[ 541.666756] Process python3 (pid: 699, stack limit = 0xd5fb76bc)
[ 541.672775] Stack: (0x84575f78 to 0x84576000)
[ 541.677144] 5f60: 81205444 812e6f80
[ 541.685339] 5f80: a0802000 81179280 a080200c 8051a428 76db5b6c 800f0030 ffffffff 10c5387d
[ 541.693534] 5fa0: 10c5387d 0076238c 0cecbf66 80100ed0 00000200 7529cb60 15141166 000001ff
[ 541.701730] 5fc0: 00000166 0000001e 0cecbf66 00761e24 7529cb80 0076238c 0cecbf66 00000400
[ 541.709926] 5fe0: 00761e24 7eee9860 76df0959 76db5b6c 800f0030 ffffffff 00000000 00000000
[ 541.718139] [<8017c5c8>] (__handle_domain_irq) from [<8051a428>] (gic_handle_irq+0x80/0x94)
[ 541.726518] [<8051a428>] (gic_handle_irq) from [<80100ed0>] (__irq_usr+0x50/0x80)
[ 541.734011] Exception stack(0x84575fb0 to 0x84575ff8)
[ 541.739077] 5fa0: 00000200 7529cb60 15141166 000001ff
[ 541.747273] 5fc0: 00000166 0000001e 0cecbf66 00761e24 7529cb80 0076238c 0cecbf66 00000400
[ 541.755466] 5fe0: 00761e24 7eee9860 76df0959 76db5b6c 800f0030 ffffffff
[ 541.762102] Code: eb0e3832 e2505000 0a000006 e1a0300d (e595203c)
[ 541.768211] ---[ end trace f7d848529f1cb7b4 ]---
[ 541.772841] Kernel panic - not syncing: Fatal exception in interrupt
[ 541.779205] ------------[ cut here ]------------
[ 541.783845] WARNING: CPU: 0 PID: 699 at kernel/smp.c:629 smp_call_function_many_cond+0x3ac/0x3cc
[ 541.792635] Modules linked in: caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes mx6s_capture ov2659 caam secvio error
[ 541.806907] CPU: 0 PID: 699 Comm: python3 Tainted: G D 5.10.9-1.0.0+g01da9a3a13a2 #1
[ 541.815959] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[ 541.822167] [<8010ec58>] (unwind_backtrace) from [<8010a0b0>] (show_stack+0x10/0x14)
[ 541.829933] [<8010a0b0>] (show_stack) from [<80c60758>] (dump_stack+0x94/0xa8)
[ 541.837183] [<80c60758>] (dump_stack) from [<80c5c8a4>] (__warn+0xb8/0x114)
[ 541.844169] [<80c5c8a4>] (__warn) from [<80c5c97c>] (warn_slowpath_fmt+0x7c/0xac)
[ 541.851679] [<80c5c97c>] (warn_slowpath_fmt) from [<801b1bdc>] (smp_call_function_many_cond+0x3ac/0x3cc)
[ 541.861183] [<801b1bdc>] (smp_call_function_many_cond) from [<801b1c5c>] (smp_call_function+0x44/0x78)
[ 541.870511] [<801b1c5c>] (smp_call_function) from [<8010e0c8>] (crash_smp_send_stop.part.0+0x34/0xac)
[ 541.879753] [<8010e0c8>] (crash_smp_send_stop.part.0) from [<80c5c608>] (panic+0x118/0x2fc)
[ 541.888125] [<80c5c608>] (panic) from [<8010a29c>] (die+0x1e8/0x368)
[ 541.894502] [<8010a29c>] (die) from [<80112e84>] (__do_kernel_fault.part.0+0x78/0x88)
[ 541.902361] [<80112e84>] (__do_kernel_fault.part.0) from [<8011313c>] (do_sect_fault+0x0/0x68)
[ 541.910991] [<8011313c>] (do_sect_fault) from [<00000005>] (0x5)
[ 541.917009] ---[ end trace f7d848529f1cb7b5 ]---
[ 541.921656] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
iMX6UL