This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi TI-Experts,
I'm using CCS Theia with the Onboard XDS110 debug probe of the LP-MSPM0G3507 to flash my custom PCB with MSPM0G3507 (LQFP-48(PT) (Package)).
My code works totally fine and is debuggable as long as I don't deactivate bsl invocation in sysconfig - configuration NVM:
In Project Properties I activated the main and nonmain erasing:
When I now try to debug/flash I get the following error message:
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing! GEL: File: C:\Users\MATTHI~1.HEI\AppData\Local\Temp\ti_cloud_storage\wi*********ft.out: Load failed.
When I try to verify the *****.out file by the "Verify Image"-Button in UniFlash I get the following error window popup message:
Error! File: C:/Users/m*****n/Documents/GIT/Wi****ft/Sandbox.wi***ft.sw.LP-MSPM0G3507/wi****ft/Debug/wi***ft.out: a data verification error occurred, file load failed.
... and the console output says:
[6.11.2024, 13:34:21] [INFO] CORTEX_M0P: GEL Output: Memory Map Initialization Complete [6.11.2024, 13:34:21] [ERROR] CORTEX_M0P: File Loader: Verification failed: Values at address 0x41C0000A do not match Please verify target memory and memory map.
But when I click the "Load Image"-Button it loads/flashes the firmware to my controller and everything works fine.
Please enlighten me, what's the problem with the verification and why I can't flash/debug by CCS Theia ;)
If there are any missing pieces of information - please feel free to ask!
I hope I gave you the full information that you need to help me.
Thanks a lot in advance!
Regards
Matze
Hi Matze,
What versions of Sysconfig, CCS Theia, and the MSPM0 SDK are you using? Your steps shown here are the correct steps to disable BSL, I wouldn't expect this one simple change to cause these errors. The checkbox for BSL Enable is the only thing you change that causes this error?
CCS Theia Version: 1.4.1.1
Default VS Code API: 1.85.1
Where can I find the versions of sysconfig and MSPM0 SDK?
Yes, this checkbox is the only thing that I changed. (And the nonmain erase in the project properties.)
These versions can each be found if you right-click on your project name, navigate to properties, then view the "Dependencies" tab.
Your CCS Theia version looks fine, thanks for the info so far.
No problem.
So far I am not seeing an issue here, your SDK, Theia, and Sysconfig versions are all new. I just tried this on my end with a launchpad and it worked, the only difference is that I am using CCS Theia 1.5.0, but your version should not have any problems with this.
The error message you are getting also really only comes up when you haven't instructed the debugger to erase MAIN and NONMAIN, but you've indicated that you are doing this. This sounds super simple but - you are choosing to apply and close when you change this setting, right?
In the device view in the top right corner of Sysconfig, have you updated the device to your current target (48 pin LQFP)?
I just updated to CCS Theia 1.5.1.3 and tried again.
And also tried with LP-MSPM03507 an onboard MSPM03507 64 Pin controller, connected via J101 .
And I exactly get the same errors. Regardless of whether I have activated the "erase MAIN and NONMAIN" checkbox in the project properties or not.
you are choosing to apply and close when you change this setting, right?
Yes I choose "save and close" in the project properties after activating the "erase MAIN and NONMAIN" checkbox.
In the device view in the top right corner of Sysconfig, have you updated the device to your current target (48 pin LQFP)?
Yes, I chose my controller like it is on my PCB:
This is the only place where I have to chose the controller/package, right?
Hmm...
Yes this is the only place that you need to change the package.
Could you try taking an example from our SDK, ideally something simple like GPIO toggle output, flash it to ensure its working, then update ONLY this setting by adding the Configuration NVM instance and disabling BSL, and seeing if you get the same error? At this point I am wondering if I am missing something in the application code that could be causing this.
Another question is what exactly are you currently using software-wise, is it one of our driverlib examples or is it custom software that you've made some changes to?
GPIO toggle output from the driverlib examples with pins changed to my PCB, added Configuration NVM instance and disabled BSL does work totally fine and still toggle the LED.
My custom code is a blank ticlang project with some custom modifications.
I'm gonna try to add the same modifications step by step by step again.
But when I do the same steps for my source code I get the following error message in the debug output:
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing! GEL: File: C:\Users\MATTHI~1.HEI\AppData\Local\Temp\ti_cloud_storage\wiproiii_facelift.out: Load failed.
... even though I activated the nonmain erasing in the debug options of the project properties.
But ... maybe this helps to find the problem..
I am surprised that the .out file is called from
C:\Users\m****n\AppData\Local\Temp\ti_cloud_storage
and not from the Debug-Folder of my project directory.. maybe this helps..
Okay... now it worked once.. and I don't know why.. then I tried to take the same steps again and it does not work any more.
I took 3 mini-steps:
BUT... as written above.. when I take all these steps again I always get the error message:
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing! GEL: File: C:\Users\M****I\AppData\Local\Temp\ti_cloud_storage\wi****ft.out: Load failed.
please help me!!!
And now I'm facing another issue!
I imported the gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang
When I ...
The "erase main memory only" is checked again.
Hi Matze,
About the .out file shown in your earlier screenshot, the does the one shown have the same name as your project? I want to go back and confirm that CCS is flashing the incorrect .out file to your device, because you are right it should be flashing the one from your debug folder to the device.
I will need to check how to force it to use the one from the debug folder, and am surprised that isnt happening automatically. For now what you could do is start a project-less debug session then manually flash the correct .out file to your device and see if this enables the correct behavior.
Also, the fact that this only occurs when disabling BSL is weird. Can you enable BSL to check which .out file is used here, then disable again to check that only then the wrong one is being used?
Hi Matze,
Secondary follow up - I am beginning to suspect that this is an IDE level issue rather than MSP. I asked around and have been told that in some recent versions of CCS, after changing a setting you need to press the enter key after changing. Please try doing this and then saving.
Additionally, this should be fixed in our next CCS release, so you once that is out you should be able to stop hitting enter constantly.
I'd also like to perform another check, could you go to your ARM Hex utility tab in the project properties, then generate the TI-TXT output file for the project. Then can you please paste the memory region 0x41C00000 here so I can check it? Important note here: if you are using an SWD password, you should change it before pasting your memory map in here as I wouldn't want it to accidentally be exposed.
Hi Dylan!
Thanks a lot for your answers!
About the .out file shown in your earlier screenshot, the does the one shown have the same name as your project? I want to go back and confirm that CCS is flashing the incorrect .out file to your device, because you are right it should be flashing the one from your debug folder to the device.
It does have the same name and when I put it into a diff-tool like "WinMerge" together with the one from the debug-folder both files are identical.
start a project-less debug session then manually flash the correct .out file to your device
When I try the project-less debug and "run" - "load" - "load program" - "correct .out file" I get the following error message:
GEL: Target must be connected before calling the function
Target must be connected before calling the function
Should the 'old program' still be running on my MSP, when I do projectless debug? My LED is still blinking when I do so..
I tried with FactoryReset_Auto in between, LED is not blinking anymore but I get the same error message as before:
GEL: Target must be connected before calling the function
Target must be connected before calling the function
... and this error message appears regardless of whether I build with or without “configuration NVM” in the syscfg.
But when I end the projectless-debug sessing and simply debug/flash my sourcecode (without configuration NVM) it works fine. So the connection must be okay.
Can you enable BSL to check which .out file is used here, then disable again to check that only then the wrong one is being used?
I only see the file/directory that is used when I get the error message in the "debug output"-Tab. When the debug/flash does not go wrong (because I remove the configuration NVM in syscfg) the IDE does not show, which file was used. where can I see, which file from which directory is used?
I am beginning to suspect that this is an IDE level issue rather than MSP.
That's what I am assuming too.
press the enter key after changing. Please try doing this and then saving.
Pressing "Enter" saves and closes the project properties automatically. No changes concerning my issues.
I'd also like to perform another check, could you go to your ARM Hex utility tab in the project properties, then generate the TI-TXT output file for the project. Then can you please paste the memory region 0x41C00000 here so I can check it? Important note here: if you are using an SWD password, you should change it before pasting your memory map in here as I wouldn't want it to accidentally be exposed.
I will do that later and post my results in a separate posting.
I'd also like to perform another check, could you go to your ARM Hex utility tab in the project properties, then generate the TI-TXT output file for the project. Then can you please paste the memory region 0x41C00000 here so I can check it? Important note here: if you are using an SWD password, you should change it before pasting your memory map in here as I wouldn't want it to accidentally be exposed.
Hi Dylan,
I'm sorry but I don't know, how to paste the exact memory region so I post the full .txt-file:
@0000 00 80 20 20 F1 0E 00 00 E5 0E 00 00 D9 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FD 0E 00 00 00 00 00 00 00 00 00 00 E9 0E 00 00 01 0F 00 00 D5 0E 00 00 B5 0C 00 00 19 0F 00 00 29 0F 00 00 C1 0E 00 00 0D 0E 00 00 C9 0E 00 00 CD 0E 00 00 00 00 00 00 F5 0E 00 00 F9 0E 00 00 00 00 00 00 00 00 00 00 21 0F 00 00 25 0F 00 00 1D 0F 00 00 09 0F 00 00 11 0F 00 00 05 0F 00 00 4D 0E 00 00 15 0F 00 00 0D 0F 00 00 00 00 00 00 00 00 00 00 DD 0E 00 00 E1 0E 00 00 00 00 00 00 00 00 00 00 C5 0E 00 00 00 00 00 00 ED 0E 00 00 D1 0E 00 00 FC B4 01 24 E4 07 63 40 02 E0 FC B4 01 24 E4 07 08 B4 1D 03 ED 08 D6 0D 35 43 56 02 5F 00 7F 0D 06 D1 2C 00 34 43 00 D0 AE E0 01 B0 FC BC 70 47 A4 08 25 43 07 24 24 02 FF 34 A7 42 05 D1 00 20 19 0D 09 05 01 B0 FC BC 70 47 00 2B 03 D5 00 24 A6 1B AC 41 25 00 0B 03 DB 08 C2 0D 13 43 42 02 48 00 40 0D 07 D1 1C 00 14 43 00 D0 8C E0 0E BC 10 00 F0 BC 70 47 01 24 64 07 23 43 07 24 24 02 FF 34 A0 42 05 D1 00 20 09 0D 09 05 01 B0 FC BC 70 47 00 29 03 D5 00 24 A2 1A 9C 41 23 00 C1 1B 08 D5 1C 00 2B 00 25 00 14 00 32 00 26 00 00 24 61 1A 38 00 36 29 25 D5 02 B4 39 39 49 42 0C 00 20 3C 03 D2 2F 00 8F 40 37 43 01 E0 37 00 A7 40 00 2F 01 D0 40 21 0E 43 02 BC 20 29 0B D5 00 29 0E D0 4C 42 20 34 20 B4 A5 40 2C 00 20 BC 0D 41 CE 40 36 19 04 E0 00 29 2E 00 0D 41 20 39 0E 41 92 19 6B 41 1C 00 14 43 3E D0 00 24 00 2B 04 D5 01 24 00 21 8A 1A 99 41 0B 00 40 1E 52 00 5B 41 FB D5 01 21 89 02 15 00 0D 40 0C D0 52 18 00 27 7B 41 01 D3 40 1C 0B E0 07 21 C9 01 15 00 0D 40 01 D1 89 00 8A 43 07 21 09 02 8A 43 52 00 5B 41 80 1C 19 DD 07 21 09 02 FF 31 88 42 09 D3 0E BC 00 20 C9 0F 09 02 FF 31 C9 00 C9 1D 09 05 F0 BC 70 47 19 0B 00 05 01 43 E4 07 21 43 18 05 12 0B 10 43 01 B0 FC BC 70 47 00 21 00 20 01 B0 FC BC 70 47 00 00 84 B0 39 4F 3B 4E 01 24 25 02 00 F0 59 FD 3A 48 02 21 00 91 01 60 20 21 01 60 E1 04 01 60 37 4B 00 20 02 90 18 70 30 68 01 95 28 43 30 60 38 68 03 94 20 43 38 60 32 4C 02 9F 03 E0 2C 48 03 99 C9 05 01 60 20 78 01 28 17 D1 80 20 28 49 08 60 26 49 08 68 03 9D 28 43 08 60 26 4A 10 1F 01 68 29 43 01 60 10 68 01 99 08 43 10 60 1E 49 08 68 28 43 08 60 00 98 20 70 0E E0 20 78 00 28 0B D1 1A 48 00 68 C0 07 07 D0 80 20 19 49 08 61 17 49 08 68 03 9A 90 43 08 60 18 78 00 28 D2 D0 19 48 00 68 19 4D 28 80 28 88 1E 46 00 F0 73 FD 17 4A 17 4B 00 F0 B9 F9 3A 46 16 4B 00 F0 B5 F9 3A 46 15 4B 00 F0 B1 F9 15 4A 15 4B FF F7 D4 FE 00 F0 ED FA 33 46 13 49 08 60 37 70 28 88 12 49 88 42 AC D9 03 48 10 30 AA E7 04 38 86 40 04 18 86 40 90 12 0A 40 04 31 00 40 00 E1 00 E0 7E 01 20 20 7F 01 20 20 80 82 55 40 7C 01 20 20 66 66 66 66 66 66 0A 40 00 00 30 3F 00 00 26 40 9A 99 99 99 99 99 E9 3F 78 01 20 20 05 04 00 00 80 B5 8A B0 09 90 08 91 08 98 00 79 07 90 00 28 04 D0 FF E7 07 98 20 28 12 D0 29 E0 09 98 08 99 09 68 49 1E 00 F0 62 FD 09 98 88 21 06 91 00 22 00 F0 32 FC 06 99 09 98 01 22 00 F0 2D FC 2A E0 09 98 08 99 09 68 49 1E 00 F0 50 FD 09 98 2D 49 04 91 00 22 00 F0 20 FC 04 99 09 98 01 22 05 92 00 F0 1A FC 05 99 09 98 49 07 00 F0 1F FD 12 E0 09 98 08 99 09 68 49 08 00 F0 38 FD 09 98 05 21 C9 01 03 91 00 22 00 F0 07 FC 03 99 09 98 01 22 00 F0 02 FC FF E7 09 98 00 23 01 93 19 46 1A 46 00 F0 6A FB 01 9A 09 98 01 23 02 93 11 46 00 F0 63 FB 01 9B 09 98 00 93 19 46 1A 46 00 F0 3C FB 01 9B 02 99 09 98 00 91 19 46 1A 46 00 F0 34 FB 01 9B 09 98 19 46 1A 46 00 F0 F8 FB 01 9A 02 9B 09 98 11 46 00 F0 F2 FB 09 98 07 49 40 18 08 9A 11 79 92 79 11 43 02 22 11 43 04 4A 00 F0 8C FC 0A B0 80 BD 01 04 00 00 04 18 00 00 BF FF 00 30 80 B5 84 B0 03 90 02 91 03 98 02 99 49 68 00 F0 E5 FC 02 98 00 78 01 90 22 28 56 D8 01 98 81 00 01 A0 40 58 87 46 C0 46 51 05 00 00 5B 05 00 00 51 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 45 05 00 00 5B 05 00 00 45 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 5B 05 00 00 45 05 00 00 5B 05 00 00 45 05 00 00 03 98 01 21 49 07 00 F0 6F FC 05 E0 03 98 00 21 00 F0 6A FC 00 E0 FF E7 03 98 02 99 09 69 00 22 00 92 00 F0 ED FB 00 9B 03 98 02 99 C9 68 1A 46 00 F0 C0 FA 02 99 08 78 09 7A 08 43 03 99 02 4A 88 50 04 B0 80 BD C0 46 04 18 00 00 80 B5 8C B0 0B 90 0A 91 0A 98 40 79 C0 07 00 28 5B D0 FF E7 0A 98 00 79 07 90 00 28 04 D0 FF E7 07 98 20 28 0C D0 17 E0 0B 98 88 21 06 91 02 22 00 F0 2A FB 06 99 0B 98 03 22 00 F0 25 FB 18 E0 0B 98 29 49 05 91 02 22 00 F0 1E FB 05 99 0B 98 03 22 00 F0 19 FB 0C E0 0B 98 05 21 C9 01 04 91 02 22 00 F0 11 FB 04 99 0B 98 03 22 00 F0 0C FB FF E7 0B 98 00 22 02 92 02 23 01 93 11 46 00 F0 73 FA 02 9A 0B 98 03 23 03 93 11 46 00 F0 6C FA 01 99 02 9B 0B 98 00 91 19 46 1A 46 00 F0 44 FA 02 9B 03 99 0B 98 00 91 19 46 1A 46 00 F0 3C FA 01 9B 02 9A 0B 98 11 46 00 F0 00 FB 02 9A 03 9B 0B 98 11 46 00 F0 FA FA FF E7 0A 98 00 68 08 90 0A 98 00 79 08 A9 08 71 0A 98 80 79 88 71 0B 98 FF F7 86 FE 0C B0 80 BD 01 04 00 00 FC B5 0C 00 5C 40 E4 0F E4 07 10 B4 DD 02 54 0D 25 43 D6 02 5F 00 7F 0D 60 D0 01 24 E4 07 25 43 07 24 24 02 FF 34 A7 42 50 D0 CB 02 44 0D 23 43 C2 02 48 00 40 0D 51 D0 01 24 E4 07 23 43 07 24 24 02 FF 34 A0 42 41 D0 C0 19 01 B4 18 00 29 00 00 F0 50 FA 0F 00 01 B4 18 00 31 00 00 F0 4A FA 03 00 0C 00 10 00 31 00 00 F0 44 FA 06 00 10 00 29 00 00 F0 3F FA 05 00 76 18 00 22 02 BC 01 BC 55 41 51 41 A4 19 55 41 51 41 80 24 A4 00 5B 19 51 41 FF 18 51 41 00 D5 64 00 3F 19 51 41 02 D4 7F 00 49 41 00 E0 40 1C 03 24 24 02 FF 34 00 1B 14 DD 24 19 A0 42 09 D8 03 05 F8 0A 4C 05 20 43 49 00 09 0B 19 43 10 BC 21 43 FC BD 00 20 FF 21 C9 00 C9 1D 09 05 10 BC 21 43 FC BD 00 21 00 20 01 B0 FC BD 00 2A 49 D0 84 46 8B 07 1C D1 83 07 22 D1 10 2A 08 D3 70 B4 10 3A 78 C9 78 C0 10 3A FB D2 70 BC 10 32 38 D0 04 2A 2C D3 08 2A 05 D3 0C 2A 01 D3 08 C9 08 C0 08 C9 08 C0 08 C9 08 C0 92 07 2A D0 92 0F 22 E0 0B 78 03 70 49 1C 40 1C 52 1E 22 D0 8B 07 F7 D1 C3 07 14 D1 83 07 D8 D0 12 1F 12 D3 08 C9 03 80 1B 0C 43 80 00 1D 12 1F F8 D2 0A E0 08 C9 03 70 1B 0A 43 70 1B 0A 83 70 1B 0A C3 70 00 1D 12 1F F4 D2 12 1D 05 D0 0B 78 03 70 49 1C 40 1C 52 1E F9 D1 60 46 70 47 00 00 10 B5 17 4A 84 20 90 65 01 21 0B 02 15 48 03 60 85 23 D3 65 4B 02 03 60 13 4B 13 60 13 4B 14 4C 1C 60 81 23 D3 62 13 63 12 4A 80 23 13 61 CB 05 13 60 80 33 13 64 10 4A 13 68 03 24 24 06 1C 43 14 60 0E 4A 13 6A 09 07 0B 43 13 62 13 68 0B 43 13 60 01 46 30 39 04 22 0A 60 02 60 10 BD C0 46 0C 80 42 40 D0 32 0A 40 81 00 0C 00 D4 80 42 40 81 00 02 00 90 12 0A 40 A0 13 0A 40 28 10 0A 40 F8 B5 45 1C 00 78 00 23 08 2B 32 D0 2F 78 C2 07 0C D1 6A 78 0F 24 14 40 E4 1C 12 2C 0B D1 02 24 2E 57 F4 B2 00 2E 08 D4 EE 1C 0E E0 6D 1C 4A 1C 0F 70 11 46 1A E0 AE 1C 08 E0 2E 1D ED 78 00 95 7F 25 2C 40 00 9D ED 01 2C 19 12 34 3D 01 12 09 52 19 09 4D AA 42 0E D0 D2 43 00 2C 05 D0 8D 5C 4F 1C 0D 70 64 1E 39 46 F7 E7 35 46 40 08 5B 1C CA E7 28 46 C5 E7 F8 BD FF 0F 00 00 80 B5 FF F7 31 FF 80 BD 0C B4 1B 4B 4A 00 D2 1A 1B D2 00 0D 0A 03 10 43 01 22 12 02 80 18 02 D3 40 08 12 03 89 18 40 0A 00 29 02 D5 01 22 D2 07 10 43 49 00 49 0D 38 22 12 01 89 1A 0C D4 FF 29 0D D2 C9 05 08 43 0C BC 70 47 DB 43 1A 40 02 43 05 D0 D8 43 0C BC 70 47 00 20 0C BC 70 47 C9 0F C9 07 FF 20 C0 05 08 43 0C BC 70 47 C0 46 C0 46 C0 46 C0 46 C0 46 C0 46 00 00 E0 FF B0 B5 82 B0 12 49 13 4C 20 46 00 F0 7F F9 12 49 20 46 FF F7 03 FE 00 25 00 95 20 46 29 46 2A 46 2B 46 00 F0 8F F8 20 46 29 46 2A 46 00 F0 20 F9 0A 49 20 46 2A 46 00 F0 CB F9 09 48 01 21 81 60 08 4A 13 68 03 24 1C 43 14 60 01 60 02 B0 B0 BD 64 0F 00 00 00 00 86 40 5C 0F 00 00 56 13 00 00 00 11 86 40 28 10 86 40 80 B5 82 B0 01 90 00 91 01 98 0D 49 40 18 00 99 09 78 A9 22 12 06 89 18 0A 4A 00 F0 BB F9 01 98 11 21 09 02 40 18 00 99 49 68 07 22 12 06 00 F0 B1 F9 00 98 40 78 01 99 03 4A 88 50 02 B0 80 BD 08 08 00 00 03 00 00 FF 10 11 00 00 10 B5 0C 49 0C 48 FF F7 D5 FF 0C 48 04 21 01 60 01 20 01 02 0A 46 F4 32 09 4B 5A 61 09 4A 14 6A 0C 43 14 62 14 68 0C 43 14 60 19 68 01 43 19 60 10 BD C0 46 54 0F 00 00 00 20 00 40 80 31 00 40 00 31 00 40 28 30 00 40 B0 B5 0A 48 0A 49 41 60 0A 4A 51 60 0A 4B 59 60 0A 4C 61 60 0A 4D 69 60 0A 49 01 60 11 60 19 60 21 60 29 60 10 20 00 F0 00 FA B0 BD 00 08 0A 40 03 00 00 B1 00 28 0A 40 00 08 86 40 00 28 86 40 00 28 00 40 01 00 00 26 10 B5 87 B0 00 91 04 46 00 98 09 99 06 94 05 90 04 92 03 93 02 A8 01 70 06 99 08 4A 89 18 01 91 01 78 01 98 89 00 40 18 01 90 05 98 04 99 08 43 03 99 08 43 01 99 08 60 07 B0 10 BD 50 18 00 00 10 B5 86 B0 05 90 04 91 03 92 02 A8 03 70 05 99 08 4A 89 18 01 91 01 78 01 98 89 00 40 18 01 90 01 98 04 99 03 9A 11 43 03 4A 00 F0 39 F9 06 B0 10 BD C0 46 30 18 00 00 77 77 02 00 70 B5 0A 48 0A 4C 84 42 0C D0 0A 4D 0A 4E B5 42 08 D0 2A 68 69 68 50 1C 12 78 92 00 A2 58 90 47 08 35 F4 E7 00 BF 00 BF 70 BD C0 46 7C 0F 00 00 70 0F 00 00 8C 0F 00 00 9C 0F 00 00 FC B4 02 0C 0B 0C FF 24 24 02 FF 34 20 40 21 40 0C 00 44 43 15 00 5D 43 06 00 5E 43 0F 00 57 43 32 0C 3B 0C A8 18 C0 18 32 04 3B 04 00 25 A1 18 68 41 C9 18 68 41 FC BC 70 47 00 00 10 B5 08 49 08 4C 20 46 00 F0 64 F8 07 49 20 46 FF F7 68 FC 06 48 01 68 01 22 11 43 01 60 05 48 02 60 10 BD 67 0F 00 00 00 20 86 40 40 0F 00 00 28 30 86 40 08 31 86 40 80 B5 84 B0 03 90 02 91 01 A8 02 70 03 99 08 4A 89 18 00 91 01 78 00 98 89 00 40 18 00 90 00 98 02 99 07 22 92 04 00 F0 C5 F8 04 B0 80 BD C0 46 30 18 00 00 80 B5 84 B0 03 90 02 91 01 A8 02 70 03 99 07 4A 89 18 00 91 01 78 00 98 89 00 40 18 00 90 00 98 02 99 03 4A 00 F0 AC F8 04 B0 80 BD 70 18 00 00 DB B6 C1 FF 10 B5 86 B0 05 90 04 91 03 92 02 A8 03 70 05 99 31 22 D2 01 89 18 01 91 01 78 01 98 89 00 40 18 01 90 01 98 04 99 03 9A 11 43 8F 22 00 F0 8E F8 06 B0 10 BD 82 B0 01 90 00 91 00 98 00 78 01 99 07 4A 88 50 00 98 40 78 01 99 01 22 12 03 88 50 00 98 80 78 01 99 03 4A 88 50 02 B0 70 47 C0 46 08 10 00 00 0C 11 00 00 08 48 00 68 01 28 07 D1 07 48 00 68 C0 00 05 D4 06 48 01 21 01 70 70 47 00 BE 70 47 03 48 00 21 01 70 70 47 30 11 40 40 80 13 0A 40 7F 01 20 20 09 48 00 21 01 60 09 48 01 1F 0A 68 03 23 DB 43 13 40 0B 60 01 68 30 22 91 43 01 60 01 68 0F 22 91 43 01 60 70 47 C0 46 08 03 0B 40 04 01 0B 40 80 B5 FF F7 AB FE FF F7 6F FD FF F7 E1 FF FF F7 27 FE FF F7 41 FF FF F7 7D FE 03 48 B8 21 00 22 42 54 02 48 42 54 80 BD 00 00 20 20 BC 00 20 20 84 B0 03 90 02 91 01 A8 02 70 03 99 06 4A 89 18 00 91 01 78 00 98 89 00 40 18 00 90 02 98 00 99 08 60 04 B0 70 47 C0 46 10 18 00 00 84 B0 03 90 02 91 01 92 03 98 00 68 00 90 00 98 01 99 88 43 00 90 00 98 02 99 01 9A 11 40 08 43 03 99 08 60 04 B0 70 47 84 B0 03 90 02 91 01 92 03 98 00 68 00 90 00 98 01 99 88 43 00 90 00 98 02 99 01 9A 11 40 08 43 03 99 08 60 04 B0 70 47 08 48 80 F3 08 88 00 BF 00 BF 00 F0 AF F8 00 28 01 D0 FF F7 AF FE 00 20 FF F7 3C FA 01 20 00 F0 A7 F8 C0 46 00 80 20 20 00 28 01 D1 00 21 70 47 04 B4 04 22 12 02 1F 32 01 00 52 1E 49 00 FC D3 08 05 09 0B 12 05 11 43 04 BC 70 47 05 48 00 68 C0 B2 09 28 03 D1 04 48 01 21 01 70 70 47 00 BE 70 47 C0 46 20 30 00 40 7E 01 20 20 80 B5 82 B0 01 90 00 91 01 98 04 49 40 18 00 99 03 22 12 07 FF F7 AA FF 02 B0 80 BD 04 18 00 00 05 48 00 68 C0 B2 01 28 04 D1 01 20 C0 05 03 49 08 60 70 47 00 BE 70 47 20 30 86 40 B0 12 0A 40 82 B0 01 90 00 91 00 98 01 99 02 4A 88 50 02 B0 70 47 C0 46 08 18 00 00 03 22 80 58 00 28 05 D0 40 1E 4A 1C 00 23 0B 70 11 46 F7 E7 70 47 82 B0 01 90 01 99 88 1E 00 1F 00 BF FC D2 00 90 02 B0 70 47 80 B5 0B 46 03 21 42 58 C1 1D 18 46 FF F7 1D FD 80 BD 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 66 E7 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 00 BE 70 47 01 20 70 47 00 BF FE E7 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 23 F4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 05 00 00 00 00 00 03 88 13 00 00 00 01 01 00 08 00 03 08 07 1F 00 00 00 00 00 00 7D 08 00 00 AF 0E 00 00 85 0E 00 00 02 00 00 00 7F 01 00 00 00 01 00 FF F0 00 00 00 7C 0F 00 00 00 00 20 20 84 0F 00 00 7F 01 20 20 00 00 00 00 q
I hope this helps and this is also okay for you!
Maybe you can nonetheless explain to me how to identify an explicit memory region ;)
Matze
Hi Matze,
Couple of things to go through here -
1) Yes the same project should continue running on a device when you start a projectless debug - so if you had a blinking LED, it should continue to blink once you press play in the projectless debug
2) If the two files are identical, I guess that means somehow you are placing the newly generated output file there and using that. This is fine but you may want to double check that the output file is correctly changing each time you rebuild - you can compare the output file in your CCS project debug tab to the one that you can see is being flashed ton your device.
3) The error you get when you attempt to start a project-less debug indicates that your target device is not connected - please ensure that you have connected your target device to your pc using the debugger when you attempt this. I see you mention you can successfully flash the device without changing the configuration, this is also very strange.
4) To check which file is being flashed to the device, you can watch the CDT build console (which does disappear after the build is complete but you can see the .out file name appear in the log), or you can hit the dropdown arrow next to the flash button in CCS, and choose the ,out file to load to your device to make sure you are loading the one you intend.
5) As an alternative to exporting memory you could also connect to the device with the debugger, then hit view->memory browser. Enter the address 0x41C00000, and then you can copy paste starting from there. Or you could use this window to specify to save a range of addresses to a file on your computer. There are a few options for this.
Generally with all of the strange issues you are getting, I am leaning towards saying you should try to reinstall CCS Theia and re-import your project. Many of the functionalities we've tried are not working as expected, despite using a recent version of all of our tools. If possible please give this a try as well, as these very common functionalities are not working for us.
Hi Dylan,
thanks for your answers!
1) Yes the same project should continue running on a device when you start a projectless debug - so if you had a blinking LED, it should continue to blink once you press play in the projectless debug
:) that's at least one thing that works, as is to be expected
2) If the two files are identical, I guess that means somehow you are placing the newly generated output file there and using that. This is fine but you may want to double check that the output file is correctly changing each time you rebuild - you can compare the output file in your CCS project debug tab to the one that you can see is being flashed ton your device.
But why is this file placed somewhere else? Is there any place where I can see or change the directories or stuff like that?
Please explain to me, how I can compare the .out-files by using the CCS project debug tab.. i guess you mean this debug tab:
3) The error you get when you attempt to start a project-less debug indicates that your target device is not connected - please ensure that you have connected your target device to your pc using the debugger when you attempt this. I see you mention you can successfully flash the device without changing the configuration, this is also very strange.
As I can successfully flash without changing anything I guess that my target device is connected properly.. yes.. strange..
4) To check which file is being flashed to the device, you can watch the CDT build console (which does disappear after the build is complete but you can see the .out file name appear in the log), or you can hit the dropdown arrow next to the flash button in CCS, and choose the ,out file to load to your device to make sure you are loading the one you intend.
Do you mean this window by CDT build console?
I do not know any flash button in CCS Theia.. are you talking about the "old" eclipse ccs 12? or are you talking about Run-load-load program in ccs theia?
5) As an alternative to exporting memory you could also connect to the device with the debugger, then hit view->memory browser. Enter the address 0x41C00000, and then you can copy paste starting from there. Or you could use this window to specify to save a range of addresses to a file on your computer. There are a few options for this.
@41C00000 01 00 00 00 BB AA BB AA BB AA BB AA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF BB AA BB AA BB AA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF @41C00050 FF FF FF FF FF FF FF FF FF FF FF FF C3 DA 79 18 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF @41C000A0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF q
I copy pasted 3 lines. is that enough? I can copy paste more if you need more ;)
Generally with all of the strange issues you are getting, I am leaning towards saying you should try to reinstall CCS Theia and re-import your project. Many of the functionalities we've tried are not working as expected, despite using a recent version of all of our tools. If possible please give this a try as well, as these very common functionalities are not working for us.
Yes, I will try and do this!
Thanks a lot for your help by now!
To continue for item number two, the only setting I can think of to deliberately do this would be in project properties under build -> post build steps. You could check here but by default this is not included and you'd need to manually apply this. You can check the setting above to see. Additionally to clarify further what I mean by compare in the debug tab, I meant to compare the .out file thats contained in the debug folder of your project with the one that is being placed at C:\Users\M****I\AppData\Local\Temp\ti_cloud_storage\. I was saying to compare these using something like beyondcompare. The debug folder inside of your project is the one that SHOULD be referenced by your project, and flashed to your device.
For number 4, in CCS theia this looks like it is just labeled "Output". By bad here. Additionally for the flash button you're right this isn't in CCS theia. An equivalent would be to start proejctless debug, then go to the tabs run->load->load program
For number 5, the section you pasted is sufficient for now, this looks fine in my view. Thanks for this.
For number 6 please let me know if this issue persists after reinstalling, there are a lot of strange behaviors we are seeing here.
2.
project properties under build -> post build steps
There is no custom build step entered and everything in blank default state.
For number 4, in CCS theia this looks like it is just labeled "Output". By bad here. Additionally for the flash button you're right this isn't in CCS theia. An equivalent would be to start proejctless debug, then go to the tabs run->load->load program
It shows and uses the app-data-folder and not the debug folder..
For number 6 please let me know if this issue persists after reinstalling, there are a lot of strange behaviors we are seeing here.
I re-installed CCS Theia 1.5.1 and I am facing the same issues as before.
I will now switch back to CCSv12 and hope that it works better there.
Hi Matze,
From my view you are doing everything the same as I would expect, and are still getting some strange errors. Nothing I have thought to check is resolving the issue so far. I am going to transfer this to our software tools organization to see if they have some help here, maybe they can point to something in your installation or your device that could be causing your settings not to work correctly.
I installed CCSv20 and everything works out fine. Looks like CCS Theia is being discontinued or postponed. And it seems to be the right thing as I am facing so strange issues.
The "Theia" branding was being used while we were supporting both CCS eclipse and CCS based on VSCode. CCSv20 is the first major release of the VSCode based CCS after the discontinuation of CCS Eclipse, so now the branding is moving back to just CCS. Future releases of CCS will still have the Theia removed, but it is the same VScode based environment.
Thanks for posting that you were able to resolve the issue, I did switch this over to the tools organization but they may leave this alone as you have found a resolution.