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.
HI,
I`ve got a problem with a preproduction MSPM0G1107:
When I power on my board the current drawn is 7mA but after a 10-11 seconds the power drops to 4.8mA. I`ve programmed the device with the gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang example.
gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang.zip
Schematic Micro:
When I connect via the debugger (XDS110) this popup is shown:
When I click force reset the program is loaded and the pin toggels. When I´m then power cycling the board the current after startup is then back to 7mA but no pin toggle is visible and will be 4.8mA after 10-11s.
My first guess was that the BSL is running and goes to timeout aka sleep so I`ve disabled the BSL via the sysconfig (NONMAIN) -> check attached project.
But nothing changes.
Is it that there is no code in the flash and the BSL is invoked anyway?
The Linker script is from the MSPM0G3507 but I´ve checked that the memory addresses are the same..
What is wrong with my setup?
Thanks!
Best regards
Steffen
Sorry it is not a G1107. Its a G1507!
I`ve changed that in the project but the problem stays the same
Hi Steffen,
Thanks for uploading your project. I'm having some issue importing it to my CCS, but I see in the metadata that it may have been built using or sourced from SDK Version 1.0.0.04 is that correct?
Can you verify all of your setup matches the software versions listed under the column for early samples in this post? https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1204644/faq-mspm0-sdk-important-note-for-early-mspm0-customers
When I power on my board the current drawn is 7mA but after a 10-11 seconds the power drops to 4.8mA. I`ve programmed the device with the gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang example.
Your assessment sounds right to me, this sounds exactly like a blank device booting into BSL mode, and then dropping into a low power mode. The XDS110 message you are receiving makes me think that even more.
In your schematic I see that PA18 (the default BSL Invoke pin) is connected to UC_RXD, do you know what the status of this pin is at startup? If the BSL invocation pin is left floating or is pulled high at MCU Startup then BSL can be invoked. In the production devices it will be possible to modify non-main to move or remove this BSL_Invoke functionality, but we do not recommend it on early samples as you can very easily lock yourself out of a part when modifying non-main.
Best Regards,
Brandon Fisher
Hi Brandon,
thanks for the reply!
You are right I`m using the Releaseversion of the SDK and Theia. Can I install the pre-release Theia in parallel?
Regarding PA18:
This pin goes high at startup. Therefore I configured via sysconfig that the bsl is disabled.
Can I change nonmain things on preproduction samples? If yes how? Or do I have to use the pre-release Theia for this?
Thanks!
Best regards
Steffen
Uninstalled the release Theia and installed pre-relase V1.0.0.00017.
But I`m now getting an error at startup:
and Ressource explorer won`t start:
Hi Steffen,
You can install pre-release CCS theia in parallel, or even two versions of CCS Eclipse.
Let me check with our tools team and see if they have seen this kind of error before. Its certainly new to me.
Best Regards,
Brandon Fisher
Hi Brandon,
sorry didn`t mentioned that but I`ve tried the parallel install before and it has given me the same error. Than I thought the cause of this is the parallel install and removed everything and installed the pre-release Theia again but the error still persists.
Best regards
Steffen
Hi Steffen,
To my knowledge you should still be able to see resource explorer, but The Resource Explorer will only show the version 1.x+ SDK. Those projects won't be compatible with the early sample devices. Use the File -> Import Project dialog to import something from SDK version 0.57 after you install the project locally (likely to your C://ti/ directory).
After you import a version 0.57 project, if you right click on Project -> Properties, what do you see under "Dependencies"?
Best Regards,
Brandon Fisher
Hi Steffen,
It does look like Theia is correctly pulling the correct version of tools, although there are two version of Sysconfig 15, one of which works with the early sample SDK and one which doesn't.
For Version 0.9 of CCS Theia, I have been informed that not being able to see Resource explorer is normal. You should import projects from a local SDK installation. Are you able to build and debug projects imported in this way?
Best Regards,
Brandon Fisher
Hi Brandon,
I´m able to build the project however I can`t change the microcontroller type from MSPM0G3507 to MSPM0G1507.
At least not in the project properties...
The second problem is that I can`t change nonmain with this SDK and that brings me back to my original problem that I want to disable the bootlader!
Any thoughts on that?
Thanks!
Best regards
Steffen
Hi Steffen,
I´m able to build the project however I can`t change the microcontroller type from MSPM0G3507 to MSPM0G1507.
For early sample devices we are using the superset device (MSPM0G3507), so SysConfig does not show all part variants for these early samples. Any code you write for the MSPM0G3507 though will work for the MSPM0G1507, provided you do not use the CAN-FD peripheral.
The second problem is that I can`t change nonmain with this SDK and that brings me back to my original problem that I want to disable the bootlader!
We do not recommend changing Non-Main memory in the early sample devices. It is currently much to easy to lock yourself out of the part when doing this.
In the production devices this will be possible.
Best Regards,
Brandon Fisher