AnsweredAssumed Answered

Verify error at address 0x0000040D, target byte: 0x3D, byte in file: 0x3F

Question asked by Gilbert Liu on Nov 1, 2016
Latest reply on Nov 16, 2016 by Gilbert Liu

Hi, I am working on the MKL27Z256VFM4 MCU and I am using IAR Embedded Workbench.

My project compiled successfully, but I received an error during the download to the target.

The warning is "Verify error at address 0x0000040D, target byte: 0x3D, byte in file: 0x3F"

Is any idea what is the problem about this? how to fix it? Will it cause any error in my program?


In addition, my project is working properly except two GPIO pins are not responding. Is this related to the above error?

or I configure my pins incorrectly? I have attached the pin_mux.c file below. Please advise.


void BOARD_InitPins(void)
    PORT_SetPinMux(PORTA, 1U, kPORT_MuxAlt2);     
    PORT_SetPinMux(PORTA, 2U, kPORT_MuxAlt2);     
    PORT_SetPinMux(PORTA, 4U, kPORT_MuxAsGpio);                <<< This pin is not responding.    


    port_pin_config_t Bconfig = {0};
    Bconfig.pullSelect = kPORT_PullUp;                                         
    Bconfig.mux = kPORT_MuxAsGpio;
    PORT_SetPinConfig(PORTB, 0U, &Bconfig);     
    PORT_SetPinMux(PORTB, 1U, kPORT_PinDisabledOrAnalog);   


    port_pin_config_t Cconfig = {0};
    Cconfig.pullSelect = kPORT_PullUp;
    Cconfig.mux = kPORT_MuxAsGpio;
    PORT_SetPinConfig(PORTC, 1U, &Cconfig);     
    PORT_SetPinConfig(PORTC, 3U, &Cconfig);     
    PORT_SetPinConfig(PORTC, 4U, &Cconfig);     
    PORT_SetPinConfig(PORTC, 5U, &Cconfig);    
    PORT_SetPinConfig(PORTC, 6U, &Cconfig);     
    PORT_SetPinConfig(PORTC, 7U, &Cconfig);     


    PORT_SetPinMux(PORTD, 4U, kPORT_MuxAsGpio);    
    PORT_SetPinMux(PORTD, 5U, kPORT_MuxAsGpio);     


    PORT_SetPinMux(PORTE, 0U, kPORT_MuxAlt4);                       <<< This pin is not responding.
    PORT_SetPinMux(PORTE, 30U, kPORT_MuxAsGpio);               <<< This pin is not responding.


I simply toggle high and low on these three pin, but they have no response at all.

Any idea? Please kindly advise. Greatly Appreciate!!!