Skip to content

Commit 75a53b9

Browse files
authored
Update my15-TRACE32.ino
1 parent 3ea0a83 commit 75a53b9

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

my15-TRACE32.ino

+10-27
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,22 @@
1919
*
2020
* 3. Get Your Portenta SN from the Arduino IDE, Tools-->Board Info (plug in Portenta a select port )
2121
*
22-
* 4. Lisense either now or later at https://www.lauterbach.com/frames.html?register_arduino.php
22+
* 4. license either now or later at https://www.lauterbach.com/frames.html?register_arduino.php
2323
*
24-
* Read your replied email for a lisense code.
24+
* 5. Read your replied email for a license code. Put the long line of code in a file called license.t32
25+
* Add a new line for each Portenta you own.
26+
* Copy the license.t32 file into the main folder of Trac32
2527
*
26-
* 5. Put the following Thread debug lines in your code, compile and install as usual
28+
* 5. Put the following Thread debug lines in your code, compile and flash as usual
2729
*
28-
* 6. Make sure your regular Arduino IDE File --> Preeferences --> Show verbose output during:
29-
* set with a check for both compilation and upload
30+
* 6. Load Trace32 and click on "Portenta H7 Projects -->Slect Your Arduino Project Directory"
3031
*
31-
* 7. Find your TEMP build folder and open it in a window to look at the files.
32-
* note AppData is a hidden part of windows, so best to copy the link from the arduino output.
32+
* 7. Click on "Arduino Classic IDE"--> must double click the temp file --> click OK
3333
*
34-
* 8. Load TRACE32
34+
* 8. go loop
3535
*
36-
* 9. Portenta H7 Demos--> T32ThreadDebug --> FILE (use the above link and choose the .elf file)
36+
* 9. set a breakpoint if needed
3737
*
38-
* 10. Load Debug symbols (Do not flash as it looks for the wrong .bin file)
39-
*
40-
* 11. reset protenta (Single click)
41-
*
42-
* 12. Insert License data and save if asked
43-
*
44-
* 13. On the terminal line labelled B:: type go loop
45-
*
46-
* 14. Right click to set breakpoint. Then keep clicking "GO"
47-
* or, set myDebug = true if you know where the issue is in your code.
48-
* This breaks your code from the arduino IDE as well
49-
*
50-
*
51-
* 15. In the Var --> Watch window type myLoop to see it changing
52-
*
53-
* 16. Right click the Term.View window to clear it.
54-
*
55-
* 17. Window --> Store Window (Somewhere easy to find to load next time.)
5638
*
5739
*
5840
*
@@ -70,6 +52,7 @@
7052

7153
USBSerial SerialUSB1(false, "DebugPort");
7254
UsbDebugCommInterface debugComm(&SerialUSB1);
55+
//ThreadDebug threadDebug(&debugComm, DEBUG_BREAK_IN_SETUP);
7356
ThreadDebug threadDebug(&debugComm, DEBUG_NO_BREAK_IN_SETUP);
7457

7558

0 commit comments

Comments
 (0)