Hi NXP:
Now I want come true the function of IAP through CAN interface, The first I should configure the diffrent flash partition to Bootloader and App.
The configuration is blew:
/*Bootloader configure*/
MEMORY
{
flash_rchw : org = 0x00FA0000, len = 0x4
cpu0_reset_vec : org = 0x00FA0004, len = 0x4
m_text : org = 0x00FA0400, len = 382K
m_vectors_ram : org = 0x40000000, len = 0xC00
m_data : org = (0x40000000+0xC00), len = 384K-0xC00
}
/*App configure*/
MEMORY
{
flash_rchw : org = 0x1000000, len = 0x4
cpu0_reset_vec : org = 0x1000004, len = 0x4
m_text : org = 0x1000400, len = 2047K
m_vectors_ram : org = 0x40000000, len = 0xC00
m_data : org = (0x40000000+0xC00), len = 384K-0xC00
}
The same source code with diffrent flash partition, when MEMORY be configure App flash partition, It work will.
when I configure to Bootloader flash partition, It shows various abnormalities, such as GPIO does not output the expected state, Can started to work normally, but suddenly stopped working after a few seconds. The hex file which bulid out from my source code is 215K Bytes. I decided to use Medium flash memory blocks and Large flash memory blocks based on the size of Hex file. What's the problem? Please give me same advice on flash partition usage about Bootloader and App. Thanks!