File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ const board_info_t g_board_info = {
26
26
.infoVersion = 0x0 ,
27
27
.board_id = "0227" ,
28
28
.family_id = kNXP_Mimxrt_FamilyID ,
29
- .flags = kEnablePageErase ,
30
29
.daplink_url_name = "PRODINFOHTM" ,
31
30
.daplink_drive_name = "RT1050-EVK" ,
32
31
.daplink_target_url = "http://www.nxp.com/imxrt1050evk" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ static void target_before_init_debug(void)
31
31
// RESET pin to high state ensure a successfully access. If external debugger not
32
32
// connected. It's not necessary for doing that.
33
33
swd_set_target_reset (0 );
34
+ }
34
35
36
+ static void prerun_target_config (void )
37
+ {
35
38
// In some case the CPU will enter "cannot debug" state (low power, SWD pin mux changed, etc.).
36
39
// Doing a hardware reset will clear those states (probably, depends on app). Also, if the
37
40
// external flash's data is not a valid bootable image, DAPLink cannot attached to target. A
@@ -56,5 +59,6 @@ const target_family_descriptor_t g_nxp_mimxrt = {
56
59
.default_reset_type = kSoftwareReset ,
57
60
.soft_reset_type = VECTRESET ,
58
61
.target_before_init_debug = target_before_init_debug ,
62
+ .prerun_target_config = prerun_target_config ,
59
63
.validate_bin_nvic = validate_bin_nvic ,
60
64
};
You can’t perform that action at this time.
0 commit comments