有一段程序,InitializeApplication();单步过不去,要是进入函数内部就可以过去。
- void InitializeApplication(void)
- {
- GetPatternParameter();
- SendBreakInitialize();
- LightLED4();
- }
- void SendBreakInitialize(void)
- {
-
- UartSendBreakProtocol();
-
- }
- void UartSendBreakProtocol(void)
- {
- while(Sendh[BREAKPORT] != Sendt[BREAKPORT]){}
- int i;u8 Jyz = 0;
- for(i = 0;i < 2000;i ++){}
- for(i = 0;i < BreakSendBuffer[0];i ++)
- {
- UartSendByte2(BREAKPORT,BreakSendBuffer[i + 1]);
- Jyz += BreakSendBuffer[i + 1];
- }
- UartSendByte2(BREAKPORT,Jyz & 0x7f);
- //SendBreakByte(BREAKPORT,0xfe);
- UartSendByte2(BREAKPORT,0xfe);
- UartEnabelBreakSend();
- }
请问高手,如何解决?谢谢
|