Ciao Andrej
您选择了硬路径......使用经过测试的控制板可以更好地选择。
好。一些建议:
1)禁用LCD。任何Control BD都有不同的LCD驱动程序。最好使用带有串行com的WB(USART TX和RX在威廉希尔官方网站
板中更为标准,只是为了检查引脚是否正确)
2)将振荡器改为8MHz。 Control BD具有带插座的振荡器,并且更改它比更换FW更容易
3)正如您所做的那样,尝试找出两块板(和两块微板)之间可能存在的差异。希望外围设备(至少是MC使用的外围设备)映射到相同的内存区域,否则您还需要更改MC FW使用的标准外围设备库。
4)尝试识别(使用调试器)FW停止的代码部分
5)交叉手指
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Andrej
You chose the hard path... better with a ready and tested control board.
Ok. Some suggestion:
1) disable the LCD. Any Control BD has different LCD driver. Better to use the WB with serial com (USART TX and RX are more standard among the boards just to check if the pin are correct)
2) change the oscillator to 8MHz. The Control BD has oscillator with socket and change it is more easy than change the FW
3) As you did, try to find any possible difference between the two board (and the two micro). The hope is that the peripheral (at least the one used by MC) is mapped in the same memory regions otherwise you need to change also the standard peripheral library used by the MC FW.
4) Try to identify (with the debugger) in which part of the code the FW is stopped
5) Cross the finger
Ciao
Gigi
Ciao Andrej
您选择了硬路径......使用经过测试的控制板可以更好地选择。
好。一些建议:
1)禁用LCD。任何Control BD都有不同的LCD驱动程序。最好使用带有串行com的WB(USART TX和RX在威廉希尔官方网站
板中更为标准,只是为了检查引脚是否正确)
2)将振荡器改为8MHz。 Control BD具有带插座的振荡器,并且更改它比更换FW更容易
3)正如您所做的那样,尝试找出两块板(和两块微板)之间可能存在的差异。希望外围设备(至少是MC使用的外围设备)映射到相同的内存区域,否则您还需要更改MC FW使用的标准外围设备库。
4)尝试识别(使用调试器)FW停止的代码部分
5)交叉手指
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Andrej
You chose the hard path... better with a ready and tested control board.
Ok. Some suggestion:
1) disable the LCD. Any Control BD has different LCD driver. Better to use the WB with serial com (USART TX and RX are more standard among the boards just to check if the pin are correct)
2) change the oscillator to 8MHz. The Control BD has oscillator with socket and change it is more easy than change the FW
3) As you did, try to find any possible difference between the two board (and the two micro). The hope is that the peripheral (at least the one used by MC) is mapped in the same memory regions otherwise you need to change also the standard peripheral library used by the MC FW.
4) Try to identify (with the debugger) in which part of the code the FW is stopped
5) Cross the finger
Ciao
Gigi
举报