On Freitag, 5. April 2019 10:53:54 CEST Rocco Marco Guglielmi wrote: > I thought I was clear. Let me point out some statements > > - The code is loaded in 0x0800 0000 (LMA) and executed at 0x0020 0000 > (VMA) in line with Freddie suggestion > - The flash procedure works as expected (even after error, on target > reset the code is executed properly) > - On a previous version of openocd (Open On-Chip Debugger > 0.10.0+dev-00226-g1c2e3d41d) we noticed no problem with the same > identical code > - The issue seems related to the inability of OpenOCD to place a > breakpoint in the VMA. > > To me, it sounds like a regression but I cannot be sure.
You can help debugging this by doing a "git bisect" with 1c2e3d41d as the last known- good revision. This commit is really quite old, though. It's from December 16th, 2017. You need to be able to compile openocd from source and run the test for each bisect step. BR, Matthias > Ciao, > RM > > > On Fri, Apr 5, 2019 at 10:13 AM <[email protected]> > > wrote: > > Rocco Marco Guglielmi writes: > > > Hello there, > > > any hint? > > > Ciao, > > > RM > > > > Get you linker script right! > > It is the task of the linker command to flash at 0x08000000 and to run > > at the other address. > > > > Bye > > -- > > Uwe Bonnes [email protected] > > > > Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt > > --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- -- Mit freundlichen Grüßen/Best regards, Matthias Welwarsky Project Engineer SYSGO AG Office Mainz Am Pfaffenstein 14 / D-55270 Klein-Winternheim / Germany Phone: +49-6136-9948-0 / Fax: +49-6136-9948-10 VoIP: SIP:[email protected] E-mail: [email protected] / Web: http://www.sysgo.com _________________________________________________________________________________ Web: https://www.sysgo.com Blog: https://www.sysgo.com/blog Events: https://www.sysgo.com/events Newsletter: https://www.sysgo.com/newsletter _________________________________________________________________________________ Handelsregister/Commercial Registry: HRB Mainz 90 HRB 8066 Vorstand/Executive Board: Etienne Butery (CEO), Kai Sablotny (COO) Aufsichtsratsvorsitzender/Supervisory Board Chairman: Marc Darmon USt-Id-Nr./VAT-Id-No.: DE 149062328
_______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
