AnsweredAssumed Answered

need help ?????????

Question asked by David Acosta on Oct 21, 2015
Latest reply on Oct 22, 2015 by David Acosta

//***********************************

//unsigned int   *FLASH_address_pointer;        // after the includes

//***********************************    

                                               

void READ_Flash(void) {                          // move 128 bytes from FLASH at 0xF800 to FLASH_data[pt]

        byte pt;

        byte tmp;

        FLASH_address_pointer=0xF800+8 ;        // +8 offset for test only

        for(pt=0;pt<128;pt++)  

        {

        tmp = (byte)(&FLASH_address_pointer[pt]);   // why does FLASH_address_pointer inc by two ??????

        FLASH_data[pt] = tmp ;                      // you can see it in disassemble

        }                                                          // help  COLDFIRE V1, code warrior V6.3

}

Outcomes