I am not able to hold the iMX53 in reset using a debugger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I am not able to hold the iMX53 in reset using a debugger

581 次查看
mohammedqasim
Contributor I

I updated the Image Vector Table and the DCD in my code and loaded to flash. After that I am not able to hold the CPU in reset using a debugger. And because of that, I am not able to reflash,......

CPU: iMX53

Flash: External NOR Flash

Image Vec table Entries:

const struct ivt input_ivt ={

  0xD1, 0x00, 0x20, 0x40, //Header identifying the type of data structure (0xD1), its size (0x0020 = 32 bytes), HAB version (0x40).  i.MX53 uses D100 2040h.

  (hab_image_entry_f)main, //Address of main(), which is the "Application" in the BIOS case

  NULL, //Reserved and should be zero.

  NULL, //Absolute address of the image Device Configuration Table (DCD). The DCD is optional, so this field may be set to NULL, if no DCD is required.

  &boot_data, //Absolute address of the Boot Data structure

  &input_ivt,

  NULL,

  0x00000000

};

boot_data_t boot_data = {

    (uint32_t) &__bios_start,

    (uint32_t) 60000,

    0

};

I have confirmed that the ivt appears at 0x1000 offset from the Flash base address

Can someone help me figure this one out?

标签 (1)
标记 (2)
0 项奖励
回复
0 回复数