I have a new failure when using 'Reprogramming Flash' from Ozone with my STM32 app. This started occurring about two weeks ago for me, was not an issue prior.
Does not reproduce with same JLink, same STM32 device, same code, same process when connected to MacBook running MacOS 15 Beta running on M1 Max.
macOS Sonoma 14.6.1 running on Apple M1 Ultra
Ozone V3.34a
JFlash V7.98c
J-Link Compact PLUS V12.00 w/ Firmware 2024 Jul 18, SN = 852000910
Note: I have deleted and reinstalled both Ozone and JLink tools, same behavior. I have compared JLink/Ozone preferences between the two different Macs and don't see a preference/setting in difference.
[0][6]: E0043000 CID B105900D PID 005BB906 CTI
Connected to target device.
J-Link/J-Trace serial number: 852000910
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Elf.GetBaseAddr(); // returns 0x8000000
Target.ReadU32 (0x08000000); // returns 0x4, data is 0x20030000
Target.SetReg ("SP", 0x20030000);
Elf.GetEntryPointPC(); // returns 0x8001928
Target.SetReg ("PC", 0x8001928);
J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
Elf.GetBaseAddr(); // returns 0x8000000
Target.ReadU32 (0x08000000); // returns 0x4, data is 0x20030000
Target.SetReg ("SP", 0x20030000);
Elf.GetEntryPointPC(); // returns 0x8001928
Target.SetReg ("PC", 0x8001928);
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
Programming failed (error code = 1) for block @ address 0x08007000 (0)
Failed to erase sectors.
Memory map 'after startup completion point' is active
Programming failed (error code = 1) for block @ address 0x08002000 (1)
T-bit of XPSR is 0 but should be 1. Changed to 1.
Debug.Stop();
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
Timeout while programming sector, RAMCode did not respond in time!
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
OnDisconnectTarget() start
OnDisconnectTarget() end - Took 8us
Timeout while programming sector, RAMCode did not respond in time!
Disconnected from target device.
Does not reproduce with same JLink, same STM32 device, same code, same process when connected to MacBook running MacOS 15 Beta running on M1 Max.
macOS Sonoma 14.6.1 running on Apple M1 Ultra
Ozone V3.34a
JFlash V7.98c
J-Link Compact PLUS V12.00 w/ Firmware 2024 Jul 18, SN = 852000910
Note: I have deleted and reinstalled both Ozone and JLink tools, same behavior. I have compared JLink/Ozone preferences between the two different Macs and don't see a preference/setting in difference.
[0][6]: E0043000 CID B105900D PID 005BB906 CTI
Connected to target device.
J-Link/J-Trace serial number: 852000910
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Elf.GetBaseAddr(); // returns 0x8000000
Target.ReadU32 (0x08000000); // returns 0x4, data is 0x20030000
Target.SetReg ("SP", 0x20030000);
Elf.GetEntryPointPC(); // returns 0x8001928
Target.SetReg ("PC", 0x8001928);
J-Link: Flash download: Bank 0 @ 0x08000000: Skipped. Contents already match
Elf.GetBaseAddr(); // returns 0x8000000
Target.ReadU32 (0x08000000); // returns 0x4, data is 0x20030000
Target.SetReg ("SP", 0x20030000);
Elf.GetEntryPointPC(); // returns 0x8001928
Target.SetReg ("PC", 0x8001928);
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
Programming failed (error code = 1) for block @ address 0x08007000 (0)
Failed to erase sectors.
Memory map 'after startup completion point' is active
Programming failed (error code = 1) for block @ address 0x08002000 (1)
T-bit of XPSR is 0 but should be 1. Changed to 1.
Debug.Stop();
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
Timeout while programming sector, RAMCode did not respond in time!
Timeout while erasing sectors, RAMCode did not respond in time!
Failed to erase sectors.
OnDisconnectTarget() start
OnDisconnectTarget() end - Took 8us
Timeout while programming sector, RAMCode did not respond in time!
Disconnected from target device.
The post was edited 2 times, last by JayTT ().