File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4686,6 +4686,10 @@ bool erase_command::execute(device_map &devices) {
46864686 auto con = get_single_bootsel_device_connection (devices);
46874687 picoboot_memory_access raw_access (con);
46884688
4689+ // Errata RP2350-E10 fix
4690+ auto model = raw_access.get_model ();
4691+ if (model->chip_revision () == rp2350_a2) con.exit_xip ();
4692+
46894693 uint32_t end = 0 ;
46904694 uint32_t binary_end = 0 ;
46914695 binary_info_header hdr;
@@ -4730,7 +4734,6 @@ bool erase_command::execute(device_map &devices) {
47304734 }
47314735 }
47324736
4733- model_t model = raw_access.get_model ();
47344737 enum memory_type t1 = get_memory_type (start , model);
47354738 enum memory_type t2 = get_memory_type (end, model);
47364739 if (t1 != flash || t1 != t2) {
You can’t perform that action at this time.
0 commit comments