doc&project&patch&script explain to support GD qspi nor in lauterbach, flash tool,ivt,fls mcal, fls bootloader and linux/ chinese/english
目录
1 背景和参考资料... 2
1.1 背景说明... 2
1.2 参考资料... 3
1.3 硬件连接... 5
2 Lauterbach脚本驱动开发(可选) 5
2.1 准备参考脚本... 5
2.2 QuadSPI_ReadID.. 6
2.3 配置QSPI NOR为DOPI模式... 7
2.4 使用DOPI模式 READ_8DTRD.. 10
2.5 测试结果... 13
3 Flash tool算法镜像开发... 14
3.1 Flash SDK实现的算法... 15
3.2 开发新的flash源代码... 17
3.3 测试结果... 20
4 开发IVT参数头... 22
4.1 S32G QSPI控制器配置区别... 24
4.2 QSPI的配置区别... 28
4.3 测试结果... 29
5 开发MCAL Fls驱动... 30
5.1 MCAL Fls驱动工程说明... 30
5.2 FlsMem配置页... 34
5.3 MemCfg配置页... 35
5.4 测试结果... 49
6 开发Bootloader工程中Fls驱动... 51
6.1 Bootloader工程说明... 51
6.2 Bootloader与MCAL Fls驱动的不同点... 53
6.3 镜像打包... 54
6.4 测试结果... 56
7 开发Linux驱动(可选) 57
7.1 Linux GD驱动支持情况... 57
7.2 时钟相关的修改... 58
7.3 在DTS中增加GD flash的支持... 60
7.4 修改源代码增加flash信息结构体... 61
7.5 修改源代码中flash的fixup支持DTR模式... 62
7.6 Turning dummy值解决读错位的问题... 64
7.7 测试结果... 65
Content
1 Background and References. 2
1.1 Background. 2
1.2 References. 3
1.3 Hardware Link. 5
2 Lauterbach Script development(Optional) 6
2.1 Preparing the refer script 6
2.2 QuadSPI_ReadID.. 6
2.3 Configure QSPI NOR to DOPI mode. 8
2.4 Use DOPI mode READ_8DTRD.. 11
2.5 Test report 13
3 Flash tool algorithm image development 15
3.1 Algorithms implemented by Flash SDK. 15
3.2 Develop new flash source code. 17
3.3 Test Report 21
4 Develop IVT Parameter Header 23
4.1 S32G QSPI Controllder configuration difference. 25
4.2 QSPI Configuration Difference. 30
4.3 Test Report 30
5 Develop MCAL Fls driver 31
5.1 MCAL Fls Driver Project Details. 31
5.2 FlsMem Configuration page. 35
5.3 MemCfg Configuration page. 36
5.4 Test Report 51
6 Develop Bootloader Project Fls Drivedr 52
6.1 Bootloader Project Details. 52
6.2 Difference of Bootloader and MCAL Fls Driver 54
6.3 Image Package. 56
6.4 Test Report 58
7 Develop Linux Driver(Optional) 59
7.1 Linux GD Driver Details. 59
7.2 Modification of Clock. 60
7.3 In DTS add GD flash Support 62
7.4 Modify source code and add flash information structure 63
7.5 Modify the fixup of flash in source code to support DTR mode 64
7.6 Turning Dummy Value to Solve the Misplacement Problem 66
7.7 Test Report 67
View full article