I have a project that works fine in CW 10.6. The project uses SPI0 to control a graphic LCD. PE was used to create the project.
When I ported the project to KDS v1.1.1 (also using PE), it does not work any more. The SCK pulses 16 times then stops. In KDS there does not seem to have a way to verify the SPI registers content, not even in memory browser. I tried CMSIS-DAP firmware and I tried PEmicro firmware.
Any suggestions?
已解决! 转到解答。
I found the problem. It was a bug in my code that caused the memory corruption. CW and KDS seem to have different link order so the memory corruption manifested differently.
The ability to view the register contents was a great help!
By the way, I do not seem to be able to find NVIC registers using the plug-in from EmbSysRegView Project.
There is a plugin you can use to show the hardware registers:
http://mcuoneclipse.com/2014/05/29/how-to-add-register-details-view-in-eclipse/
EmbSys Registers View with CMSIS-SVD dimElementGroup | MCU on Eclipse
I found the problem. It was a bug in my code that caused the memory corruption. CW and KDS seem to have different link order so the memory corruption manifested differently.
The ability to view the register contents was a great help!
By the way, I do not seem to be able to find NVIC registers using the plug-in from EmbSysRegView Project.