We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Aladdin-Wang 我是用RTT STDIO,按照你的教程bsp是1.1.0,都是用最新的包。使用的LED的模板 屏幕用的是原子800*480同配置的,触摸芯片也是9147. 显示可以显示图,但是不能动,不能数模,图里面没有曲线。
如附录文件所示;
终端显示出错的问题如下: `[D/drv.sdram] sdram init success, mapped at 0xC0000000, size is 33554432 bytes, data width is 16 [I/I2C] I2C bus [i2c1] registered
\ | /
id = 9 1 4 7 range_x = 801 range_y = 481 point_num = 10 msh />psr: 0x00000000 r00: 0x0000000a r01: 0x00000080 r02: 0x000000ff r03: 0x0000000a r04: 0x9000d3e5 r05: 0x240055d0 r06: 0x00000001 r07: 0x00000000 r08: 0xdeadbeef r09: 0xdeadbeef r10: 0xdeadbeef r11: 0xdeadbeef r12: 0x00000000 lr: 0x900019d7 pc: 0x00000000 hard fault on thread: TouchGFX�
thread pri status sp stack size max used left tick error
TouchGFX 15 running 0x000000d0 0x00002000 21% 0x0000000f 000 tshell 20 suspend 0x00000188 0x00001000 09% 0x00000009 000 tidle0 31 ready 0x00000060 0x00000100 53% 0x0000000d 000 timer 4 suspend 0x0000007c 0x00000200 24% 0x00000009 000 main 10 suspend 0x000000c0 0x00000800 25% 0x0000000c 000 usage fault: SCB_CFSR_UFSR:0x02 INVSTATE`
The text was updated successfully, but these errors were encountered:
找到问题了,在libraries - touchgfx_lib - TouchGFX - target - STM32TouchController.cpp 把x = 800 - read_data[0].x_coordinate; y = 480 - read_data[0].y_coordinate; 修改位 x = read_data[0].x_coordinate; y = read_data[0].y_coordinate;
x = 800 - read_data[0].x_coordinate; y = 480 - read_data[0].y_coordinate;
x = read_data[0].x_coordinate; y = read_data[0].y_coordinate;
即可正常用keil下载。
但是我又遇到了rtt stdio下载还是一样的问题没解决。
Sorry, something went wrong.
https://www.bilibili.com/video/BV1wy4y1D7kt 去这里学习一下吧
No branches or pull requests
@Aladdin-Wang
我是用RTT STDIO,按照你的教程bsp是1.1.0,都是用最新的包。使用的LED的模板
屏幕用的是原子800*480同配置的,触摸芯片也是9147.
显示可以显示图,但是不能动,不能数模,图里面没有曲线。
如附录文件所示;
终端显示出错的问题如下:
`[D/drv.sdram] sdram init success, mapped at 0xC0000000, size is 33554432 bytes, data width is 16
[I/I2C] I2C bus [i2c1] registered
\ | /
/ | \ 4.0.3 build Dec 1 2020
2006 - 2020 Copyright by rt-thread team
[D/drv.lcd] LTDC init success
[I/touch] rt_touch init success
[I/gt9147] touch device gt9147 init success
id = 9 1 4 7
range_x = 801
range_y = 481
point_num = 10
msh />psr: 0x00000000
r00: 0x0000000a
r01: 0x00000080
r02: 0x000000ff
r03: 0x0000000a
r04: 0x9000d3e5
r05: 0x240055d0
r06: 0x00000001
r07: 0x00000000
r08: 0xdeadbeef
r09: 0xdeadbeef
r10: 0xdeadbeef
r11: 0xdeadbeef
r12: 0x00000000
lr: 0x900019d7
pc: 0x00000000
hard fault on thread: TouchGFX�
thread pri status sp stack size max used left tick error
TouchGFX 15 running 0x000000d0 0x00002000 21% 0x0000000f 000
tshell 20 suspend 0x00000188 0x00001000 09% 0x00000009 000
tidle0 31 ready 0x00000060 0x00000100 53% 0x0000000d 000
timer 4 suspend 0x0000007c 0x00000200 24% 0x00000009 000
main 10 suspend 0x000000c0 0x00000800 25% 0x0000000c 000
usage fault:
SCB_CFSR_UFSR:0x02 INVSTATE`
The text was updated successfully, but these errors were encountered: