|
19 | 19 | *
|
20 | 20 | * 3. Get Your Portenta SN from the Arduino IDE, Tools-->Board Info (plug in Portenta a select port )
|
21 | 21 | *
|
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 |
23 | 23 | *
|
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 |
25 | 27 | *
|
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 |
27 | 29 | *
|
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" |
30 | 31 | *
|
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 |
33 | 33 | *
|
34 |
| - * 8. Load TRACE32 |
| 34 | + * 8. go loop |
35 | 35 | *
|
36 |
| - * 9. Portenta H7 Demos--> T32ThreadDebug --> FILE (use the above link and choose the .elf file) |
| 36 | + * 9. set a breakpoint if needed |
37 | 37 | *
|
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.) |
56 | 38 | *
|
57 | 39 | *
|
58 | 40 | *
|
|
70 | 52 |
|
71 | 53 | USBSerial SerialUSB1(false, "DebugPort");
|
72 | 54 | UsbDebugCommInterface debugComm(&SerialUSB1);
|
| 55 | +//ThreadDebug threadDebug(&debugComm, DEBUG_BREAK_IN_SETUP); |
73 | 56 | ThreadDebug threadDebug(&debugComm, DEBUG_NO_BREAK_IN_SETUP);
|
74 | 57 |
|
75 | 58 |
|
|
0 commit comments